This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ntsec patch for setup


On Fri, 28 Feb 2003, Pavel Tsekov wrote:

> > 2) gcc2 (not g++2) chokes on some lines in /usr/include/mingw/string.h. I
> > had to patch as below, adding prototypes before the functions declared
> > inline.
> 
> There are also some complaints about autoload.c. Will see what I can do.

The attached patch will cure some of the warnings in autoload.c, but not 
all. I don't know how to fix the others. Its too cryptic for me ;)

The patch fixes these warnings:

../setup/autoload.c:36: warning: initialization discards qualifiers from 
pointer target type
../setup/autoload.c:49: warning: initialization discards qualifiers from 
pointer target type
../setup/autoload.c:63: warning: function declaration isn't a prototype

These I cannot handle:

../setup/autoload.c:36: warning: `wininet_info' defined but not used
../setup/autoload.c:49: warning: `advapi32_info' defined but not used
../setup/autoload.c:67: warning: `autoload_common' defined but not used

Attachment: autoload.c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]