Mateusz Loskot wrote:
David Bertoni wrote:
Mateusz Loskot wrote:
Am I doing anything wrong here?
I don't think so. I looks like your platform has defined "not" as a
macro for "!" and that's causing problems with the local variable
"not." What platform and compiler are you using?
GNU/Linux, Ubuntu 6.10
$ gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
What happens if you rename that variable to something else?
Yes, it works.
I renamed not to notation and it compiles now.
See attached diff file.
I've already committed a patch for this problem. Please let me know if you
have problems with it. I just built the patch on Ubuntu 7.04, so it should
also work for you.
Thanks!
Dave