C++ Logo


Advanced search

Re: Undefining a compiler 's predefined macro

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 22 Mar 2020 10:34:29 -0300
On Sunday, 22 March 2020 09:32:08 -03 Edward Diener via Std-Discussion wrote:
> I had no intention of naming it in my program, other than undefining it.
> I actually have a good reason for undefining a compiler predefined macro
> in the code base in which I am working. However your link suggests that
> it is not valid C++ to undefine a compiler implemented predefined macro
> which starts with a double underscore. But I do find the wording of:

Can you tell us what that reason is?

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2020-03-22 08:37:24