mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-30 03:34:39 +00:00
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 <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4721)
This commit is contained in:
parent
3a63c0edab
commit
0d2394a8c0
@ -1281,7 +1281,7 @@ sub vms_info {
|
|||||||
inherit_from => [ "BASE_Windows" ],
|
inherit_from => [ "BASE_Windows" ],
|
||||||
template => 1,
|
template => 1,
|
||||||
cc => "cl",
|
cc => "cl",
|
||||||
cflags => "-W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE",
|
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",
|
||||||
defines => add(sub { my @defs = ();
|
defines => add(sub { my @defs = ();
|
||||||
unless ($disabled{"zlib-dynamic"}) {
|
unless ($disabled{"zlib-dynamic"}) {
|
||||||
my $zlib =
|
my $zlib =
|
||||||
@ -1380,6 +1380,7 @@ sub vms_info {
|
|||||||
# configure with 'perl Configure VC-WIN32 -DUNICODE -D_UNICODE'
|
# configure with 'perl Configure VC-WIN32 -DUNICODE -D_UNICODE'
|
||||||
inherit_from => [ "VC-noCE-common", asm("x86_asm"),
|
inherit_from => [ "VC-noCE-common", asm("x86_asm"),
|
||||||
sub { $disabled{shared} ? () : "uplink_common" } ],
|
sub { $disabled{shared} ? () : "uplink_common" } ],
|
||||||
|
cflags => add("-WX"),
|
||||||
as => sub { vc_win32_info()->{as} },
|
as => sub { vc_win32_info()->{as} },
|
||||||
asflags => sub { vc_win32_info()->{asflags} },
|
asflags => sub { vc_win32_info()->{asflags} },
|
||||||
asoutflag => sub { vc_win32_info()->{asoutflag} },
|
asoutflag => sub { vc_win32_info()->{asoutflag} },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user