[Bug 715838] Re: cstdint can only be included when using -std=gnu++0x flag for g++
Launchpad Bug Tracker
715838 at bugs.launchpad.net
Sun Apr 28 09:20:14 UTC 2013
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gcc-4.4 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/715838
Title:
cstdint can only be included when using -std=gnu++0x flag for g++
Status in “gcc-4.4” package in Ubuntu:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/715838/+subscriptions
More information about the foundations-bugs
mailing list