mosquitto icon indicating copy to clipboard operation
mosquitto copied to clipboard

config.h unconditionally defines _GNU_SOURCE

Open gdt opened this issue 1 year ago • 0 comments

Visibility defines are generally problematic, and should be used only when necessary. It's not clear why this is present, and on what systems are needed. This ticket is about minimizing, perhaps reducing, this usage, and adding comments that justify it.

On a NetBSD system, removing it results in a clean build with no warnings. But that's likely not where it's intended.

(This could also lead to identifying and removing non-POSIX usage.)

gdt avatar Oct 17 '24 22:10 gdt