This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

long_call and definition/declaration conflicts


I am using gcc 3.2.2

If I declare a function with __attribute__ ((long_call)), then I get a
'conflicting types for function/previous declaration' error if both the
declaration and definition are in the same translation unit.

I does not seem that you can attach __attributes__ to definitions, so how
do I resolve this conflict.  It would seem to make long_call impossible to
use unless you hide the prototypes from the function definitions.

Is this a bug?

Please CC to me, as I am not a subscriber.


-- 
           The Phoenix - NekoCo - The Artistic Intuition Company
DevKitAdvance*MirrorReflex*Teapot*PhoenixQuake*Caelius*Zen-X*InfiniteRealms


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]