expected ',' or '...' before 'struct'

C:\wxWidgets-2.9.2\include/binder/Parcel.h:61:61: error: expected ',' or '...' before 'struct'
    status_t            writeInterfaceToken(const String16& interface);

this is because "interface" is defined as stuct in c:\mingw-4.6.1\include\basetyps.h:
1 # define _COM_interface struct
2 # ifndef __OBJC__
3 #  define interface _COM_interface
4 # endif


So I comment line 3.

你可能感兴趣的:(c,struct,String,include,interface)