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++ Library support » U++ Core » Gcc compile option proposal
Re: Gcc compile option proposal [message #39105 is a reply to message #39104] Fri, 15 February 2013 08:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
dolik.rce wrote on Fri, 15 February 2013 01:41

mirek wrote on Thu, 14 February 2013 23:31

Hm, now I have checked and I am actually compiling with

-Wall -Wno-parentheses

so except that (&&) warning, which I consider really way too stupid, we are -Wall compliant.

OK, I could live with blacklisting the parentheses warnings. Other than that, my gcc 4.7.2 reports only one error in theide:
Quote:


/home/h/upp-production/uppsrc/ide/Help.cpp:581:10: warning: converting �false� to pointer type �IdeDesigner*� [-Wconversion-null]


With clang, it is bit worse:



Which IMO nicely demonstrates my point. We can "fix" them, but are we going to forever keep changing standard compliant and fairly tested code only because some compiler developer has a little bit different taste for what deserves warning?

(That said, I will go through CLANG warnings anyway to see if there is something I am willing to fix...)
 
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: Request: completion 64 bit support in Draw and Stream
Next Topic: Core/Rpc and VC 2012
Goto Forum:
  


Current Time: Mon Aug 04 05:03:28 CEST 2025

Total time taken to generate the page: 0.11580 seconds