continued from previous post due to exceeding maximum allowed character length
make bundle output
Keils-iMac:attract keiljr$ /Users/keiljr/Projects/attract/util/osx/create-pkg.sh
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf -DUSE_SWRESAMPLE
rm -f obj/*.o obj/expat/*.o obj/squirrel/*.o obj/sqstdlib/*.o obj/audiolib/*.o obj/gsbaselib/*.o obj/gameswflib/*.o obj/gameswflib/gameswf_as_classes/*.o obj/*.a obj/*.res *~ core
flags: -DDATA_PATH=\"../config/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf -DUSE_SWRESAMPLE
Compiling obj/fe_base.o...
Compiling obj/fe_file.o...
Compiling obj/fe_util.o...
Compiling obj/fe_util_sq.o...
Compiling obj/fe_cmdline.o...
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:203:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1252:46: error:
declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float fmax(float __lcpp_x, float ...
^
extlibs/gameswf/base/utility.h:87:14: note: target of using declaration
inline float fmax(float a, float b) { if (a < b) return b; else return a; }
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1249:9: note:
using declaration
using ::fmax;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1276:46: error:
declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __lcpp_x, float ...
^
extlibs/gameswf/base/utility.h:86:14: note: target of using declaration
inline float fmin(float a, float b) { if (a < b) return a; else return b; }
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1273:9: note:
using declaration
using ::fmin;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1391:46: error:
declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXC...
^
extlibs/gameswf/base/utility.h:105:14: note: target of using declaration
inline float log2(float f) { return logf(f) / LN_2; }
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1388:9: note:
using declaration
using ::log2;
^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:213:5: warning:
Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
[-W#warnings]
# warning Use of the header <ext/hash_map> is deprecated. Migrate to ...
^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
return NULL;
^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR in /Users/keiljr/Projects/attract/util/osx/create-pkg.sh : line 55 exit code 2
Keils-iMac:attract keiljr$ /Users/keiljr/Projects/attract/util/osx/create-pkg.sh NO_SWF=1
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf -DUSE_SWRESAMPLE
rm -f obj/*.o obj/expat/*.o obj/squirrel/*.o obj/sqstdlib/*.o obj/audiolib/*.o obj/gsbaselib/*.o obj/gameswflib/*.o obj/gameswflib/gameswf_as_classes/*.o obj/*.a obj/*.res *~ core
flags: -DDATA_PATH=\"../config/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -DUSE_SWRESAMPLE -DNO_SWF
Compiling obj/fe_base.o...
Compiling obj/fe_file.o...
Compiling obj/fe_util.o...
Compiling obj/fe_util_sq.o...
Compiling obj/fe_cmdline.o...
Compiling obj/fe_info.o...
Compiling obj/fe_input.o...
Compiling obj/fe_romlist.o...
Compiling obj/fe_settings.o...
Compiling obj/scraper_xml.o...
Compiling obj/scraper_general.o...
Compiling obj/fe_presentable.o...
Compiling obj/fe_present.o...
Compiling obj/sprite.o...
Compiling obj/fe_image.o...
Compiling obj/fe_sound.o...
Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x );
^
/usr/local/include/SFML/Graphics/Shader.hpp:554:26: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x);
^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y );
^
/usr/local/include/SFML/Graphics/Shader.hpp:562:26: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y, z );
^
/usr/local/include/SFML/Graphics/Shader.hpp:570:26: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y, z, w );
^
/usr/local/include/SFML/Graphics/Shader.hpp:578:26: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, sf::Shader::CurrentTexture );
^
/usr/local/include/SFML/Graphics/Shader.hpp:626:26: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, *texture );
^
/usr/local/include/SFML/Graphics/Shader.hpp:618:26: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
^
6 warnings generated.
Compiling obj/fe_overlay.o...
src/fe_overlay.cpp:1575:9: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
cursor.setColor( tp->getColor() );
^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
1 warning generated.
Compiling obj/fe_window.o...
Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
m_texts[i].setColor( c );
^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
/usr/local/include/SFML/Graphics/Text.hpp:285:34: note: 'getColor' has been explicitly marked deprecated here
SFML_DEPRECATED const Color& getColor() const;
^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.o...
Compiling obj/fe_config.o...
Compiling obj/scraper_net.o...
Compiling obj/fe_net.o...
Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
codec_ctx->refcounted_frames = 1;
^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
int refcounted_frames;
^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2( codec_ctx, raw_frame,
^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
codec_ctx->refcounted_frames = 1;
^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
int refcounted_frames;
^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2( codec_ctx, raw_frame,
^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated [-Wdeprecated-declarations]
raw_frame->pts = raw_frame->pkt_pts;
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/frame.h:302:13: note: 'pkt_pts' has been explicitly marked deprecated here
int64_t pkt_pts;
^
src/media.cpp:1020:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here
AVCodecContext *codec;
^
src/media.cpp:1075:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here
AVCodecContext *codec;
^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
m_audio->codec_ctx->refcounted_frames = 1;
^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
int refcounted_frames;
^
src/media.cpp:1241:13: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_audio4( m_audio->codec_ctx, frame, &got_frame, packet );
^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4944:5: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^
9 warnings generated.
Compiling obj/expat/xmlparse.o...
extlibs/expat/xmlparse.c:1568:18: warning: implicit conversion from enumeration type 'enum XML_Status' to different enumeration type 'enum XML_Error' [-Wenum-conversion]
result = XML_STATUS_SUSPENDED;
~ ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/expat.h:51:30: note: expanded from macro 'XML_STATUS_SUSPENDED'
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
^~~~~~~~~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1578:18: warning: implicit conversion from enumeration type 'enum XML_Status' to different enumeration type 'enum XML_Error' [-Wenum-conversion]
result = XML_STATUS_OK;
~ ^~~~~~~~~~~~~
extlibs/expat/expat.h:49:23: note: expanded from macro 'XML_STATUS_OK'
#define XML_STATUS_OK XML_STATUS_OK
^~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1608:12: warning: implicit conversion from enumeration type 'enum XML_Error' to different enumeration type 'enum XML_Status' [-Wenum-conversion]
return result;
~~~~~~ ^~~~~~
3 warnings generated.
Compiling obj/expat/xmlrole.o...
Compiling obj/expat/xmltok.o...
Compiling obj/squirrel/sqapi.o...
Compiling obj/squirrel/sqbaselib.o...
Compiling obj/squirrel/sqfuncstate.o...
Compiling obj/squirrel/sqdebug.o...
Compiling obj/squirrel/sqlexer.o...
Compiling obj/squirrel/sqobject.o...
Compiling obj/squirrel/sqcompiler.o...
Compiling obj/squirrel/sqstate.o...
Compiling obj/squirrel/sqtable.o...
Compiling obj/squirrel/sqmem.o...
Compiling obj/squirrel/sqvm.o...
Compiling obj/squirrel/sqclass.o...
Compiling obj/sqstdlib/sqstdblob.o...
Compiling obj/sqstdlib/sqstdio.o...
Compiling obj/sqstdlib/sqstdstream.o...
Compiling obj/sqstdlib/sqstdmath.o...
Compiling obj/sqstdlib/sqstdstring.o...
Compiling obj/sqstdlib/sqstdaux.o...
Compiling obj/sqstdlib/sqstdsystem.o...
Compiling obj/sqstdlib/sqstdrex.o...
Compiling obj/audiolib/ALCheck.o...
Compiling obj/audiolib/AudioDevice.o...
Compiling obj/audiolib/Listener.o...
Compiling obj/audiolib/SoundSource.o...
Compiling obj/audiolib/SoundStream.o...
Archiving obj/libexpat.a...
Archiving obj/libsquirrel.a...
Archiving obj/libsqstdlib.a...
Archiving obj/libaudio.a...
Compiling obj/fe_util_osx.o...
Compiling obj/main.o...
src/main.cpp:365:10: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
&& ( std::abs( sf::Joystick::getAxisPosition(
^
src/main.cpp:365:10: note: remove the call to 'abs' since unsigned values cannot be negative
&& ( std::abs( sf::Joystick::getAxisPosition(
^~~~~~~~
src/main.cpp:561:36: warning: 'capture' is deprecated [-Wdeprecated-declarations]
sf::Image sshot_img = window.capture();
^
/usr/local/include/SFML/Graphics/RenderWindow.hpp:140:27: note: 'capture' has been explicitly marked deprecated here
SFML_DEPRECATED Image capture() const;
^
2 warnings generated.
Creating executable: attract
/libsfml-window.2.4.dylib
/libsfml-system.2.4.dylib
/libsfml-system.2.4.dylib
/libsfml-system.2.4.dylib
...
created: /Users/keiljr/Projects/attract/attract-v2.3.0-12.dmg