
My wave version : 1.2.1.1813 (20050312)
My command line :
Wave.exe -D_M_IX86 -D_WIN32 -D_DEBUG -D_WINDOWS -D_MBCS
-S"D:\Logiciels\Microsoft Platform SDK\Include"
-S"D:\Logiciels\Microsoft Visual Studio\VC98\INCLUDE"
-S"D:\Logiciels\Microsoft Visual Studio\VC98\MFC\INCLUDE"
-S"D:\Logiciels\Microsoft Visual Studio\VC98\ATL\INCLUDE"
--c99 -o foo_pre.h foo.h
and I get the following :
#line 47 "D:\\Logiciels\\Microsoft Platform SDK\\Include\\windef.h"
typedef unsigned long ULONG;
typedef ULONG *PULONG;
typedef unsigned short USHORT;
typedef USHORT *PUSHORT;
typedef unsigned char UCHAR;
typedef UCHAR *PUCHAR;
typedef char *PSZ;
#line 151 "D:\\Logiciels\\Microsoft Platform SDK\\Include\\windef.h"
typedef unsigned long DWORD;
typedef int BOOL;
...
I don't care about windef.h, I am only intereted in replacing my values
by these definitions.
My original foo.h is something like :
#pragma once
#include
mosfet wrote:
I don't undertand how wave works. I am trying to use it on a simple C header file. I have included System and user include paths and some defines but when I start wave sample driver wave.exe, nothing happens.
What wave version are you using (output of 'wave --version')? What's the commandline you're using? What do you mean by 'nothing happens'?
What I want is to convert all the defines into native types, for instance. By the way the config file doesnt' seem to like windows path while it works on the command line.
Could you send me the cfg file in question so I can try to look into the issue?
Regards Hartmut
foo.h //-----//
VOID foo(BYTE bTest, CHAR szTest); ULONG foo(LPBYTE bTest, CHAR szTest);
I would like to get
void foo(unsigned char bTest, char szTest); unsigned long foo(BYTE * bTest, char szTest);
but maybe I haven't understood what a preprocessor was. If someone could help, it's really urgent.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users