Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d2394a

Browse files
author
Andy Polyakov
committed
Configurations/10-main.conf: add back /WX to VC-WIN32.
We had /WX (treat warnings as errors) in VC-WIN32 for long time. At some point it was somehow omitted. It's argued that it allows to keep better focus on new code, which motivates the comeback... Reviewed-by: Rich Salz <[email protected]> (Merged from openssl#4721)
1 parent 3a63c0e commit 0d2394a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Configurations/10-main.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ sub vms_info {
12811281
inherit_from => [ "BASE_Windows" ],
12821282
template => 1,
12831283
cc => "cl",
1284-
cflags => "-W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE",
1284+
cflags => "-W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -D_WINSOCK_DEPRECATED_NO_WARNINGS",
12851285
defines => add(sub { my @defs = ();
12861286
unless ($disabled{"zlib-dynamic"}) {
12871287
my $zlib =
@@ -1380,6 +1380,7 @@ sub vms_info {
13801380
# configure with 'perl Configure VC-WIN32 -DUNICODE -D_UNICODE'
13811381
inherit_from => [ "VC-noCE-common", asm("x86_asm"),
13821382
sub { $disabled{shared} ? () : "uplink_common" } ],
1383+
cflags => add("-WX"),
13831384
as => sub { vc_win32_info()->{as} },
13841385
asflags => sub { vc_win32_info()->{asflags} },
13851386
asoutflag => sub { vc_win32_info()->{asoutflag} },

0 commit comments

Comments
 (0)