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


Ian Lance Taylor wrote:

Paolo Carlini <pcarlini@suse.de> writes:

in order to resolve this library enhancement, I need a new predefined
macro, per the below patch. Is it ok?


Why should the compiler time -fmessage-length=NN option affect the
runtime behaviour of libstdc++? Or of anything? That's not what
-fmessage-length=NN is for. It is documented as controlling the error
messages emitted by the compiler.


Ok, I can buy this: a clear split between compile-time and run-time.

If you want a runtime parameter, how about a -D option?


See my point about error checking. Maybe I'm missing some general strategy for error checking here, I'm not a big fan of -D... Anything to suggest?

Paolo.


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