
On Monday 04 August 2003 8:14 pm, Wolfgang Denk wrote:
In message 200308041652.16627.david@avoncliff.com you wrote:
But gcc 3.2 -Werror and " goto done; ...... done: } do not appear compatable, so I changed the easiest option and removed -Werror.
Try replacing the "done:" with "done: ;"
Yes that works fine. (strange the things I learn about C day by day 8-) )
If it works, please submit a patch.
Hmm, request understood. Practice not so easy. There are 40+ done: in many files both in sc520 and other area's, but there are many other instances of goto. Any experts with sed or pearl around?
lib_i386/libi386.a(video_bios.o): In function `probe_pci_video': /home/david/smart/cvs/u-boot/lib_i386/video_bios.c:88: undefined reference to `pci_find_class'
Can someone who gets past this let me know where the function is?
-> find * -type f | xargs egrep -l pci_find_class include/pci.h lib_i386/video_bios.c
Seems that except for the prototype in include/pci.h and the call in lib_i386/video_bios.c there is no file containing this function. Let me guess: nobody used this code before...
Well I was being more optimistic, I am only doing make sc520_cdp_config make all And I had thought others had got past compile errors. Does this imply the function is available in some external library?
Best regards,
Wolfgang Denk