Re: XWisp2 with gcc patch
Rob Hamerling <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <[email protected]> |
Hi Daniël, Daniel Serpell wrote: > I fixed some of the warnings, but there are a lot of other warnings > in the code. OK, understood. Well, as first step I have installed now GCC 3.3.5 both under OS/2 and Linux, and the GNU make utility too. As second step I'll do a cleanup my sources: the 'unsigned long' returncodes will be com 'int' and the 'unsigned char' will become 'char' where possible (I don't use char as counter). I may use the -funsigned-char compiler option. Then I'll try to get rid of all errors and warnings. >>>+ #define _searchenv(a,b,c) (*c=0) >> >>Is there no _searchenv() functionality in Linux? > > > No, there is no standard function for "path searching". In Linux, you > normaly store config files in common locations, like > "/etc/myprog/myfile.cfg", so you don't search it in the path. Well, if the function is not necessary then the 'nul'-macro may be good enough. _searchenv() is used in xwisp2 only in an effort to locate the xwisp2.cfg file before open. Regards, Rob. -- Rob Hamerling, Vianen, NL phone +31-347-322822 homepage: http://www.robh.nl/