This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48185] New: if(struct ...)
- From: "lisp2d at lisp2d dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Mar 2011 15:57:54 +0000
- Subject: [Bug c++/48185] New: if(struct ...)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48185
Summary: if(struct ...)
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: lisp2d@lisp2d.net
Variable definition in structure if() can't receive type struct.
if(struct passwd*pwd(getpwuid(...)))return;
error: expected primary-expression before âstructâ
error: expected â)â before âstructâ