This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ and _DecimalXX types
- From: Roman Kononov <roman at binarylife dot net>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 11 Jan 2010 10:24:08 -0600
- Subject: g++ and _DecimalXX types
#g++ --version | head -1
g++ (GCC) 4.4.3 20091228 (prerelease)
#cat test.cc
typedef _Decimal32 my_type;
#gcc -c test.cc
#g++ -c test.cc
test.cc:1: error: '_Decimal32' does not name a type
G++ is unfamiliar with the _DecimalXX types. Is it a "feature", bug or lack
of development?
#cat test.cc
typedef __decltype(0.0DF) my_type;
my_type foo(my_type v) { return v; }
#g++ -c test.cc
test.cc:2: internal compiler error: in write_builtin_type, at cp/mangle.c:1855
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The same question.
Thanks :)