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: [patch] Fix for BZ #15366 (ignore __STDC_LIMIT_MACROS, __STDC_CONSTANT_MACROS)


On Tue, Apr 16, 2013 at 05:44:48PM +0200, Florian Weimer wrote:
> On 04/16/2013 05:42 PM, Paul Pluzhnikov wrote:
> >On Tue, Apr 16, 2013 at 12:27 AM, Florian Weimer <fweimer@redhat.com> wrote:
> >
> >>Should we really apply this change retroactively to C++98 and C++03?
> >
> >I just checked: neither C++98, nor C++03, mention <stdint.h>,
> >__STDC_LIMIT_MACROS, or __STDC_CONSTANT_MACROS.
> 
> I'm just wondering if whatever reason prompted the inclusion of the
> C++ kludge into C99 might still apply today when compiling C++98 (or
> C++03) code.  Why wouldn't the rationale continue to apply?

I don't think real-world code was ever a consideration. It was some
stupid thing about the C++ committee not wanting them (being allergic
to macros?) and the preprocessor conditionals were to satisfy them.
Can anyone confirm if this is correct?

Rich


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