Solaris/x86 namespace bug?

2006-02-23 Thread Frank Cusack
I found this when building doxygen. Found a simple test case on the web: $ cat ll.cc #include int CS; $ g++ ll.cc ll.cc:2: error: expected unqualified-id before numeric constant It works correctly on Solaris/sparc. My system is

__thread and builtin memcpy() bug

2005-11-23 Thread Frank Cusack
filed as $ cat bug.c #include /* memcpy() */ static #ifdef SHOWBUG __thread #endif int foo[2]; void bug(void) { int bar; (void) memcpy(&foo[0], &bar, sizeof(bar)); #ifdef SHOWBUG (void) memcpy(&foo[1], &bar, sizeof(bar)); #e