Public bug reported:
Binary package hint: libstdc++6-4.4-dev
/usr/include/c++/4.4/cstdint contains:
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# include <c++0x_warning.h>
#endif
So when including cstdint and running g++ with default settings you get the
following error:
In file included from /usr/include/c++/4.4/cstdint:35,
...
/usr/include/c++/4.4/c++0x_warning.h:31: error: #error This file requires
compiler and library support for the upcoming ISO C++ standard, C++0x. This
support is currently experimental, and must be enabled with the -std=c++0x or
-std=gnu++0x compiler options.
This may be an upstream bug for the GCC people
** Affects: gcc-4.4 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/715838
Title:
cstdint can only be included when using -std=gnu++0x flag for g++
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs