On Sun, Mar 3, 2013 at 6:55 AM, Wander Lairson Costa <wander.lair...@gmail.com> wrote: > 2013/3/2 Xiaofan Chen <xiaof...@gmail.com>: >>> [1] https://github.com/walac/isochronous >>> >>> [2] https://github.com/walac/bmfw >> >> I am trying to build the isochronous test program at [1] under Mac OS >> X but it failed. How to sort out the issue with strchrnul()? > > I just commited a patch that should fix this. Please pull and trying > to build again.
Thanks. Now it is okay. mymacmini:isochronous xiaofanc$ make cc -g3 -Wall -Wextra -std=c99 -D_GNU_SOURCE=1 -D _POSIX_C_SOURCE=199309L -I/usr/local/Cellar/libusb/1.0.9/include/libusb-1.0 -c -o iso.o iso.c iso.c:33:42: warning: implicit declaration of function 'basename' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, "%s(%zu): %s\n", basename(file), line,... ^ iso.c:33:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, "%s(%zu): %s\n", basename(file), line,... ~~ ^~~~~~~~~~~~~~ %d 2 warnings generated. cc -o iso-test iso.o -L/usr/local/Cellar/libusb/1.0.9/lib -lusb-1.0 -- Xiaofan ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel