Do we support Not ANSI C compiler?

Martin Liška mliska@suse.cz
Mon May 9 08:49:08 GMT 2022


Hi.

I noticed ./include/ansidecl.h contains not ANSI C path:

#else	/* Not ANSI C.  */

#define PTR		char *

/* some systems define these in header files for non-ansi mode */
#undef const
#undef volatile
#undef signed
#undef inline
#define const
#define volatile
#define signed
#define inline

#endif	/* ANSI C.  */

And my question is if we really support such compilers or can we remove the hunk?

Cheers,
Martin


More information about the Binutils mailing list