On Fri, 21 Jun 2013 09:22:04 +0200, Riccardo Mottola wrote:
Hi,
today, while recompiling with gcc 4.5 on NetBSD as well as gcc 3.x on
Windows, I got a lot of:
../Headers/GNUstepBase/GSBlocks.h:107:1: warning: 'weak_import'
attribute directive ignored
../Headers/GNUstepBase/GSBlocks.h:108:1: warning: 'weak_import'
attribute directive ignored
Searching on the net, it appears the attribute should be supported
since gcc 3.4 though. But I found posts about it being supported only
on certain targets
Riccardo
Hi,
my bad, it appears __attribute__((weak)) does what I wanted to achieve.
--
Luboš Doležel
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev