Hello all, I tried to compile the USB code from N&V June 2006 ( http://www.nutsvolts.com/media-files/113/USB.zip ) and got following messages:
D:\V\USB-test\PICHID>make sdcc -I. -I\include --vc --fstack --denable-peeps --optimize-goto --optimize-cmp --optimize-df --obanksel=9 --opt-code-s ize --fommit-frame-pointer -mpic16 -pp18f2550 -c main.c at 1: warning 117: unknown compiler option '--fstack' ignored sdcc -I. -I\include --vc --fstack --denable-peeps --optimize-goto --optimize-cmp --optimize-df --obanksel=9 --opt-code-s ize --fommit-frame-pointer -mpic16 -pp18f2550 -c usb.c at 1: warning 117: unknown compiler option '--fstack' ignored usb.c(352) : error 47: indirections to different types assignment from type 'unsigned-char const-[32] code-code* ' to type 'unsigned-char generic* ' usb.c(500) : error 47: indirections to different types assignment from type 'const-unsigned-char [4] code-code* ' to type 'unsigned-char generic* ' usb.c(502) : error 47: indirections to different types assignment from type 'const-unsigned-char [14] code-code* ' to type 'unsigned-char generic* ' usb.c(504) : error 47: indirections to different types assignment from type 'const-unsigned-char [32] code-code* ' to type 'unsigned-char generic* ' usb.c(693) : error 47: indirections to different types assignment from type 'volatile-unsigned-char [32] near* ' to type 'unsigned-char generic* ' make: *** [usb.o] Error 1 D:\V\USB-test\PICHID>sdcc --version SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.4 #4972 (Nov 29 2007) (MINGW32) Can somebody help me what do these messages mean ? How to correct them ? Thank you in advance, Vaclav ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
