gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "weak import" on gcc


From: Luboš Doležel
Subject: Re: "weak import" on gcc
Date: Fri, 21 Jun 2013 09:39:15 +0200
User-agent: Roundcube Webmail/0.5

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]