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


Attachment: w32api_20010110.dif
Description: Binary data

Attachment: ChangeLog.w32api_20010110
Description: Binary data

Reply via email to