mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00:00
wscript: error on implicit function declaration by default on any build type. Remove redutant Options import.
This commit is contained in:
parent
245533defa
commit
908082097f
4
wscript
4
wscript
@ -3,7 +3,7 @@
|
|||||||
# a1batross, mittorn, 2018
|
# a1batross, mittorn, 2018
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from waflib import Logs, Options
|
from waflib import Logs
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ def configure(conf):
|
|||||||
compiler_c_cxx_flags = {
|
compiler_c_cxx_flags = {
|
||||||
'common': {
|
'common': {
|
||||||
'msvc': ['/D_USING_V110_SDK71_'],
|
'msvc': ['/D_USING_V110_SDK71_'],
|
||||||
'default': ['-g']
|
'default': ['-g', '-Werror=implicit-function-declaration']
|
||||||
},
|
},
|
||||||
'release': {
|
'release': {
|
||||||
'msvc': ['/Zi', '/O2'],
|
'msvc': ['/Zi', '/O2'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user