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

来源:互联网 发布:淘宝联盟推荐理由 编辑:程序博客网 时间:2024/05/16 05:20
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.

原创粉丝点击