New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Compile Errors #390

Open
estefan3112 opened this Issue Nov 29, 2017 · 17 comments

Comments

Projects
None yet
2 participants
@estefan3112

estefan3112 commented Nov 29, 2017

So here is what happens when I try to compile Attract Mode under MacOS Sierra - is this helpful?
Cheers, Stefan

Stefans-iMac:tmp stefan$ git clone http://github.com/mickelson/attract attract
Cloning into 'attract'...
warning: redirecting to https://github.com/mickelson/attract/
remote: Counting objects: 6266, done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 6266 (delta 75), reused 99 (delta 44), pack-reused 6112
Receiving objects: 100% (6266/6266), 10.13 MiB | 1.63 MiB/s, done.
Resolving deltas: 100% (4319/4319), done.

Stefans-iMac:attract stefan$ make
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
mkdir -p obj
Compiling obj/fe_base.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:16:
extlibs/gameswf/base/utility.h:86:14: error: 'fmin' is missing exception specification 'throw()'
inline float fmin(float a, float b) { if (a < b) return a; else return b; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1182:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __lcpp_x, float __lcpp_y) _NOEXCEPT {return ::fminf(__lcpp_x, __lcpp_y);}
^
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:16:
extlibs/gameswf/base/utility.h:87:14: error: 'fmax' is missing exception specification 'throw()'
inline float fmax(float a, float b) { if (a < b) return b; else return a; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1161:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fmax(float __lcpp_x, float __lcpp_y) _NOEXCEPT {return ::fmaxf(__lcpp_x, __lcpp_y);}
^
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:16:
extlibs/gameswf/base/utility.h:105:14: error: 'log2' is missing exception specification 'throw()'
inline float log2(float f) { return logf(f) / LN_2; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1274:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXCEPT {return ::log2f(__lcpp_x);}
^
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/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 <unordered_map>

^

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

@mickelson

This comment has been minimized.

Show comment
Hide comment
@mickelson

mickelson Nov 30, 2017

Owner
Owner

mickelson commented Nov 30, 2017

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Nov 30, 2017

Here we are - I tried to paste all warnings and errors in bold. Many thanks!

Stefans-iMac:attract stefan$ make 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 -DUSE_SWRESAMPLE -DNO_SWF
mkdir -p obj
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/scraper_net.o...
Compiling obj/fe_config.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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
/usr/local/include/SFML/Graphics/Text.hpp:285:5: note: 'getColor' has been explicitly marked deprecated here
SFML_DEPRECATED const Color& getColor() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.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:5: note: 'capture' has been explicitly marked deprecated here
SFML_DEPRECATED Image capture() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.
Compiling obj/fe_util_osx.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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:301:5: note: 'pkt_pts' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4943:1: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

9 warnings generated.
mkdir -p obj/expat
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...
Archiving obj/libexpat.a...
mkdir -p obj/squirrel
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...
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:147:85: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();}

^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:148:85: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:149:88: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:158:89: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:159:93: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:171:90: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:172:91: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:173:95: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:174:92: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:205:53: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);

^~~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:205:64: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:210:66: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(0) ^ __min) : type(0);
^
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^

extlibs/squirrel/squirrel/sqobject.h:131:21: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^

In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:210:86: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(0) ^ __min) : type(0);
^

extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:218:89: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type(0);}
^

extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:219:93: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:231:90: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:232:91: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:233:95: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:234:92: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [obj/squirrel/sqvm.o] Error 1

estefan3112 commented Nov 30, 2017

Here we are - I tried to paste all warnings and errors in bold. Many thanks!

Stefans-iMac:attract stefan$ make 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 -DUSE_SWRESAMPLE -DNO_SWF
mkdir -p obj
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/scraper_net.o...
Compiling obj/fe_config.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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
/usr/local/include/SFML/Graphics/Text.hpp:285:5: note: 'getColor' has been explicitly marked deprecated here
SFML_DEPRECATED const Color& getColor() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.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:5: note: 'capture' has been explicitly marked deprecated here
SFML_DEPRECATED Image capture() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.
Compiling obj/fe_util_osx.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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:301:5: note: 'pkt_pts' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4943:1: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

9 warnings generated.
mkdir -p obj/expat
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...
Archiving obj/libexpat.a...
mkdir -p obj/squirrel
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...
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:147:85: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();}

^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:148:85: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:149:88: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:158:89: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:159:93: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:171:90: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:172:91: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:173:95: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:174:92: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();}
^
extlibs/squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:205:53: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);

^~~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:205:64: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:210:66: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(0) ^ __min) : type(0);
^
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^

extlibs/squirrel/squirrel/sqobject.h:131:21: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^

In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:210:86: error: member reference base type 'int'
is not a structure or union
static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(0) ^ __min) : type(0);
^

extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:218:89: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type(0);}
^

extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:219:93: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:231:90: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:232:91: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:233:95: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from extlibs/squirrel/squirrel/sqvm.cpp:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:310:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits:234:92: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type(0);}
^~~~~~~
extlibs/squirrel/squirrel/sqobject.h:131:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [obj/squirrel/sqvm.o] Error 1

@mickelson

This comment has been minimized.

Show comment
Hide comment
@mickelson

mickelson Dec 2, 2017

Owner

wow, ok
can you post what version of xcode you are using.
Also what c++ compiler it uses?
Try the output from the command 'c++ --version'

Owner

mickelson commented Dec 2, 2017

wow, ok
can you post what version of xcode you are using.
Also what c++ compiler it uses?
Try the output from the command 'c++ --version'

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 2, 2017

Really happy to help because Attract Mode rocks so much!
Xcode 9.1 (9B55)
Stefans-iMac:attract stefan$ c++ --version
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Cheers, Stefan

estefan3112 commented Dec 2, 2017

Really happy to help because Attract Mode rocks so much!
Xcode 9.1 (9B55)
Stefans-iMac:attract stefan$ c++ --version
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Cheers, Stefan

@mickelson

This comment has been minimized.

Show comment
Hide comment
@mickelson

mickelson Dec 5, 2017

Owner

Could you try updating to the latest code on github and recompiling?

Owner

mickelson commented Dec 5, 2017

Could you try updating to the latest code on github and recompiling?

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 5, 2017

Great, the executable has landed and starts!
I copy paste the warnings just to be complete (only the warnings).
I guess that 'NO_SWF=1' will remain as necessary option and would not harm on MacOS.
So how to create a nice Mac Bundle now?
Cheers!

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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
1 warning generated.

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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
/usr/local/include/SFML/Graphics/Text.hpp:285:5: note: 'getColor' has been explicitly marked deprecated here
SFML_DEPRECATED const Color& getColor() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.

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:5: note: 'capture' has been explicitly marked deprecated here
SFML_DEPRECATED Image capture() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:301:5: note: 'pkt_pts' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4943:1: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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.

estefan3112 commented Dec 5, 2017

Great, the executable has landed and starts!
I copy paste the warnings just to be complete (only the warnings).
I guess that 'NO_SWF=1' will remain as necessary option and would not harm on MacOS.
So how to create a nice Mac Bundle now?
Cheers!

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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setParameter' has been explicitly marked deprecated here
SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
1 warning generated.

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:5: note: 'setColor' has been explicitly marked deprecated here
SFML_DEPRECATED void setColor(const Color& color);
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
/usr/local/include/SFML/Graphics/Text.hpp:285:5: note: 'getColor' has been explicitly marked deprecated here
SFML_DEPRECATED const Color& getColor() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.

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:5: note: 'capture' has been explicitly marked deprecated here
SFML_DEPRECATED Image capture() const;
^
/usr/local/include/SFML/Config.hpp:186:45: note: expanded from macro 'SFML_DEPRECATED'
#define SFML_DEPRECATED attribute ((deprecated))
^
2 warnings generated.

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4992:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:301:5: note: 'pkt_pts' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:892:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:2693:5: note: 'refcounted_frames' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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:4943:1: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

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.

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 5, 2017

Oh, the Nevato Theme is not showing up. Is this due to the NO_SWF option???

estefan3112 commented Dec 5, 2017

Oh, the Nevato Theme is not showing up. Is this due to the NO_SWF option???

@mickelson

This comment has been minimized.

Show comment
Hide comment
@mickelson

mickelson Dec 5, 2017

Owner
Owner

mickelson commented Dec 5, 2017

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 5, 2017

There were some compile errors, which I will post during this working day. Very exiting stuff :-)

estefan3112 commented Dec 5, 2017

There were some compile errors, which I will post during this working day. Very exiting stuff :-)

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 5, 2017

So here are the compile errors with 'make':

Stefans-iMac:attract stefan$ make
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
mkdir -p obj
Compiling obj/fe_base.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:16:
extlibs/gameswf/base/utility.h:86:14: error: 'fmin' is missing exception specification 'throw()'
inline float fmin(float a, float b) { if (a < b) return a; else return b; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1182:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __lcpp_x, float __lcpp_y) _NOEXCEPT {return ::fminf(__lcpp_x, __lcpp_y);}
^
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:16:
extlibs/gameswf/base/utility.h:87:14: error: 'fmax' is missing exception specification 'throw()'
inline float fmax(float a, float b) { if (a < b) return b; else return a; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1161:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fmax(float __lcpp_x, float __lcpp_y) _NOEXCEPT {return ::fmaxf(__lcpp_x, __lcpp_y);}
^
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:16:
extlibs/gameswf/base/utility.h:105:14: error: 'log2' is missing exception specification 'throw()'
inline float log2(float f) { return logf(f) / LN_2; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1274:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXCEPT {return ::log2f(__lcpp_x);}
^
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/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 <unordered_map>

^

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

estefan3112 commented Dec 5, 2017

So here are the compile errors with 'make':

Stefans-iMac:attract stefan$ make
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
mkdir -p obj
Compiling obj/fe_base.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:16:
extlibs/gameswf/base/utility.h:86:14: error: 'fmin' is missing exception specification 'throw()'
inline float fmin(float a, float b) { if (a < b) return a; else return b; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1182:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fmin(float __lcpp_x, float __lcpp_y) _NOEXCEPT {return ::fminf(__lcpp_x, __lcpp_y);}
^
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:16:
extlibs/gameswf/base/utility.h:87:14: error: 'fmax' is missing exception specification 'throw()'
inline float fmax(float a, float b) { if (a < b) return b; else return a; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1161:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fmax(float __lcpp_x, float __lcpp_y) _NOEXCEPT {return ::fmaxf(__lcpp_x, __lcpp_y);}
^
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:16:
extlibs/gameswf/base/utility.h:105:14: error: 'log2' is missing exception specification 'throw()'
inline float log2(float f) { return logf(f) / LN_2; }
^
throw()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:1274:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXCEPT {return ::log2f(__lcpp_x);}
^
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/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 <unordered_map>

^

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

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 5, 2017

But the very good news is: Attract Mode is running nicely on my Mac with the compile option NO_SWF=1
For the time being I manually copied the binary into the existing OSX App (replaced the old bin), then I copied the newly compiled stuff from the config directory to .attract and migrated my personal settings and artwork to there. From my testing I can see that everything works. The enclosed screenshot shows version 2.3.0.13. A great moment :-)

img_5394

estefan3112 commented Dec 5, 2017

But the very good news is: Attract Mode is running nicely on my Mac with the compile option NO_SWF=1
For the time being I manually copied the binary into the existing OSX App (replaced the old bin), then I copied the newly compiled stuff from the config directory to .attract and migrated my personal settings and artwork to there. From my testing I can see that everything works. The enclosed screenshot shows version 2.3.0.13. A great moment :-)

img_5394

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 6, 2017

Thanks to the AM Forum, I did an unofficial MacOS dmg for testing (with NO_SWF=1):
http://forum.attractmode.org/index.php?topic=1983.30
Cheers!
Edit - since the forum is frequently offline, my blog entry with dmg link:
https://mameonmacs.blogspot.co.at/2017/12/attract-mode-23013-for-mac-unofficial.html

estefan3112 commented Dec 6, 2017

Thanks to the AM Forum, I did an unofficial MacOS dmg for testing (with NO_SWF=1):
http://forum.attractmode.org/index.php?topic=1983.30
Cheers!
Edit - since the forum is frequently offline, my blog entry with dmg link:
https://mameonmacs.blogspot.co.at/2017/12/attract-mode-23013-for-mac-unofficial.html

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Dec 20, 2017

The latest Commit #399 lets the code build under MacOS - with SWF. There are tons of warnings, shall I paste them? The Mac Bundle script still has the problems described in Issue #397 - but with the libraries installed via Homebrew and the Binary manually moved into the Bundle, AM 2.3.0.17 shows up. So either I close this issue here or you want to have a look into the warnings?
Cheers! Stefan

estefan3112 commented Dec 20, 2017

The latest Commit #399 lets the code build under MacOS - with SWF. There are tons of warnings, shall I paste them? The Mac Bundle script still has the problems described in Issue #397 - but with the libraries installed via Homebrew and the Binary manually moved into the Bundle, AM 2.3.0.17 shows up. So either I close this issue here or you want to have a look into the warnings?
Cheers! Stefan

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Jan 6, 2018

For the record: all warnings generated under MacOS High Sierra and a fresh Homebrew environment (just the relevant parts).

Compiling obj/fe_base.o...
In file included from extlibs/gameswf/base/container.h:73:
/Library/Developer/CommandLineTools/usr/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 <unordered_map>

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 generated.

Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x );
^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y );
^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y, z );
^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y, z, w );
^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, sf::Shader::CurrentTexture );
^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, *texture );
^
6 warnings generated.

Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
m_texts[i].setColor( c );
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
2 warnings generated.

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:561:36: warning: 'capture' is deprecated [-Wdeprecated-declarations]
sf::Image sshot_img = window.capture();
^
2 warnings generated.

Compiling obj/swf.o...
In file included from src/swf.cpp:26:
In file included from extlibs/gameswf/base/tu_file.h:18:
In file included from extlibs/gameswf/base/container.h:73:
/Library/Developer/CommandLineTools/usr/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 <unordered_map>

^

In file included from src/swf.cpp:27:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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 generated.

Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
codec_ctx->refcounted_frames = 1;
^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2( codec_ctx, raw_frame,
^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
codec_ctx->refcounted_frames = 1;
^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2( codec_ctx, raw_frame,
^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated [-Wdeprecated-declarations]
raw_frame->pts = raw_frame->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;
^
src/media.cpp:1075:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
m_audio->codec_ctx->refcounted_frames = 1;
^
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 );
^
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/gsbaselib/tu_gc_singlethreaded_marksweep.o...
In file included from extlibs/gameswf/base/tu_gc_singlethreaded_marksweep.cpp:9:
In file included from extlibs/gameswf/base/tu_gc_singlethreaded_marksweep.h:33:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_array.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_array.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_array.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_boolean.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_boolean.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_boolean.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_broadcaster.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_broadcaster.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_broadcaster.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_class.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_class.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_class.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_color.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_color.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_color.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_color_transform.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_color_transform.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_transform.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_date.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_date.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_date.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_event.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_event.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_event.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_flash.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_flash.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_flash.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_geom.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_geom.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_geom.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_global.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_global.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_key.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_key.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_key.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_loadvars.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_loadvars.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_loadvars.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_math.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_math.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_math.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_matrix.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_matrix.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_matrix.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_mcloader.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mcloader.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mcloader.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_mouse.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mouse.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_render.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_mouse_event.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mouse_event.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mouse_event.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_netconnection.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netconnection.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netconnection.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_netstream.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netstream.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netstream.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_number.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_number.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_number.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_point.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_point.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_point.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_selection.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_selection.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_selection.h:15:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_sharedobject.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sharedobject.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sharedobject.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_sound.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sound.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sound.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_string.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_string.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_string.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_textformat.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_textformat.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_textformat.h:15:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_transform.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_transform.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_transform.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_xml.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_xml.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_log.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_xmlsocket.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_xmlsocket.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_xmlsocket.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_abc.o...
In file included from extlibs/gameswf/gameswf/gameswf_abc.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_abc.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_action.o...
In file included from extlibs/gameswf/gameswf/gameswf_action.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_avm2.o...
In file included from extlibs/gameswf/gameswf/gameswf_avm2.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_avm2.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_function.h:11:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_sprite.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_sprite.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_button.o...
In file included from extlibs/gameswf/gameswf/gameswf_button.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_button.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_canvas.o...
In file included from extlibs/gameswf/gameswf/gameswf_canvas.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_canvas.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_shape.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_character.o...
In file included from extlibs/gameswf/gameswf/gameswf_character.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_character.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_disasm.o...
In file included from extlibs/gameswf/gameswf/gameswf_disasm.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_disasm.h:7:
In file included from extlibs/gameswf/gameswf/gameswf_abc.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
extlibs/gameswf/gameswf/gameswf_disasm.cpp:101:19: warning: passing an object that undergoes default argument promotion to 'va_start' has
undefined behavior [-Wvarargs]
va_start( arg, arg_format_0 );
^
extlibs/gameswf/gameswf/gameswf_disasm.cpp:95:60: note: parameter of type 'const gameswf::arg_format_avm2' is declared here
inst_info_avm2(const char* opname, const arg_format_avm2 arg_format_0, ...) :
^
2 warnings generated.
Compiling obj/gameswflib/gameswf_dlist.o...
In file included from extlibs/gameswf/gameswf/gameswf_dlist.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_dlist.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_environment.o...
In file included from extlibs/gameswf/gameswf/gameswf_environment.cpp:7:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_filters.o...
In file included from extlibs/gameswf/gameswf/gameswf_filters.cpp:8:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_font.o...
In file included from extlibs/gameswf/gameswf/gameswf_font.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_font.h:14:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_function.o...
In file included from extlibs/gameswf/gameswf/gameswf_function.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_function.h:11:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_impl.o...
In file included from extlibs/gameswf/gameswf/gameswf_impl.cpp:15:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_listener.o...
In file included from extlibs/gameswf/gameswf/gameswf_listener.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_listener.h:10:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_log.o...
In file included from extlibs/gameswf/gameswf/gameswf_log.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_log.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_morph2.o...
In file included from extlibs/gameswf/gameswf/gameswf_morph2.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_morph2.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_shape.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_movie_def.o...
In file included from extlibs/gameswf/gameswf/gameswf_movie_def.cpp:17:
In file included from extlibs/gameswf/gameswf/gameswf_font.h:14:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_object.o...
In file included from extlibs/gameswf/gameswf/gameswf_object.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_player.o...
In file included from extlibs/gameswf/gameswf/gameswf_player.cpp:12:
In file included from extlibs/gameswf/gameswf/gameswf_player.h:16:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_render.o...
In file included from extlibs/gameswf/gameswf/gameswf_render.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_render.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_root.o...
In file included from extlibs/gameswf/gameswf/gameswf_root.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_movie_def.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_shape.o...
In file included from extlibs/gameswf/gameswf/gameswf_shape.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_shape.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_sound.o...
In file included from extlibs/gameswf/gameswf/gameswf_sound.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_sound.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_sprite.o...
In file included from extlibs/gameswf/gameswf/gameswf_sprite.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
extlibs/gameswf/gameswf/gameswf_sprite.cpp:173:11: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
return NULL;
~~~~~~ ^~~~
false
2 warnings generated.
Compiling obj/gameswflib/gameswf_sprite_def.o...
In file included from extlibs/gameswf/gameswf/gameswf_sprite_def.cpp:29:
In file included from extlibs/gameswf/gameswf/gameswf_dlist.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_stream.o...
In file included from extlibs/gameswf/gameswf/gameswf_stream.cpp:12:
In file included from extlibs/gameswf/gameswf/gameswf_log.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_styles.o...
In file included from extlibs/gameswf/gameswf/gameswf_styles.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_tesselate.o...
In file included from extlibs/gameswf/gameswf/gameswf_tesselate.cpp:117:
In file included from extlibs/gameswf/gameswf/gameswf_tesselate.h:14:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_text.o...
In file included from extlibs/gameswf/gameswf/gameswf_text.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_text.h:15:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_tools.o...
In file included from extlibs/gameswf/gameswf/gameswf_tools.cpp:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_types.o...
In file included from extlibs/gameswf/gameswf/gameswf_types.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_value.o...
In file included from extlibs/gameswf/gameswf/gameswf_value.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_video_impl.o...
In file included from extlibs/gameswf/gameswf/gameswf_video_impl.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_video_impl.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_mutex.o...
In file included from extlibs/gameswf/gameswf/gameswf_mutex.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_mutex.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_sound_handler_openal.o...
In file included from extlibs/gameswf/gameswf/gameswf_sound_handler_openal.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_sound_handler_openal.h:15:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_fontlib.o...
In file included from extlibs/gameswf/gameswf/gameswf_fontlib.cpp:11:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_render_handler_ogl.o...
In file included from extlibs/gameswf/gameswf/gameswf_render_handler_ogl.cpp:24:
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;
^
1 warning generated.

estefan3112 commented Jan 6, 2018

For the record: all warnings generated under MacOS High Sierra and a fresh Homebrew environment (just the relevant parts).

Compiling obj/fe_base.o...
In file included from extlibs/gameswf/base/container.h:73:
/Library/Developer/CommandLineTools/usr/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 <unordered_map>

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 generated.

Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x );
^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y );
^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y, z );
^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, x, y, z, w );
^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, sf::Shader::CurrentTexture );
^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
m_shader.setParameter( name, *texture );
^
6 warnings generated.

Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
m_texts[i].setColor( c );
^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
return m_texts[0].getColor();
^
2 warnings generated.

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:561:36: warning: 'capture' is deprecated [-Wdeprecated-declarations]
sf::Image sshot_img = window.capture();
^
2 warnings generated.

Compiling obj/swf.o...
In file included from src/swf.cpp:26:
In file included from extlibs/gameswf/base/tu_file.h:18:
In file included from extlibs/gameswf/base/container.h:73:
/Library/Developer/CommandLineTools/usr/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 <unordered_map>

^

In file included from src/swf.cpp:27:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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 generated.

Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
codec_ctx->refcounted_frames = 1;
^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2( codec_ctx, raw_frame,
^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
codec_ctx->refcounted_frames = 1;
^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2( codec_ctx, raw_frame,
^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated [-Wdeprecated-declarations]
raw_frame->pts = raw_frame->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;
^
src/media.cpp:1075:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
m_audio->codec_ctx->refcounted_frames = 1;
^
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 );
^
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/gsbaselib/tu_gc_singlethreaded_marksweep.o...
In file included from extlibs/gameswf/base/tu_gc_singlethreaded_marksweep.cpp:9:
In file included from extlibs/gameswf/base/tu_gc_singlethreaded_marksweep.h:33:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_array.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_array.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_array.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_boolean.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_boolean.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_boolean.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_broadcaster.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_broadcaster.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_broadcaster.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_class.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_class.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_class.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_color.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_color.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_color.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_color_transform.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_color_transform.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_transform.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_date.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_date.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_date.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_event.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_event.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_event.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_flash.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_flash.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_flash.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_geom.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_geom.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_geom.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_global.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_global.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_key.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_key.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_key.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_loadvars.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_loadvars.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_loadvars.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_math.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_math.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_math.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_matrix.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_matrix.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_matrix.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_mcloader.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mcloader.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mcloader.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_mouse.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mouse.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_render.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_mouse_event.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mouse_event.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_mouse_event.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_netconnection.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netconnection.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netconnection.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_netstream.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netstream.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_netstream.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_number.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_number.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_number.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_point.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_point.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_point.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.

Compiling obj/gameswflib/gameswf_as_classes/as_selection.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_selection.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_selection.h:15:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_sharedobject.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sharedobject.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sharedobject.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_sound.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sound.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_sound.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_string.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_string.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_string.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_textformat.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_textformat.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_textformat.h:15:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_transform.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_transform.cpp:7:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_transform.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_xml.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_xml.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_log.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_classes/as_xmlsocket.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_xmlsocket.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_as_classes/as_xmlsocket.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_abc.o...
In file included from extlibs/gameswf/gameswf/gameswf_abc.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_abc.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_action.o...
In file included from extlibs/gameswf/gameswf/gameswf_action.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_avm2.o...
In file included from extlibs/gameswf/gameswf/gameswf_avm2.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_avm2.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_function.h:11:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_as_sprite.o...
In file included from extlibs/gameswf/gameswf/gameswf_as_sprite.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_button.o...
In file included from extlibs/gameswf/gameswf/gameswf_button.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_button.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_canvas.o...
In file included from extlibs/gameswf/gameswf/gameswf_canvas.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_canvas.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_shape.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_character.o...
In file included from extlibs/gameswf/gameswf/gameswf_character.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_character.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_disasm.o...
In file included from extlibs/gameswf/gameswf/gameswf_disasm.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_disasm.h:7:
In file included from extlibs/gameswf/gameswf/gameswf_abc.h:11:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
extlibs/gameswf/gameswf/gameswf_disasm.cpp:101:19: warning: passing an object that undergoes default argument promotion to 'va_start' has
undefined behavior [-Wvarargs]
va_start( arg, arg_format_0 );
^
extlibs/gameswf/gameswf/gameswf_disasm.cpp:95:60: note: parameter of type 'const gameswf::arg_format_avm2' is declared here
inst_info_avm2(const char* opname, const arg_format_avm2 arg_format_0, ...) :
^
2 warnings generated.
Compiling obj/gameswflib/gameswf_dlist.o...
In file included from extlibs/gameswf/gameswf/gameswf_dlist.cpp:10:
In file included from extlibs/gameswf/gameswf/gameswf_dlist.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_environment.o...
In file included from extlibs/gameswf/gameswf/gameswf_environment.cpp:7:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_filters.o...
In file included from extlibs/gameswf/gameswf/gameswf_filters.cpp:8:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_font.o...
In file included from extlibs/gameswf/gameswf/gameswf_font.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_font.h:14:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_function.o...
In file included from extlibs/gameswf/gameswf/gameswf_function.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_function.h:11:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_impl.o...
In file included from extlibs/gameswf/gameswf/gameswf_impl.cpp:15:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_listener.o...
In file included from extlibs/gameswf/gameswf/gameswf_listener.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_listener.h:10:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_log.o...
In file included from extlibs/gameswf/gameswf/gameswf_log.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_log.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_morph2.o...
In file included from extlibs/gameswf/gameswf/gameswf_morph2.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_morph2.h:9:
In file included from extlibs/gameswf/gameswf/gameswf_shape.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_movie_def.o...
In file included from extlibs/gameswf/gameswf/gameswf_movie_def.cpp:17:
In file included from extlibs/gameswf/gameswf/gameswf_font.h:14:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_object.o...
In file included from extlibs/gameswf/gameswf/gameswf_object.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_player.o...
In file included from extlibs/gameswf/gameswf/gameswf_player.cpp:12:
In file included from extlibs/gameswf/gameswf/gameswf_player.h:16:
In file included from extlibs/gameswf/gameswf/gameswf_object.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_render.o...
In file included from extlibs/gameswf/gameswf/gameswf_render.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_render.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_root.o...
In file included from extlibs/gameswf/gameswf/gameswf_root.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_movie_def.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_shape.o...
In file included from extlibs/gameswf/gameswf/gameswf_shape.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_shape.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_sound.o...
In file included from extlibs/gameswf/gameswf/gameswf_sound.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_sound.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_sprite.o...
In file included from extlibs/gameswf/gameswf/gameswf_sprite.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_action.h:12:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
extlibs/gameswf/gameswf/gameswf_sprite.cpp:173:11: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
return NULL;
~~~~~~ ^~~~
false
2 warnings generated.
Compiling obj/gameswflib/gameswf_sprite_def.o...
In file included from extlibs/gameswf/gameswf/gameswf_sprite_def.cpp:29:
In file included from extlibs/gameswf/gameswf/gameswf_dlist.h:14:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_stream.o...
In file included from extlibs/gameswf/gameswf/gameswf_stream.cpp:12:
In file included from extlibs/gameswf/gameswf/gameswf_log.h:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_styles.o...
In file included from extlibs/gameswf/gameswf/gameswf_styles.cpp:9:
In file included from extlibs/gameswf/gameswf/gameswf_styles.h:13:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_tesselate.o...
In file included from extlibs/gameswf/gameswf/gameswf_tesselate.cpp:117:
In file included from extlibs/gameswf/gameswf/gameswf_tesselate.h:14:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_text.o...
In file included from extlibs/gameswf/gameswf/gameswf_text.cpp:13:
In file included from extlibs/gameswf/gameswf/gameswf_text.h:15:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_tools.o...
In file included from extlibs/gameswf/gameswf/gameswf_tools.cpp:12:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_types.o...
In file included from extlibs/gameswf/gameswf/gameswf_types.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_value.o...
In file included from extlibs/gameswf/gameswf/gameswf_value.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_value.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_video_impl.o...
In file included from extlibs/gameswf/gameswf/gameswf_video_impl.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_video_impl.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_impl.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_mutex.o...
In file included from extlibs/gameswf/gameswf/gameswf_mutex.cpp:6:
In file included from extlibs/gameswf/gameswf/gameswf_mutex.h:10:
In file included from extlibs/gameswf/gameswf/gameswf_types.h:13:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_sound_handler_openal.o...
In file included from extlibs/gameswf/gameswf/gameswf_sound_handler_openal.cpp:8:
In file included from extlibs/gameswf/gameswf/gameswf_sound_handler_openal.h:15:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_fontlib.o...
In file included from extlibs/gameswf/gameswf/gameswf_fontlib.cpp:11:
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;
^
1 warning generated.
Compiling obj/gameswflib/gameswf_render_handler_ogl.o...
In file included from extlibs/gameswf/gameswf/gameswf_render_handler_ogl.cpp:24:
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;
^
1 warning generated.

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Jan 12, 2018

I finally found the very last error that prevents a fully functioning Mac Bundle: The sfml libraries created by the script do not work - if I manually replace them with the libraries from the Homebrew repository in /usr/local, Attract Mode starts. Which means that I manually copied these libraries into Attract Mode App Bundle/libs:
libsfml-graphics.2.4.2.dylib
libsfml-network.2.4.2.dylib
libsfml-system.2.4.2.dylib
libsfml-window.2.4.2.dylib
Now Attract Mode starts without reliance to the external libraries.
So how can this problem now be triggered, so that the bundle creation is finally working again? Do I have to check dylib by dylib whether it is all libraries or only single libraries that do not work?
I will put another official dmg for Mac User testing online and report any irregularities.

estefan3112 commented Jan 12, 2018

I finally found the very last error that prevents a fully functioning Mac Bundle: The sfml libraries created by the script do not work - if I manually replace them with the libraries from the Homebrew repository in /usr/local, Attract Mode starts. Which means that I manually copied these libraries into Attract Mode App Bundle/libs:
libsfml-graphics.2.4.2.dylib
libsfml-network.2.4.2.dylib
libsfml-system.2.4.2.dylib
libsfml-window.2.4.2.dylib
Now Attract Mode starts without reliance to the external libraries.
So how can this problem now be triggered, so that the bundle creation is finally working again? Do I have to check dylib by dylib whether it is all libraries or only single libraries that do not work?
I will put another official dmg for Mac User testing online and report any irregularities.

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Jan 13, 2018

Sorry, too fast - sfml is still not properly implemented into the bundle.

estefan3112 commented Jan 13, 2018

Sorry, too fast - sfml is still not properly implemented into the bundle.

@estefan3112

This comment has been minimized.

Show comment
Hide comment
@estefan3112

estefan3112 Jan 14, 2018

After new linking of the dylibs, ./launch.sh produces a segmentation fault 11 with the following warnings - bug? So the binary works prior to linking, but fails after linking into the bundled libraries.

stefan$ ./launch.sh

objc[10856]: Class SFApplication is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf1f40) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063df40). One of the two will be used. Which one is undefined.

objc[10856]: Class SFApplicationDelegate is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf1fb8) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063dfb8). One of the two will be used. Which one is undefined.
objc[10856]: Class SFOpenGLView is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf1fe0) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063dfe0). One of the two will be used. Which one is undefined.
objc[10856]: Class SFSilentResponder is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf2058) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e058). One of the two will be used. Which one is undefined.
objc[10856]: Class SFWindow is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf20a8) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e0a8). One of the two will be used. Which one is undefined.
objc[10856]: Class SFBlackView is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf20f8) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e0f8). One of the two will be used. Which one is undefined.
objc[10856]: Class SFWindowController is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf2120) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e120). One of the two will be used. Which one is undefined.
objc[10856]: Class SFViewController is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf2170) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e170). One of the two will be used. Which one is undefined.

  • /Users/stefan/.attract/
    Attract-Mode v2.3.0-28 (OSX, SFML 2.4 +FontConfig +SWF)
    avcodec 57.107.100 / avformat 57.83.100 / swscale 4.8.100 / swresample 2.9.100

Config: /Users/stefan/.attract/attract.cfg

*** Initializing display: 'Arcade'

  • Loaded master romlist 'mame' in 307 ms (34507 entries kept, 0 discarded)
  • Constructed 2 filters in 3 ms (69014 comparisons)
    ./launch.sh: line 3: 10856 Segmentation fault: 11 ./attract

estefan3112 commented Jan 14, 2018

After new linking of the dylibs, ./launch.sh produces a segmentation fault 11 with the following warnings - bug? So the binary works prior to linking, but fails after linking into the bundled libraries.

stefan$ ./launch.sh

objc[10856]: Class SFApplication is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf1f40) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063df40). One of the two will be used. Which one is undefined.

objc[10856]: Class SFApplicationDelegate is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf1fb8) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063dfb8). One of the two will be used. Which one is undefined.
objc[10856]: Class SFOpenGLView is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf1fe0) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063dfe0). One of the two will be used. Which one is undefined.
objc[10856]: Class SFSilentResponder is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf2058) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e058). One of the two will be used. Which one is undefined.
objc[10856]: Class SFWindow is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf20a8) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e0a8). One of the two will be used. Which one is undefined.
objc[10856]: Class SFBlackView is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf20f8) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e0f8). One of the two will be used. Which one is undefined.
objc[10856]: Class SFWindowController is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf2120) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e120). One of the two will be used. Which one is undefined.
objc[10856]: Class SFViewController is implemented in both /usr/local/lib/libsfml-window.2.4.dylib (0x101cf2170) and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib (0x10063e170). One of the two will be used. Which one is undefined.

  • /Users/stefan/.attract/
    Attract-Mode v2.3.0-28 (OSX, SFML 2.4 +FontConfig +SWF)
    avcodec 57.107.100 / avformat 57.83.100 / swscale 4.8.100 / swresample 2.9.100

Config: /Users/stefan/.attract/attract.cfg

*** Initializing display: 'Arcade'

  • Loaded master romlist 'mame' in 307 ms (34507 entries kept, 0 discarded)
  • Constructed 2 filters in 3 ms (69014 comparisons)
    ./launch.sh: line 3: 10856 Segmentation fault: 11 ./attract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment