This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Shellexecute doubly defined during compile of V


On Wed, 8 Mar 2000, Earnie Boyd wrote:

> --- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> > Hello,
> > 	I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> > gcc 2.95.2 nt 4.0
> > 
> > I get the follwing errors about certain items being defined twice.  Any
> > ideas what is causing this?
> > 
> 
> The gcc output tells you all you need to answer your question; there defined
> twice, once in shellapi.h and once in Functions.h.  Now, do you wish to ask a
> different question?

Your wit is so acute I though you would be able explain how to fix it

Vince
  

> 
> > Thanks
> > 
> > Vince
> > 
> > 
> > g++ -c -I../includew  -O2 -o ../obj/vapp.o vapp.cpp
> > In file included from vapp.cpp:51:
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:108: warning: `ShellExecute'
> > redefined
> > 
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:850: warning: this is
> > the l
> > ocation of the previous definition
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:109: warning: `FindExecutable'
> > redefin
> > ed
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:848: warning: this is
> > the l
> > ocation of the previous definition
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:110: warning: `ShellAbout'
> > redefined
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:849: warning: this is
> > the l
> > ocation of the previous definition
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:111: warning:
> > `ExtractAssociatedIcon'
> > redefined
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:846: warning: this is
> > the l
> > ocation of the previous definition
> > vapp.cpp:53: commctrl.h: No such file or directory
> > make: *** [../obj/vapp.o] Error 1
> > 
> > += Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
> > | Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
> > +===============>http://comp.uark.edu/~vlabella<=================+
> > 
> > 
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> > 
> > 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

+= Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
| Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
+===============>http://comp.uark.edu/~vlabella<=================+


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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