Login  Register

Re: Xcode 12.4 requires c++17?

Posted by ken rector on Jun 13, 2023; 7:27pm
URL: https://forum.librecad.org/Xcode-12-4-requires-c-17-tp5722934p5722938.html

@dixli, Before I saw your previous post I looked again at a stackoverflow item that suggested the problem might be the presence of both QT and QT@5.  I did a brew uninstall QT.  The make proceeded a little further but then stopped with a different error.  

At that point I saw your previous post and set

QMAKE_CFLAGS = -std=c++1z

After a make clean the make finished and produced LibreCAD.app.

Should there be something about this in the build instructions?
Doesn't c++1y cause the inconsistent error even with the c17 compiler?