[Scummvm-tracker] [ScummVM] #10320: TOOLS: Compiler error in "extract_prince"

Hubert Maier trac at scummvm.org
Thu Nov 16 16:06:16 CET 2017


#10320: TOOLS: Compiler error in "extract_prince"
--------------------+--------------------
Reporter:  raziel-  |      Owner:  (none)
    Type:  defect   |     Status:  new
Priority:  blocker  |  Component:  Tools
Keywords:           |       Game:
--------------------+--------------------
 Since a source update from two or so days ago, i'm getting a compiler
 error in the "extract_prince" module

 {{{
     C++      engines/prince/extract_prince.o
 engines/prince/extract_prince.cpp: In member function 'virtual void
 ExtractPrince::execute()':
 engines/prince/extract_prince.cpp:166:58: error: 'to_string' is not a
 member of 'std'
     if (Common::Filename(mainDir.getFullPath() + "mob0" +
 std::to_string(mobFileNumber) + ".lst").exists() == true) {
                                                           ^
 engines/prince/extract_prince.cpp:168:58: error: 'to_string' is not a
 member of 'std'
      exportMobs(loadFile(mainDir.getFullPath() + "mob0" +
 std::to_string(mobFileNumber) + ".lst"));
                                                           ^
 engines/prince/extract_prince.cpp:173:57: error: 'to_string' is not a
 member of 'std'
     if (Common::Filename(mainDir.getFullPath() + "mob" +
 std::to_string(mobFileNumber) + ".lst").exists() == true) {
                                                          ^
 engines/prince/extract_prince.cpp:175:57: error: 'to_string' is not a
 member of 'std'
      exportMobs(loadFile(mainDir.getFullPath() + "mob" +
 std::to_string(mobFileNumber) + ".lst"));
                                                          ^
 gmake: *** [engines/prince/extract_prince.o] Error 1
 }}}

 Latest sources, checkout from today

 AmigaOS4 - SDL - PPC - BE
 gcc (adtools build 5.3.0) 5.3.0

--
Ticket URL: <https://bugs.scummvm.org/ticket/10320>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list