cppcheck compilation fails with g++4.6.3 (#5929). Patch supplied by mavik1

This commit is contained in:
Alexander Mai 2015-05-01 16:25:27 +02:00
parent 6fecff8651
commit fa42f554a8
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
/* Emulate certain features of C++11 in a C++98-compatible way. */
#ifdef __cplusplus
#if (__GNUC__ <= 4 && __GNUC_MINOR__ < 6 && !defined(__clang__)) || __cplusplus < 201103L
#if (__GNUC__ <= 4 && __GNUC_MINOR__ < 6 && !defined(__clang__)) || (!defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L)
// Null pointer literal
// Source: SC22/WG21/N2431 = J16/07-0301