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++ » Releasing U++ » Tarball issues
Tarball issues [message #47365] Mon, 09 January 2017 09:47 Go to previous message
mirek is currently offline  mirek
Messages: 12151
Registered: November 2005
Ultimate Member
amrein wrote on Mon, 09 January 2017 02:07
I can change the domake script and force the use of clang++ instead of gcc if gcc version is lower than 4.9.0 for example.

I didn't found a quick fix for abs and other methods producing compilation errors with old gcc versions.



Well, I am not 100% what is the correct solution here, but

- we need to add to README that required gcc should be >= 5.0 (as older have problems with C++14 standard)

- maybe add warning (or even error) to domake

- we need to provide a way how to proceeed in that case, which is IMO:

- install latest GCC from e.g. tarball, then provide a name of the compiler (like g++-6.1.0) to domake / make somehowe
- install clang from distro package, as usually it is more OK with c++14 and again, change the compiler used by make
- maybe install clang from tarball...

Now how to provide the name of compiler I am not 100++ sure, but IMO either environment variable/commandline switch?

Or maybe that warning in domake should try to pick the correct compiler and ask user? Let him choose?

Mirek
 
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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: umk on U++ server is obsolete and creates bad Makefiles
Next Topic: Archlinux AUR
Goto Forum:
  


Current Time: Tue Jan 21 01:58:05 CET 2020

Total time taken to generate the page: 0.01013 seconds