[Expat-bugs] [ expat-Bugs-846309 ] warning: `cdecl' attribute directive ignored

SourceForge.net noreply at sourceforge.net
Fri Dec 12 00:46:06 EST 2003


Bugs item #846309, was opened at 2003-11-20 20:59
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=846309&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Handel (phandel)
Assigned to: Nobody/Anonymous (nobody)
Summary: warning: `cdecl' attribute directive ignored

Initial Comment:
Noticed the following warnings while compiling with expat:

warning: `cdecl' attribute directive ignored

----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2003-12-12 00:46

Message:
Logged In: YES 
user_id=290026

The build should still succeed. Its only a warning.

----------------------------------------------------------------------

Comment By: David Wheeler (wheeler)
Date: 2003-12-11 18:01

Message:
Logged In: YES 
user_id=309379

I notice I get the same results with gcc 2.95.2, gcc3 (GCC)
3.1 20021003 (prerelease), and gcc-3.3 (GCC) 3.3 20030304
(Apple Computer, Inc. build 1495). Pity.

Regards,

David

----------------------------------------------------------------------

Comment By: David Wheeler (wheeler)
Date: 2003-12-11 17:55

Message:
Logged In: YES 
user_id=309379

Is there a workaround, in the meantime? I'm trying to get
expat built on Mac OS X 10.3 "Panther".

Thanks,

David

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-11-25 11:41

Message:
Logged In: NO 

The same warning occurs also with gcc on Solaris. Somewhat
annoying. it might be useful to try and compile a program
during configure to see whether the cdecl works.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2003-11-20 21:08

Message:
Logged In: YES 
user_id=290026

Does gcc on MacOSX know about cdecl at all,
or does it just not understand the attribute directive?

----------------------------------------------------------------------

Comment By: Peter Handel (phandel)
Date: 2003-11-20 21:00

Message:
Logged In: YES 
user_id=152036

This was with MacOS X 10.3 Panther, with the built-in gcc.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=846309&group_id=10127



More information about the Expat-bugs mailing list