Package: libusb-dev
Version: 2:0.1.10a-9.sarge.1

When I try the following, it fail to compile:

  echo '#include <usb.h>' > usbtest.c ; cc -ansi -c usbtest.c

I get lots of errors, the first of them are:

In file included from usbtest.c:1:
/usr/include/usb.h:66: error: syntax error before "u_int8_t"
/usr/include/usb.h:72: error: syntax error before "u_int8_t"
/usr/include/usb.h:74: error: syntax error before "wData"
/usr/include/usb.h:75: error: syntax error before '}' token
/usr/include/usb.h:79: error: syntax error before "u_int8_t"

This problem make it impossible to use <usb.h> with programs compiled
with the -ansi GCC flag, making it a lot harder to write ANSI C
compilant programs.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libusb-dev depends on:
ii  libc6-dev            2.3.2.ds1-22        GNU C Library: Development Librari
ii  libusb-0.1-4         2:0.1.10a-9.sarge.1 userspace USB programming library

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to