Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 281543 | Differences between
and this patch

Collapse All | Expand All

(-)SConstruct.orig (-1 / +1 lines)
Lines 88-94 Link Here
88
if env['CCVERSION'] < '4.2.0':
88
if env['CCVERSION'] < '4.2.0':
89
    env['CCFLAGS'] += ['-Wno-pragmas']
89
    env['CCFLAGS'] += ['-Wno-pragmas']
90
if env['CCVERSION'] >= '4.3.0':
90
if env['CCVERSION'] >= '4.3.0':
91
    env['CCFLAGS'] += ['-Wno-array-bounds', '-Wno-unused-result']
91
    env['CCFLAGS'] += ['-Wno-array-bounds']
92
92
93
env['CPPDEFINES'] = []
93
env['CPPDEFINES'] = []
94
if env['flavor'] == 'debug':
94
if env['flavor'] == 'debug':
(-)CMakeLists.txt.orig (-1 / +1 lines)
Lines 44-50 Link Here
44
# corresponding compiler warnings if the compiler supports doing so.
44
# corresponding compiler warnings if the compiler supports doing so.
45
CHECK_CXX_COMPILER_FLAG(-Wno-unused-result NO_UNUSED_RESULT)
45
CHECK_CXX_COMPILER_FLAG(-Wno-unused-result NO_UNUSED_RESULT)
46
if(NO_UNUSED_RESULT)
46
if(NO_UNUSED_RESULT)
47
	add_definitions(-Wno-unused-result)
47
#	add_definitions(-Wno-unused-result)
48
endif(NO_UNUSED_RESULT)
48
endif(NO_UNUSED_RESULT)
49
49
50
CHECK_CXX_COMPILER_FLAG(-fvisibility-inlines-hidden VISIBILITY_INLINES_HIDDEN)
50
CHECK_CXX_COMPILER_FLAG(-fvisibility-inlines-hidden VISIBILITY_INLINES_HIDDEN)

Return to bug 281543