OT: gcc warning: implicit declaration of function
Dan Kegel
dkegel@ixiacom.com
Thu Oct 2 17:34:00 GMT 2003
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
More information about the crossgcc
mailing list