Bug #1449

Fix compilation issue with makefile (Add -std=c++0x or -std=c++11 option)

Added by Zbigniew Rebacz about 8 years ago. Updated about 8 years ago.

Status:ApprovedStart date:05/08/2016
Priority:UrgentDue date:
Assignee:Zbigniew Rebacz% Done:


Category:GeneralSpent time:-
Target version:Release 2017.1


Current makefile for POSIX dosen't work because we need to enable c++11.


#1 Updated by Jan DolinĂ¡r about 8 years ago

  • Status changed from New to In Progress
  • Assignee changed from Jan DolinĂ¡r to Zbigniew Rebacz

The makefile that should contain this flag is actually generated by TheIDE, so it should be probably fixed there. The problem is, that this will break the functionality for users who still use U++ on systems with older compilers lacking proper C++11 support.

I think the most sensitive solution is IMHO to change the generated code to CXX:=c++ -std=c++11 (see ide/Builders/MakeFile.cpp:75). This should make it work for systems with enough C++11 support, and can be simply overriden for others by specifying CXX="c++" explicitly when running make. What do you think?

#2 Updated by Miroslav Fidler about 8 years ago

I believe this one is already fixed.

#3 Updated by Zbigniew Rebacz about 8 years ago

  • Status changed from In Progress to Approved

Also available in: Atom PDF