On 7/25/2010 3:29 PM, Jason Roelofs wrote:
On Jul 23, 2010, at 8:50 AM, Brad King wrote:
The fix may be the same either way though. Whenever gccxml cannot handle
a given compiler's headers we copy them into the Support/... directory and
patch them. In this case you can patch the header to remove the function
body definition because gccxml only cares about the interface.
Hmm, interesting in trying this out. What steps would I need to
> take to get GCC-XML to use headers in Support over system headers?
It automatically prefers headers in Support. Just put the
header under Support/GCC/4.x/ so that #include <> finds it.
Then modify the header as necessary.
If the header is platform-specific, just conditionalize
the entire file in a #if/#endif block.
-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