1

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?

Jaffa
  • 12,442
  • 4
  • 49
  • 101

1 Answers1

3

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

MSDN Link

abelenky
  • 63,815
  • 23
  • 109
  • 159
  • Note that `iso646.h` is deprecated and you should use `ciso646` instead. However, seeing as how you shouldn't need to include the header in the first place, maybe `ciso646` is broken, too. I don't know. – chris Jul 24 '14 at 14:21