Skip to content
Snippets Groups Projects
Commit c9990458 authored by Aimee Linden's avatar Aimee Linden
Browse files

EXT-7005 : Kill unhelpful 'Deprecated conversion from string to char *'...

EXT-7005 : Kill unhelpful 'Deprecated conversion from string to char *' warnings from fmod_errors.h when building with GCC >=4.2 on Darwin

Apply -Wno-write-strings compile flag to llaudioengine_fmod.cpp and llstreamingaudio_fmod.cpp on Darwin as it was on Linux (Amen).
Removed unnecessary check for GCC >= 4.2 when applying this flag, as CXX_VERSION_NUMBER it used is only being generated in 00-Common.cmake on Linux at the moment and 4.0 understands -Wno-write-strings anyway.
parent e82ed4e8
No related branches found
No related tags found
No related merge requests found
......@@ -57,13 +57,11 @@ if (FMOD)
llstreamingaudio_fmod.h
)
if (LINUX)
if (${CXX_VERSION_NUMBER} GREATER 419)
set_source_files_properties(llaudioengine_fmod.cpp
llstreamingaudio_fmod.cpp
COMPILE_FLAGS -Wno-write-strings)
endif (${CXX_VERSION_NUMBER} GREATER 419)
endif (LINUX)
if (LINUX OR DARWIN)
set_source_files_properties(llaudioengine_fmod.cpp
llstreamingaudio_fmod.cpp
COMPILE_FLAGS -Wno-write-strings)
endif (LINUX OR DARWIN)
endif (FMOD)
if (OPENAL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment