Problem with winsup/cinstall compilation

Ralf Habacker Ralf.Habacker@freenet.de
Thu Jan 10 14:38:00 GMT 2002


Hi,

I've tried to compile a recent setup.exe from the cvs and got an error while compiling
mklink2.c about "function declaration isn't a prototype"
I've found that in cinstall/Makefile.in the -Werror option is set, so warnings causes
compiling failures.

What about this ? As I see there are two solutions for this.

1. remove the -Werror in Makefile.in
CFLAGS		:= @CFLAGS@ -Werror -Winline -Wall -Wpointer-arith -Wcast-align\
                              ^^^^^^^^
	-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
	-Wmissing-declarations -Wcomments

2. fix the bad header.
   This seems to me the better solution, so a patch for the w32api header is appended.

Charles Wilson told me, to send this patch to cygwin-patches, so I'm doing this :-)

Regards
Ralf


-------------- next part --------------
A non-text attachment was scrubbed...
Name: w32api_20010110.dif
Type: application/octet-stream
Size: 8386 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020110/7bf532d0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog.w32api_20010110
Type: application/octet-stream
Size: 364 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020110/7bf532d0/attachment-0001.obj>


More information about the Cygwin-patches mailing list