This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36626] New: traditional cast not recognized
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2008 02:29:26 -0000
- Subject: [Bug c++/36626] New: traditional cast not recognized
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This:
class a{
public:
static const signed long long int b = 1;
static const unsigned long long int c = unsigned long long int(b);
};
gets you this:
~/ootbc/asm$ g++ foo.cc
foo.cc:4: error: expected primary-expression before ?unsigned?
foo.cc:4: error: expected ?;? before ?unsigned?
--
Summary: traditional cast not recognized
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36626