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

PVECTORED_EXCEPTION_HANDLER undefined compiling assert.cc


I'm trying to debug the following problems in Cygwin 1.5.5:

http://www.cygwin.com/ml/cygwin/2003-10/msg00114.html
http://www.cygwin.com/ml/cygwin/2003-09/msg01864.html

I see the latter in rlogin under XP and NT4 as well.

I get the following error trying to compile current Cygwin CVS on NT4.
PVECTORED_EXCEPTION_HANDLER is defined in winnt.h.  Suggestions?

It looks like a possible w32api bug to me.  Should winbase.h be
standalone, or should it require winnt.h?

c++ -L/home/ford/downloads/cygb2/i686-pc-cygwin/winsup
-L/home/ford/downloads/cygb2/i686-pc-cygwin/winsup/cygwin
-L/home/ford/downloads/cygb2/i686-pc-cygwin/winsup/w32api/lib -isystem
/home/ford/downloads/cygwin/winsup/include -isystem
/home/ford/downloads/cygwin/winsup/cygwin/include -isystem
/home/ford/downloads/cygwin/winsup/w32api/include
-B/home/ford/downloads/cygb2/i686-pc-cygwin/newlib/ -isystem
/home/ford/downloads/cygb2/i686-pc-cygwin/newlib/targ-include -isystem
/home/ford/downloads/cygwin/newlib/libc/include -c -nostdinc++ -nostdinc
-DHAVE_CONFIG_H  -g -O2 -Wall -Wwrite-strings -fno-common -pipe -fbuiltin
-fmessage-length=0  -I.  -I/home/ford/downloads/cygwin/winsup/cygwin
-I../../../../cygwin/winsup/cygwin/config/i386
-I/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include -fno-rtti -fno-exceptions
-o ./assert.o ../../../../cygwin/winsup/cygwin/assert.cc
In file included from
/home/ford/downloads/cygwin/winsup/cygwin/winbase.h:1,
                 from
/home/ford/downloads/cygwin/winsup/w32api/include/windows.h:50,
                 from ../../../../cygwin/winsup/cygwin/winsup.h:76,
                 from ../../../../cygwin/winsup/cygwin/assert.cc:11:
/home/ford/downloads/cygwin/winsup/w32api/include/winbase.h:1065: error:
type specifier omitted for parameter `PVECTORED_EXCEPTION_HANDLER'
make[2]: *** [assert.o] Error 1

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


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