MSVC: Define _CRT_NO_VA_START_VALIDATION

Defined to fix error: C2338: va_start argument must not have
 reference type and must not be parenthesized
This commit is contained in:
Razi Alavizadeh 2018-12-05 01:51:41 +03:30
parent 656e066d25
commit 559c5be2fe

View File

@ -5,6 +5,9 @@
QMAKE_CXXFLAGS += /EHsc QMAKE_CXXFLAGS += /EHsc
# To enable M_PI, M_E,... # To enable M_PI, M_E,...
DEFINES += _USE_MATH_DEFINES DEFINES += _USE_MATH_DEFINES
# To fix error: C2338: va_start argument must not
# have reference type and must not be parenthesized
DEFINES += _CRT_NO_VA_START_VALIDATION
} }
HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \ HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \