[email protected] wrote: > This looks very similar to a problem reported at > http://www.cmake.org/pipermail/gccxml/2008-August/001171.html, but that was > against 3.4.6. I'm afraid I didn't quite follow the thread, but it looked as > if the original discussion about __GXX_WEAK__ being inconsistently defined > was not correct, and the fix was to patch the > gccxml-0.9/GCC/3.4/bits/gthr-default.h file.
Yes, this was the fix: http://www.gccxml.org/pipermail/gccxml/2008-August/001175.html > But there isn't a gthr-default.h supplied for 3.2.3. I tried naively copying > /usr/include/c++/3.2.3/x86_64-redhat-linux/bits/gthr-default.h into the > gccxml/GCC/3.2 tree and applying the same patch, but unsurprisingly it didn't > work (error: stray '##' in program). The same fix should work. Please post the code near the fix. It should look something like # define __gthrw(name) \ extern __typeof(name) __gthrw_ ## name after applying the fix. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml
