diff options
-rw-r--r-- | intern/cycles/SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/cycles/SConscript b/intern/cycles/SConscript index 893ad09c46b..532238b9d7e 100644 --- a/intern/cycles/SConscript +++ b/intern/cycles/SConscript @@ -73,8 +73,10 @@ else: cxxflags.append('-ffast-math'.split()) # Warnings -if env['C_COMPILER_ID'] == 'gcc': - cxxflags.append(['-Werror=float-conversion']) +# XXX Not supported by gcc < 4.9, since we do not have any 'supported flags' test as in cmake, +# simpler to comment for now. +#if env['C_COMPILER_ID'] == 'gcc': +# cxxflags.append(['-Werror=float-conversion']) if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): incs.append(env['BF_PTHREADS_INC']) |