[cfe-dev] CodeGen/statements.c: Don't understand test and its failure
john.thompson.jtsoftware at gmail.com
Thu Oct 15 10:42:03 CDT 2009
On Windows, the CodeGen/statements.c test fails, apparently because of this
3><stdin>:23:17: error: initializer element is not a compile-time constant
3>static long x = &&bar - &&baz;
First, what does a unary "&&" do on a variable? Address of an address? It
doesn't seem to make sense.
Second, why would it result in an error in VC++-built Clang, but not on
other platforms? (I tried using other target triples, but there was no
I know I'll probably have to debug it, but understanding the first might
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev