This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25721] New: fails to recognize cast to "long long"
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2006 09:38:53 -0000
- Subject: [Bug c++/25721] New: fails to recognize cast to "long long"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The code:
void f(int i){}
int main() {
f(long(3));
f(long long(3));
}
gets you
~/ootbc/asm$ g++ foo.cc
foo.cc: In function `int main()':
foo.cc:4: error: expected primary-expression before "long"
--
Summary: fails to recognize cast to "long long"
Product: gcc
Version: 3.4.0
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=25721