title: Is it possible to turn off support for "and" / "or" boolean operator usage in gcc?
body: <p>GCC seems to allow "and" / "or" to be used instead of "&amp;&amp;" / "||" in C++ code; however, as I expected, many compilers (notably MSVC 7) do not support this. The fact that GCC allows this has caused some annoyances for us in that we have different developers working on the same code base on multiple platforms and occasionally, these "errors" slip in as people are switching back and forth between Python and C++ development.</p>
  
  <p>Ideally, we would all remember to use the appropriate syntax, but for those situations where we occasionally mess up, it would be really nice if GCC didn't let it slide. Anybody have any ideas on approaches to this?</p>
  
  <p>If "and" and "or" are simply #defines then I could #undef when using GCC but I worry that it is more likely built into the compiler at more fundamental level.</p>
  
  <p>Thanks.</p>