[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
weak redefinition
From: |
Riccardo Mottola |
Subject: |
weak redefinition |
Date: |
Thu, 09 Apr 2015 22:20:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; NetBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
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