comparison windows-dev/Configure.py @ 600:9107ff0c5a63

Enable warning level 3 for MSVC-compatible builds (/W3)
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 10 Jan 2022 17:17:20 +0100
parents 91e74fb1ea90
children 8efdb6357428
comparison
equal deleted inserted replaced
599:1b56b3cd4395 600:9107ff0c5a63
278 ccflags.append("/MD") # link to dll runtime 278 ccflags.append("/MD") # link to dll runtime
279 #ccflags.append("/EHsc") # no C++ here 279 #ccflags.append("/EHsc") # no C++ here
280 ccflags.append("/Gy") # enable function level linking 280 ccflags.append("/Gy") # enable function level linking
281 ccflags.append("/GS") # enable the stack protector -fstack-protector 281 ccflags.append("/GS") # enable the stack protector -fstack-protector
282 ccflags.append("/O2") 282 ccflags.append("/O2")
283 ccflags.append("/W3")
283 284
284 # XXX TBD machine 285 # XXX TBD machine
285 if tool.clang: 286 if tool.clang:
286 ccflags.append("--target=x86_64-pc-windows-msvc") 287 ccflags.append("--target=x86_64-pc-windows-msvc")
287 else: 288 else: