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 #36523 is a reply to message #30312] Mon, 04 June 2012 21:51 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
There is new LLVM 3.1 version on 22th May 2012. The corresponding archives were updated.

In this version "CXString clang_getDiagnosticCategoryName(unsigned Category);" function was deprecated and recommended to use "CXString clang_getDiagnosticCategoryText(CXDiagnostic diag);" function instead.

Also I tried to build C/C++ applications with Clang v3.1 compiler on Windows. It was successfull for Clang, compiled with GCC v4.6.1 and by using binaries, headers and libraries from GCC v4.7.0 (e.g. from nuwen.net). With following paths for TheIDE build method:
PATH - executable directories:
C:\BuildSystem\install\llvm_3_1\bin
C:\MinGWN\bin
INCLUDE directories:
C:\MinGWN\include\c++\4.7.0
C:\MinGWN\include\c++\4.7.0\i686-pc-mingw32
C:\MinGWN\include\c++\4.7.0\backward
C:\MinGWN\lib\gcc\i686-pc-mingw32\4.7.0\include
C:\MinGWN\include
C:\MinGWN\lib\gcc\i686-pc-mingw32\4.7.0\include-fixed
C:\BuildSystem\install\llvm_3_1\include
LIB directories:
C:\MinGWN\lib
C:\BuildSystem\install\llvm_3_1\lib
And "clang++" compiler name.

But there are issues with multithreading source code, such as: error: "thread-local storage is unsupported for the current target". The U++ TheIDE, compiled with GUI build flag, works well.
To note: To disable various warning messages there is "-w" compiler option. To restrict various error messages there is "-ferror-limit=n" compiler option, where n is maximum number of errors; 0 - without restrictions.

[Updated on: Tue, 05 June 2012 04:21]

Report message to a moderator

 
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 16:49:05 CEST 2024

Total time taken to generate the page: 0.02784 seconds