Re: iostream
- From: "Carey McMaster" <mcmaster@xxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 14:48:59 -0500
Thanks Maxim...
I did a world grep and found the actual switch is /EHa
(/EHsc causes warnings about overriding /EHs- and /EHc-)
thanks again!!
regards,
cm
"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:e9NqiKTJHHA.3264@xxxxxxxxxxxxxxxxxxxxxxx
From some live SOURCES file, for a DCOM service EXE based on ATL:
# Exception Handling on stack
USER_C_FLAGS=$(USER_C_FLAGS) /EHsc
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"Carey McMaster" <mcmaster@xxxxxxxxxxx> wrote in message
news:%23n9lw8SJHHA.3872@xxxxxxxxxxxxxxxxxxxxxxx
Thanks Scott! It compiles now. I get lots of warnings about c++ exception
handler. It tells me to use /EHcs. Does anyone know where to state this
switch? I find it odd that this capability is included in the kit, though
it
seems very few take advantage of it.
Regards,
cm
"Scott Noone" <snoone@xxxxxxx> wrote in message
news:uHV5ZrSJHHA.1280@xxxxxxxxxxxxxxxxxxxxxxx
Try setting
USE_STL=1
STL_VER=70
In your SOURCES. If that doesn't work start defining random things you
find in makefile.new until you either get it to work or decide that
it's
no longer worth trying to get it to build in the DDK
-sctt
--
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com
"Carey McMaster" <mcmaster@xxxxxxxxxxx> wrote in message
news:%236EaHnSJHHA.2236@xxxxxxxxxxxxxxxxxxxxxxx
stdio.h doesn't know anything about stl::cout? How does your
suggestion
work?
regards,
cm
"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:u7xlydSJHHA.420@xxxxxxxxxxxxxxxxxxxxxxx
Use stdio.h instead.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"Carey McMaster" <mcmaster@xxxxxxxxxxx> wrote in message
news:uI2nMZSJHHA.4384@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'm using the winddk (6000) to not only develop a WDF driver, but
also
a
console app that tests out my driver (using IOCTLs). When I include
<iostream> in the console app, the ddk compiler can't find it. I did
find it
in c:\winddk\6000\inc\api\crt\stl70. The test app uses classes and
"new"
constructs, but I can't seem to include <iostream> for stl::cout and
the
like.
Here is my sources file for the app
==============================================================
TARGETNAME=rmgr
TARGETTYPE=PROGRAM
UMTYPE=console
UMENTRY=main
USE_MSVCRT=1
!if defined(DDKBUILDENV)
C_DEFINES = $(C_DEFINES) -DDDKBUILD=1
!endif
TARGETLIBS=$(SDK_LIB_PATH)\setupapi.lib \
$(SDK_LIB_PATH)\user32.lib \
INCLUDES=$(INCLUDES);$(DDK_INC_PATH);
SOURCES= \
rmgr.cpp
RUN_WPP= $(SOURCES) #-func:printf(MSG,...)
=========================================================
thanks in advance for help,
cm
.
- References:
- iostream
- From: Carey McMaster
- Re: iostream
- From: Maxim S. Shatskih
- Re: iostream
- From: Carey McMaster
- Re: iostream
- From: Scott Noone
- Re: iostream
- From: Carey McMaster
- Re: iostream
- From: Maxim S. Shatskih
- iostream
- Prev by Date: Re: Accessing scsi read/write buffer in storport
- Next by Date: Re: CreateFile faiedl with correct SymbolicLink
- Previous by thread: Re: iostream
- Next by thread: Re: iostream
- Index(es):
Relevant Pages
|