Hi John,

On 2012.09.26 16:49, John Chen wrote:
> 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?

This seems to be related to the use of interface, and which remember we 
found an issue with a couple of years ago on the libusb mailing list.

Eventually we came to the conclusion that we would steer away from using 
interface in the APIs when we have a change to upgrade them, which is 
actually a process we are trying to kick off now.

I'll try to dig up the old issue when I have a chance (unless someone 
can beat me to it).

Regards,

/Pete

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
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