Comment out scons '-Werror=float-conversion' for Cycles for now.

This option is only available in gcc >= 4.9, and we do not have a fancy helper in scons
to check availability of a flag...
This commit is contained in:
Bastien Montagne 2014-05-03 11:08:27 +02:00
parent 392d5de0aa
commit c7612d68b2

@ -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'])