Opened 9 years ago
Last modified 4 years ago
#6988 closed defect
COMPILER: Using --enable-c++11 breaks in commandline.cpp — at Initial Version
Reported by: | raziel- | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Port: AmigaOS4 |
Version: | Keywords: | ||
Cc: | Game: |
Description
Using the flag --enable-c++11 with configure makes the compiler break with an error early on in commandline.cpp.
C++ base/commandLine.o
base/commandLine.cpp: In function 'void Base::usage(const char*, ...)':
base/commandLine.cpp:162:36: error: 'vsnprintf' was not declared in this scope
vsnprintf(buf, STRINGBUFLEN, s, va);
^
gmake: *** [base/commandLine.o] Error 1
The same (or at least something similar) happens when using the flag -std=c++11 on a test program.
include
Ticket imported from: bugs/6988.
Ticket imported from: bugs/6988.
Note:
See TracTickets
for help on using tickets.