Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Upp package binding for LLVM/Clang library (libclang)
Re: Upp package binding for LLVM/Clang library (libclang) [message #30400 is a reply to message #30322] Tue, 28 December 2010 01:44 Go to previous messageGo to previous message
Sgifan is currently offline  Sgifan
Messages: 37
Registered: February 2010
Location: France
Member
nice explanation.

works as explained.

it works if the goal is to contribute to llvm or clang.

but using clang to compile u++ samples does not work.

to use the compiled clang the explanation about the build method should also include to enter clang as the compiler name.

in this case it is really clang and not gcc that is invoked to compile.

but then it fails to compile all samples
examples with PainterSVGDemo:

In file included from C:\upp\bazaar\PainterSvg_demo\SvgDemo.cpp:1:
In file included from C:\upp\bazaar\PainterSvg_demo/Examples.h:4:
In file included from C:\upp\uppsrc/CtrlLib/CtrlLib.h:4:
In file included from C:\upp\uppsrc/CtrlCore/CtrlCore.h:4:
In file included from C:\upp\uppsrc/RichText/RichText.h:4:
In file included from C:\upp\uppsrc/Draw/Draw.h:6:
C:\upp\uppsrc/Core/Core.h:39:10: fatal error: 'typeinfo' file not found
#include <typeinfo>
^
1 error generated.
PainterSvg_demo: 1 file(s) built in (0:01.07), 1076 msecs / file, duration = 1139 msecs, parallelization 0%


is there a way to use clang to compile u++ code ??

thanks




 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PieChart: Title disable
Next Topic: LedLabel new package
Goto Forum:
  


Current Time: Sun May 05 13:08:19 CEST 2024

Total time taken to generate the page: 0.02614 seconds