<div dir="ltr"><div><div>I'm trying to parse recent LLVM headers but I'm not able to solve this issue:<br></div><div><br>gccxml -fexceptions `llvm-config --cppflags --cflags --cxxflags ` plugin/c/llvm-liberty.h -fxml=llvm.gcc-xml<br>
In file included from /usr/include/c++/4.6/bits/ios_base.h:43,<br>                 from /usr/include/c++/4.6/ios:43,<br>                 from /usr/include/c++/4.6/ostream:40,<br>                 from /usr/include/c++/4.6/iterator:64,<br>
                 from /usr/lib/llvm-3.1/include/llvm/Use.h:30,<br>                 from /usr/lib/llvm-3.1/include/llvm/Value.h:17,<br>                 from /usr/lib/llvm-3.1/include/llvm/User.h:23,<br>                 from /usr/lib/llvm-3.1/include/llvm/Constant.h:17,<br>
                 from /usr/lib/llvm-3.1/include/llvm/GlobalValue.h:21,<br>                 from /usr/lib/llvm-3.1/include/llvm/Function.h:21,<br>                 from /usr/lib/llvm-3.1/include/llvm/Module.h:18,<br>                 from /usr/lib/llvm-3.1/include/llvm-c/Core.h:24,<br>
                 from /usr/lib/llvm-3.1/include/llvm-c/Analysis.h:22,<br>                 from plugin/c/llvm-liberty.h:18:<br>/usr/include/c++/4.6/bits/locale_classes.h: In member function 'void std::locale::facet::_M_remove_reference() const':<br>
/usr/include/c++/4.6/bits/locale_classes.h:414: error: exception handling disabled, use -fexceptions to enable<br>make: *** [llvm.gcc-xml] Errore 1<br><br>I'm running <br>gccxml 0.9.0+cvs20120420-4ubuntu1<br>llvm-dev 1:3.1-15~exp1<br>
</div>gcc 4:4.6.3-1ubuntu5 <br><br></div>Gccxml parsed previous versions of llvm without problems.<br><div><div><div>Has anyone tried to parse recent LLVM headers? <br></div><div>What else may I try? Building gccxml from the git repository?<br>
</div><div>Thanks in advance for you attention<br></div></div></div></div>