vayerx / shadowgrounds

Shadowgrounds and Shadowgrounds Survivor games
Other
53 stars 18 forks source link

Compilation error #26

Closed monreal closed 7 years ago

monreal commented 7 years ago

I get the following compilation error on Fedora:

[ 98%] Building CXX object CMakeFiles/shadowgrounds_filesystem.dir/filesystem/detail/unzip.cpp.o
[ 98%] Building CXX object CMakeFiles/shadowgrounds_filesystem.dir/filesystem/detail/ioapi.cpp.o
[ 98%] Linking CXX static library libshadowgrounds_filesystem.a
[ 98%] Built target shadowgrounds_filesystem
[ 98%] Building CXX object CMakeFiles/shadowgrounds_storm.dir/storm/storm3dv2/treader.cpp.o
Scanning dependencies of target survivor
[ 99%] Building CXX object CMakeFiles/survivor.dir/survivor/survivor.cpp.o
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp: In member function ‘bool VideoBackgroundLoader::init(const char*, IStorm3D_StreamBuilder*)’:
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:77:46: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         if (mContext->formatctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && mContext->videoindex ==
                                              ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:77:46: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         if (mContext->formatctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && mContext->videoindex ==
                                              ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:77:46: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         if (mContext->formatctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && mContext->videoindex ==
                                              ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:79:51: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         else if (mContext->formatctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && mContext->audioindex ==
                                                   ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:79:51: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         else if (mContext->formatctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && mContext->audioindex ==
                                                   ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:79:51: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         else if (mContext->formatctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && mContext->audioindex ==
                                                   ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:86:92: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
     } else { mContext->videocodecctx = mContext->formatctx->streams[mContext->videoindex]->codec; }
                                                                                            ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:86:92: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
     } else { mContext->videocodecctx = mContext->formatctx->streams[mContext->videoindex]->codec; }
                                                                                            ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:86:92: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
     } else { mContext->videocodecctx = mContext->formatctx->streams[mContext->videoindex]->codec; }
                                                                                            ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:119:106: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
     unsigned int bytes = avpicture_get_size(AV_PIX_FMT_RGB24, mContext->videowidth, mContext->videoheight);
                                                                                                          ^
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:17:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:5653:5: note: declared here
 int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
     ^~~~~~~~~~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:126:43: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
                     mContext->videoheight );
                                           ^
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:17:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:5638:5: note: declared here
 int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
     ^~~~~~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:129:87: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         mContext->audiocodecctx = mContext->formatctx->streams[mContext->audioindex]->codec;
                                                                                       ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:129:87: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         mContext->audiocodecctx = mContext->formatctx->streams[mContext->audioindex]->codec;
                                                                                       ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:129:87: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
         mContext->audiocodecctx = mContext->formatctx->streams[mContext->audioindex]->codec;
                                                                                       ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:18:0:
/usr/include/ffmpeg/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp: In member function ‘void VideoBackgroundLoader::startLoadingThread()’:
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:297:104: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
                 avcodec_decode_video2(mContext->videocodecctx, mContext->readframe, &framedone, &packet);
                                                                                                        ^
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:17:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:4993:5: note: declared here
 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
     ^~~~~~~~~~~~~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:337:85: warning: ‘int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
                 avcodec_decode_audio4(mContext->audiocodecctx, frame, &size, &packet);
                                                                                     ^
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:17:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:4944:5: note: declared here
 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
     ^~~~~~~~~~~~~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:350:35: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
             av_free_packet(&packet);
                                   ^
In file included from /home/micmon/code/gaming/shadowgrounds.git/storm/storm3dv2/treader.cpp:17:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:4650:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:41:21: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         static std::auto_ptr<GameOptionManager> instance;
                     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:14:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:35:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/IOguiDriver.h:17:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     virtual IOguiImage *LoadOguiImage(const char *filename) throw (OguiException *) = 0;
                                                             ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/IOguiDriver.h:18:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     virtual IOguiImage *LoadOguiImage(int width, int height) throw (OguiException *) = 0;
                                                              ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/IOguiDriver.h:24:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     virtual IOguiFont *LoadFont(const char *filename) throw (OguiException *) = 0;
                                                       ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiWindow.h:10:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:20,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:35:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiButton.h:222:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<IOguiImage>   imageSelected;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiWindow.h:10:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:20,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:35:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiButton.h:223:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<IOguiImage>   imageSelectedHigh;
          ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:35:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:121:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     void LoadDefaultFont(const char *filename) throw (OguiException *);
                                                ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:132:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw (OguiException *);
     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:146:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw (OguiException *);
     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:158:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw (OguiException *);
     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:164:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw (OguiException *);
     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:174:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw (OguiException *);
     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:237:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                    const char *imagefilename, int id = 0) throw (OguiException *);
                                                                           ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:249:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                         void       *argument = NULL) throw (OguiException *);
                                                                      ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:263:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                         bool        clipToWindow = true) throw (OguiException *);
                                                                          ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:277:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                        bool        clipToWindow = true) throw (OguiException *);
                                                                         ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:281:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                    int sizex, int sizey, const char *text) throw (OguiException *);
                                                                            ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:285:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                   int sizex, int sizey, const char *text) throw (OguiException *);
                                                                           ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:300:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                      void                *argument = NULL) throw (OguiException *);
                                                                            ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:306:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     IOguiImage *LoadOguiImage(const char *filename) throw (OguiException *);
                                                     ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:307:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     IOguiImage *LoadOguiImage(int width, int height) throw (OguiException *);
                                                      ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:308:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     IOguiImage *GetOguiRenderTarget(int index) throw (OguiException *);
                                                ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/Ogui.h:316:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     IOguiFont *LoadFont(const char *filename) throw (OguiException *);
                                               ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:36:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiStormDriver.h:104:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     OguiStormDriver(IStorm3D *storm3d, IStorm3D_Scene *stormScene) throw (OguiException *);
                                                                    ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiStormDriver.h:106:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     virtual IOguiImage *LoadOguiImage(const char *filename) throw (OguiException *);
                                                             ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiStormDriver.h:107:62: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     virtual IOguiImage *LoadOguiImage(int width, int height) throw (OguiException *);
                                                              ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiStormDriver.h:109:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     virtual IOguiFont *LoadFont(const char *filename) throw (OguiException *);
                                                       ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiStormDriver.h:114:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     void prepareForNextStormGeneration(IStorm3D_Scene *stormScene) throw (OguiException *);
                                                                    ^~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ogui/OguiStormDriver.h:119:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     void nextStormGeneration(IStorm3D_Scene *stormScene) throw (OguiException *);
                                                          ^~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:227:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<OguiWindow> win;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:229:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatMessageWindow> messageWindow;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:230:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatMessageWindow> timerWindow;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:231:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatMessageWindow> messageWindowRight;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:232:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatMessageWindow> centerMessageWindow;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:233:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatMessageWindow> hintMessageWindow;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:234:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatMessageWindow> executeTipMessageWindow;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:236:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<OffscreenUnitPointers> offscreenUnitPointers;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:65:0:
/home/micmon/code/gaming/shadowgrounds.git/survivor/../ui/CombatWindow.h:237:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         std::auto_ptr<CombatRadar> radar;
              ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/GameOptionManager.h:8,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/../game/SimpleOptions.h:4,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/precompiled.h:36,
                 from /home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:760:33: error: ‘siginfo_t’ has not been declared
 static void sighandler(int sig, siginfo_t *info, void *secret) {
                                 ^~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp: In function ‘void sighandler(int, int*, void*)’:
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:763:16: error: ‘SIGSEGV’ was not declared in this scope
     if (sig == SIGSEGV) {
                ^~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:765:60: error: request for member ‘si_addr’ in ‘* info’, which is of non-class type ‘int’
         printf("Got signal %d at %p from %p\n", sig, info->si_addr, (void *) uc->uc_mcontext.gregs[REG_RIP]);
                                                            ^~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp: In function ‘void setsighandler()’:
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:784:22: error: aggregate ‘setsighandler()::sigaction sa’ has incomplete type and cannot be defined
     struct sigaction sa;
                      ^~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:787:5: error: ‘sigemptyset’ was not declared in this scope
     sigemptyset(&sa.sa_mask);
     ^~~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:788:19: error: ‘SA_RESTART’ was not declared in this scope
     sa.sa_flags = SA_RESTART | SA_SIGINFO;
                   ^~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:788:19: note: suggested alternative: ‘ERESTART’
     sa.sa_flags = SA_RESTART | SA_SIGINFO;
                   ^~~~~~~~~~
                   ERESTART
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:788:32: error: ‘SA_SIGINFO’ was not declared in this scope
     sa.sa_flags = SA_RESTART | SA_SIGINFO;
                                ^~~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:790:15: error: ‘SIGSEGV’ was not declared in this scope
     sigaction(SIGSEGV, &sa, NULL);
               ^~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:790:33: error: invalid use of incomplete type ‘struct setsighandler()::sigaction’
     sigaction(SIGSEGV, &sa, NULL);
                                 ^
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:784:12: note: forward declaration of ‘struct setsighandler()::sigaction’
     struct sigaction sa;
            ^~~~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:791:15: error: ‘SIGUSR1’ was not declared in this scope
     sigaction(SIGUSR1, &sa, NULL);
               ^~~~~~~
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:791:33: error: invalid use of incomplete type ‘struct setsighandler()::sigaction’
     sigaction(SIGUSR1, &sa, NULL);
                                 ^
/home/micmon/code/gaming/shadowgrounds.git/survivor/survivor.cpp:784:12: note: forward declaration of ‘struct setsighandler()::sigaction’
     struct sigaction sa;
            ^~~~~~~~~
make[2]: *** [CMakeFiles/survivor.dir/build.make:63: CMakeFiles/survivor.dir/survivor/survivor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:560: CMakeFiles/survivor.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX static library libshadowgrounds_storm.a
[100%] Built target shadowgrounds_storm
make: *** [Makefile:152: all] Error 2