Hi,

I get this while compiling on NetBSD "unstable", while compiling about any GNUstep file:

 Compiling file main.m ...
In file included from /System/Library/Headers/GNUstepBase/GSVersionMacros.h:219:0,
                 from /System/Library/Headers/AppKit/AppKit.h:32,
                 from main.m:25:
/System/Library/Headers/GNUstepBase/GSConfig.h:417:0: warning: "__weak" redefined [enabled by default]
 #    define __weak
 ^
In file included from /usr/include/sys/cdefs.h:60:0,
                 from /usr/include/inttypes.h:35,
                 from /System/Library/Headers/GNUstepBase/GSConfig.h:154,
from /System/Library/Headers/GNUstepBase/GSVersionMacros.h:219,
                 from /System/Library/Headers/AppKit/AppKit.h:32,
                 from main.m:25:
/usr/include/sys/cdefs_elf.h:68:0: note: this is the location of the previous definition
 #define __weak __attribute__((__weak__))
 ^

do you think this is "our" problem or NetBSD is exposing something?

I though we had a test for weak, but I can't find it.

Riccardo

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to