mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 13:24:05 +00:00
opt: suppress warning C4267 on Windows
This commit is contained in:
parent
2b72e14b55
commit
d551d120b8
|
@ -142,8 +142,8 @@ win32 {
|
|||
DEFINES += NOMINMAX __WIN64
|
||||
}
|
||||
LIBS += -L$${PWD}/winlibs/lib/msvc
|
||||
# silence the warning C4290: C++ exception specification ignored
|
||||
QMAKE_CXXFLAGS += /wd4290 /Zc:__cplusplus /std:c++17 /permissive-
|
||||
# silence the warning C4290: C++ exception specification ignored,C4267 size_t to const T , lost data.
|
||||
QMAKE_CXXFLAGS += /wd4290 /wd4267 /Zc:__cplusplus /std:c++17 /permissive-
|
||||
# QMAKE_LFLAGS_RELEASE += /OPT:REF /OPT:ICF
|
||||
|
||||
# QMAKE_CXXFLAGS_RELEASE += /GL # slows down the linking significantly
|
||||
|
|
Loading…
Reference in a new issue