OT: gcc warning: implicit declaration of function

Dan Kegel dkegel@ixiacom.com
Thu Oct 2 00:32:00 GMT 2003


Bryce Schober wrote:
> /usr/local/lib/gcc-lib/arm-elf/3.3/include/stdlib.h:
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> #ifndef __stdlib_h
> #define __stdlib_h
> 
> #define __need_size_t
> #include <stddef.h>
> 
> #if defined(__USE_FIXED_PROTOTYPES__) || defined(__cplusplus) || defined 
> (__STRICT_ANSI__)
> #ifndef abort
> extern void abort (void);
> #endif
> extern int abs (int);

Are you quite sure that

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

evaluates to TRUE?

- 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