LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Building CLang via g++ fails (https://www.linuxquestions.org/questions/linux-software-2/building-clang-via-g-fails-4175509933/)

feraudyh 07-03-2014 12:55 AM

Building CLang via g++ fails
 
Hi,
I may be in the wrong forum, so if soneone can tell me where I can go to get this specialised information.
I'm trying to build CLang from sources. I'm in Ubuntu. I just updated my compilers to g++4.8 and gcc4.8 , but this appears to be not enough because during compilation I get messages like this:
error: 'enable_if' in namespace std does not name a type
typename std::enable_if<....

This appears to me to be a problem that my library is not recent enough.

g++ --version does report 4.8.1 though.

feraudyh 07-03-2014 06:41 AM

Hello,
I then tried fiddling with the Makefile.config file, and then relaunched configure, my changes to that file were lost and then all those compilation problems
went away.

I kept a copy of the build directory and will be using Meld to compare the makefiles and such to see what miracle happenned.


All times are GMT -5. The time now is 06:47 PM.