[Scummvm-tracker] [ScummVM] #10585: TOOLS: Compiler error in prince engine

Hubert Maier trac at scummvm.org
Tue Jun 26 08:09:51 CEST 2018


#10585: TOOLS: Compiler error in prince engine
--------------------+----------------------------
Reporter:  raziel-  |      Owner:  (none)
    Type:  defect   |     Status:  new
Priority:  normal   |  Component:  Engine: Prince
Keywords:           |       Game:
--------------------+----------------------------
 ScummVM 2.1.0git (Jun 24 2018 20:36:35)
 Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 Theora AAC FreeType2
 JPEG PNG cloud (servers, local)

 Probably becuase i'm not using c++11?
 {{{
     C++      engines/prince/flags.o
 engines/prince/flags.cpp:26:2: warning: identifier 'nullptr' is a keyword
 in C++11 [-Wc++0x-compat]
   FlagDebug *flagd = nullptr;
   ^
 engines/prince/flags.cpp: In static member function 'static const char*
 Flags::getFlagName(uint16)':
 engines/prince/flags.cpp:26:21: error: 'nullptr' was not declared in this
 scope
   FlagDebug *flagd = nullptr;
                      ^
 engines/prince/flags.cpp:33:1: warning: control reaches end of non-void
 function [-Wreturn-type]
  }
  ^
 gmake: *** [engines/prince/flags.o] Error 1
 }}}
 AmigaOS4 - PPC - SDL - BE
 gcc (adtools build 5.4.0) 5.4.0

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


More information about the Scummvm-tracker mailing list