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++ » U++ Developers corner » Compile error on Fedora 25 x86_64 (abs redefinition and include that goes wrong?)
Re: Compile error on Fedora 25 x86_64 [message #47191 is a reply to message #47187] Tue, 27 December 2016 10:34 Go to previous messageGo to previous message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
On Fedora 25 it will work as expected:
wget -N http://www.ultimatepp.org/downloads/upp-x11-src-10597M.tar.gz
rpmbuild -tb --define 'version 10597M' --define "date $(LC_TIME=En date '+%a %b %d %Y')" upp-x11-src-10597M.tar.gz

On Centos 7 64bit (fresh install from "CentOS-7-x86_64-DVD-1611.iso" with all updates), I get the same error as you do.
It's not packaging related but source code related. If you just decompress the tarball and then type "make", you will get the same errors ("error call of overloaded 'Sort(Upp::Vector<int>&)' is ambiguous").
wget -N http://www.ultimatepp.org/downloads/upp-x11-src-10597M.tar.gz
tar zxvf upp-x11-src-10597M.tar.gz
cd upp-x11-src-10597M
make

I'm not sure but I guess that it's gcc version related, and for that, I have no solution:

* Centos 7 : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
* Fedora 25: gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Are there any plans to convert U++ comments to format as DOXYGEN / JAVADOC?
Next Topic: Requirement Spellvariant -> new Feature for spelling
Goto Forum:
  


Current Time: Tue Jun 03 09:32:21 CEST 2025

Total time taken to generate the page: 0.01761 seconds