[cairo] On #if vs #ifdef

Tor Lillqvist tml at iki.fi
Thu Mar 22 08:47:45 PDT 2007


 > > So "#if FOO, where FOO is undefined" is ok with GNU cpp [2] but
 > > not with Visual C++ [3]

 > I'm pretty certain this works in Visual C++,

It does, but by default MSVC7.1, at least, spits out warnings about
FOO being undefined.

--tml



More information about the cairo mailing list