On Wed, Sep 26, 2012 at 11:49 PM, John Chen <john...@gmail.com> wrote:
> Hi,
> Libusbx compiles just fine, but I got the following compile error using g++
> when compile my code (I have to include libusb.h)
>
> /media/sf_Source/ThirdParty/libusbx/libusb/libusb.h:634:33: error: expected
> unqualified-id before 'struct'
> /media/sf_Source/ThirdParty/libusbx/libusb/libusb.h:634:32: error: expected
> ';' at end of member declaration
> /media/sf_Source/ThirdParty/libusbx/libusb/libusb.h:634:42: error: expected
> identifier before ';' token
>
> any ideas?

What is the OS you are using and what is the gcc version
you are using?

Please post your include file. You may be libusb.h include
in the very beginning or in the last to see if it helps.



-- 
Xiaofan

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to