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


Dave Korn wrote:

In fact, we are not using environment variables this way. One big
problem I can see, is error checking: what happens if the user defines,
say, _GLIBCXX_MESSAGE_LENGHT, to something which is not a number?


Then demons will fly out of their nose and it's all their own fault. We don't have to care about that.


:)

No, now I see, I can do error checking on an _GLIBCXX_MESSAGE_LENGTH env variable, that will require an actual getenv (afaik, something we are not much used to in the library), but probably will do in this case.

Paolo.


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