cppcheck compilation fails with g++4.6.3 (#5929). Patch supplied by mavik1
This commit is contained in:
parent
6fecff8651
commit
fa42f554a8
|
@ -24,7 +24,7 @@
|
||||||
/* Emulate certain features of C++11 in a C++98-compatible way. */
|
/* Emulate certain features of C++11 in a C++98-compatible way. */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#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
|
// Null pointer literal
|
||||||
// Source: SC22/WG21/N2431 = J16/07-0301
|
// Source: SC22/WG21/N2431 = J16/07-0301
|
||||||
|
|
Loading…
Reference in New Issue