Compilation of code was given supposedly built under OW starts out as...
cd c:\matlabr11\toolbox\matlab\general
wmake -f c:\matlabr11\toolbox\matlab\general\
ibrowse.mk -h -e
c:\matlabr11\toolbox\matlab\general\ibrowse.dll
wpp386 ibrowse.cpp -i="C:\WATCOM\h;C:\WATCOM\h\nt" -w4 -e25 -zq -od -d2
-bd -5r -bt=nt -mf
C:\WATCOM\H\NT\wtypes.h(379): Error! E006: (col 26) syntax error;
probable cause: missing ';'
C:\WATCOM\H\NT\wtypes.h(379): Note! N393: (col 26) included from
C:\WATCOM\H\NT\objbase.h(408)
C:\WATCOM\H\NT\wtypes.h(379): Note! N393: (col 26) included from
C:\WATCOM\H\NT\ole2.h(28)
C:\WATCOM\H\NT\wtypes.h(379): Note! N393: (col 26) included from
C:\WATCOM\H\NT\windows.h(165)
C:\WATCOM\H\NT\wtypes.h(379): Note! N393: (col 26) included from
ibrowse.cpp(23)
C:\WATCOM\H\NT\wtypes.h(1078): Error! E336: (col 23) declaration
specifiers are required to declare 'ULONGLONG'
C:\WATCOM\H\NT\wtypes.h(1078): Error! E006: (col 19) syntax error;
probable cause: missing ';'
C:\WATCOM\H\NT\wtypes.h(1079): Error! E121: (col 5) syntax error
C:\WATCOM\H\NT\wtypes.h(1080): Error! E121: (col 1) syntax error
...
extern "C"
{
#define bool BOOL
#include <windows.h>
#include "mex.h"
}
Line 23 in the source file is the line
#include <windows.h>
above, all else in the file ahead of that is comments or white space so
it seems the issue has to be in the header file itself. The area from
379 looks like
typedef unsigned __int64 ULONGLONG;
#if 0
typedef hyper LONGLONG;
typedef MIDL_uhyper ULONGLONG;
typedef LONGLONG __RPC_FAR *PLONGLONG;
typedef ULONGLONG __RPC_FAR *PULONGLONG;
typedef struct _LARGE_INTEGER
{
LONGLONG QuadPart;
} LARGE_INTEGER;
typedef LARGE_INTEGER __RPC_FAR *PLARGE_INTEGER;
typedef struct _ULARGE_INTEGER
{
ULONGLONG QuadPart;
} ULARGE_INTEGER;
#endif // 0
I was never much of a C wonk and now having been nearly 10 yr, what
little facility I had is rusty at best...
Anybody (like Lynn :) ) able to divine what the issue is here? The
wtypes.h file is straight from the distribution CD.