This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] c-cppbuiltin.c bits for libstdc++/31518


On 7/2/07, Paolo Carlini <pcarlini@suse.de> wrote:
> I think it is wrong to have this as a macro defined by the compiler.

Why, exactly?

Because people would abuse it. It is not like libstdc++ can't use an env variable to see what the length is requested at runtime rather than at compile time. Since the errors are being emitted at runtime.

-- Pinski


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