#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 :)