diff --git a/lib/jkqtplotter.pri b/lib/jkqtplotter.pri index 525bf47bc2..9f9840122b 100644 --- a/lib/jkqtplotter.pri +++ b/lib/jkqtplotter.pri @@ -5,6 +5,9 @@ QMAKE_CXXFLAGS += /EHsc # To enable M_PI, M_E,... 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 \