This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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: Remove __STDC__ conditionals from installed headers


On 01/26/2012 11:44 PM, Roland McGrath wrote:
> That looks fine to me.  It may also make sense to get rid of the PARAMS
> macro entirely (a separate change), if standalone libintl et al aren't
> expected to support pre-1989 C any more.

I'll try to do it today.

Also, more cleanups come to mind--what about e.g.:

#ifdef __STDC__
#include <stdlib.h>
#endif

or

#if __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif

or

# ifdef __STDC__
#  define PTR void *
# else
#  define PTR char *

Shouldn't the __STDC__ guard eventually also go?

Oh, and one offtopic question: where does the __BOUNDED_POINTERS__ macro
come from?  Thanks,

	Marek


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