gnupic: Re: [gnupic] XWisp2 with gcc patch
Subject:
Re: [gnupic] XWisp2 with gcc patch
From:
Rob Hamerling ####@####.####
Date:
14 Sep 2005 19:15:42 +0100
Message-Id: <432868CB.7030100@hccnet.nl>
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/