[Bug bootstrap/57020] New: error: expected expression before ‘?=)=?UTF-8?Q?’ token
aversa at email dot arizona.edu
gcc-bugzilla@gcc.gnu.org
Sun Apr 21 06:57:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57020
Bug #: 57020
Summary: error: expected expression before ‘)’ token
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: aversa@email.arizona.edu
Created attachment 29908
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29908
full source file
I get this error:
elist.h:184:10: error: expected expression before ‘)’ token
((type *)((char *)(ptr)-(intptr_t)(&((type *)0)->member)))
^
Full code snippet:
#define list_entry(ptr, type, member) \
((type *)((char *)(ptr)-(intptr_t)(&((type *)0)->member)))
More information about the Gcc-bugs
mailing list