Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3942 closed defect (fixed)

Use C++11 on Windows for the C++ runtime

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: high Milestone:
Component: Cpp Run-time Version:
Keywords: Cc: Rüdiger Franke

Description

Currently we have for the C++ runtime on Windows:

IF(IS_MINGW32 OR IS_MINGW64)
 SET(USE_CPP_03 ON)
ENDIF(IS_MINGW32 OR IS_MINGW64)

We should check if it works without it.

Change History (4)

comment:1 by Adrian Pop, 9 years ago

Cc: Rüdiger Franke added
Owner: changed from somebody to Adrian Pop
Status: newaccepted

comment:2 by Adrian Pop, 9 years ago

Should be fixed by 24669b/OMCompiler. I'll wait for the windows tests to run until I close the ticket.

comment:3 by Adrian Pop, 9 years ago

Resolution: fixed
Status: acceptedclosed

Compiling with -std=c++11 works fine so I'll close this ticket.
The problem is that FMUs are compiled with -D_GLIBCXX_USE_CXX11_ABI=0 and that doesn't seem to work on Windows msys2 mingw. I'll open another ticket about it.

comment:4 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.