Search code examples
c++visual-studio-2008-sp1

Keywords "and", "or" and "not" not defined


I'm working on a C++ project on Visual Studio 2008 and I found out that and, not and or keywords are not defined.

Am I missing some configuration to enable the use of theses keywords? AFAIK, they are part of the standard, no?


Solution

  • "Include the header file iso646.h, or compile with the /Za (Disable language extensions) compiler option."

    MSDN Link