[Bug c++/25721] New: fails to recognize cast to "long long"
igodard at pacbell dot net
gcc-bugzilla@gcc.gnu.org
Mon Jan 9 09:38:00 GMT 2006
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
More information about the Gcc-bugs
mailing list