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 » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Is U++ compatible w/ Linux Clang compiler? (We are looking to move from GCC to Clang)
Is U++ compatible w/ Linux Clang compiler? [message #45200] Wed, 30 September 2015 21:50 Go to next message
jfranks is currently offline  jfranks
Messages: 36
Registered: September 2014
Location: Houston, Texas
Member
Hello,

I saw that there were some previous discussions about CLANG.

We would like to use CLANG in place of GCC.

Is U++ compatible with that?

--Jeff
Re: Is U++ compatible w/ Linux Clang compiler? [message #45201 is a reply to message #45200] Wed, 30 September 2015 22:57 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 488
Registered: November 2008
Location: France
Senior Member
Hi Jeff,

Last time I used Clang with U++ it worked just fine (not long ago, but I don't have CLang installed at this time so can't check right now)
Re: Is U++ compatible w/ Linux Clang compiler? [message #45202 is a reply to message #45201] Thu, 01 October 2015 08:52 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

I'm using Clang under FreeBSD for U++ for some time. It gives a number of additional warnings but everything is built successfully.
Re: Is U++ compatible w/ Linux Clang compiler? [message #45205 is a reply to message #45202] Sun, 04 October 2015 15:06 Go to previous message
mirek is currently offline  mirek
Messages: 12105
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Thu, 01 October 2015 08:52
I'm using Clang under FreeBSD for U++ for some time. It gives a number of additional warnings but everything is built successfully.


I prefer CLANG for linux development simply because it is significantly faster.

I am fixing all CLANG warnings in U++ except "-Wno-logical-op-parentheses" (put this into commandline in build method).

It is also worth to activate -std=c++0x even if not using C++11 to spot and fix pick/clone bugs (or just to upgrade the code).
Previous Topic: After splitting a package into 2, Optimal builds crash
Next Topic: How can a log-file of compile/link of my app be created?
Goto Forum:
  


Current Time: Thu Nov 21 14:36:02 CET 2019

Total time taken to generate the page: 0.01089 seconds