This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] c-cppbuiltin.c bits for libstdc++/31518
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 02 Jul 2007 20:22:02 +0200
- Subject: Re: [PATCH] c-cppbuiltin.c bits for libstdc++/31518
- References: <46893790.5050408@suse.de> <m3tzsmis9t.fsf@localhost.localdomain>
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.