Hi!
Does anyone know how to use build utility from DDK to build Win32
applications and make cdecl calling convention by default?
I have a project wich contains some drivers and some control applications. I
want do build them all with single build command in a root directory. I did
the “source” file for one of my applications like this:
TARGETNAME=sample_app
TARGETPATH=obj
TARGETTYPE=PROGRAM
SOURCES=sample_app.c
UMTYPE=console
And default calling convention is stdcall. This is not that I want. If I use
USER_C_FLAGS=-Gd
It causes an error: ‘/Gz’ and ‘/Gd’ command-line options are incompatible
Can anyone help me?
vlad-ntdev
386_STDCALL=0
also
USE_CRTDLL=1
can be interesting for you.
Best regards,
Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]
From: xxxxx@unshadow.net[SMTP:xxxxx@unshadow.net]
Reply To: xxxxx@lists.osr.com
Sent: Thursday, March 14, 2002 4:16 PM
To: xxxxx@lists.osr.com
Subject: [ntdev] build utility for PROGRAM and cdecl
Hi!
Does anyone know how to use build utility from DDK to build Win32
applications and make cdecl calling convention by default?
I have a project wich contains some drivers and some control applications.
I
want do build them all with single build command in a root directory. I
did
the “source” file for one of my applications like this:
TARGETNAME=sample_app
TARGETPATH=obj
TARGETTYPE=PROGRAM
SOURCES=sample_app.c
UMTYPE=console
And default calling convention is stdcall. This is not that I want. If I
use
USER_C_FLAGS=-Gd
It causes an error: ‘/Gz’ and ‘/Gd’ command-line options are incompatible
Can anyone help me?
vlad-ntdev
You are currently subscribed to ntdev as: michal.vodicka@st.com
To unsubscribe send a blank email to %%email.unsub%%