This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: OT: gcc warning: implicit declaration of function


Bryce Schober wrote:
Dan Kegel wrote:

Are you quite sure that

defined(__USE_FIXED_PROTOTYPES__) || defined(__cplusplus) || defined (__STRICT_ANSI__)

evaluates to TRUE?


No, I'm certainly not. But I'm also ignorant enough not to know how / where these would / should be defined. This is pretty vanilla code. don't I deserve an abs() function? Maybe that's a newlib wart...

Sure, you deserve one, but maybe only after you understand what those three preprocessor symbols mean :-)

This sounds kind of like http://gcc.gnu.org/PR8307
Does Pete's workaround there help?

- Dan


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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