This is the mail archive of the cygwin-patches@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: Patch for Setup.exe problem and for mklink2.cc


 wrote:
> > As for the &'s, I wonder if it's a w32api reference issue? The compiler
> 
> > complains if they are present for me.
> 
> For me it is the opposite. g++ complains when they are *not*
> 
> present.
>
I believe this might be related to the above discussion so I thought I would 
add this - I updated my cinstall (Setup.exe) node from HEAD in cvs (cvs update 
-rHEAD) on Monday and now when I try to compile on my Win2000 laptop I get the 
following error:

make[2]: Entering directory `/usr/develop/obj/i686-pc-cygwin/winsup/cinstall'
/usr/bin/c++ -L/usr/develop/obj/i686-pc-cygwin/winsup 
-L/usr/develop/obj/i686-pc-cygwin/winsup/cygwin 
-L/usr/develop/obj/i686-pc-cygwin/winsup/w32api/lib -isystem 
/usr/develop/src/winsup/include -isystem /usr/develop/src/winsup/cygwin/include 
-isystem /usr/develop/src/winsup/w32api/include -isystem 
/usr/develop/src/newlib/libc/sys/cygwin -isystem 
/usr/develop/src/newlib/libc/sys/cygwin32 
-B/usr/develop/obj/i686-pc-cygwin/newlib/ -isystem 
/usr/develop/obj/i686-pc-cygwin/newlib/targ-include -isystem 
/usr/develop/src/newlib/libc/include -MMD -g -O2 -mno-cygwin -I. 
-I/usr/develop/src/winsup/cinstall -I/usr/develop/src/winsup/mingw/include  
-I/usr/develop/src/winsup/bz2lib -mwindows -c -o mklink2.o 
/usr/develop/src/winsup/cinstall/mklink2.cc
/usr/develop/src/winsup/cinstall/mklink2.cc: In function `void 
make_link_2(const char *, const char *, const char *, const char *)':
/usr/develop/src/winsup/cinstall/mklink2.cc:24: cannot convert 
`CLSID_ShellLink' from type `const GUID' to type `const CLSID *'
/usr/develop/src/winsup/cinstall/mklink2.cc:25: cannot convert 
`IID_IPersistFile' from type `_GUID' to type `const IID *'
make[2]: *** [mklink2.o] Error 1
make[2]: Leaving directory `/usr/develop/obj/i686-pc-cygwin/winsup/cinstall'
make[1]: *** [cinstall] Error 1
make[1]: Leaving directory `/usr/develop/obj/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2
~
$ 

I have tried reinstalling the w32api packages for version 1.1-1, 1.2-1 and 
1.2-2 as well as other various packages in an attempt to resolve but still get 
the same error when I compile.  

I see the patch that Ton van Overbeek and I am about to try that - will this 
become a standard patch.




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