On Friday 2013-06-07 10:35, Thomas Jarosch wrote: >> -#include <stdio.h> >> -#include <stdint.h> >> +#ifdef __cplusplus >> +# include <cstdio> >> +# include <cstdint> >> +#else >> +# include <stdbool.h> /* not in C++ */ >> +# include <stdio.h> >> +# include <stdint.h> >> +#endif > >The header "<cstdint>" is part of the C++11 standard. >(http://www.cplusplus.com/reference/cstdint/) > >g++ forces you to enable C++11 mode if you want to use it. >Tested with g++ (GCC) 4.4.4. > >Do we really need this? It compiles fine without >the special headers inside the __cplusplus part. >Pablo asked the same back in 2010 ;) Add an extra condition: #if defined(__cplusplus) && __cplusplus >= 201100L -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html