|
Hi,
I'm trying to install the Template-Toolkit 2.15
in Win2000, but I have a problem in the compiling phase.
I edited Stash.xs in the installation folder, inserting
additional macro definitions as follows:
#ifdef WIN32 #define snprintf
_snprintf #endif
However, i see the following error
message:
D:\Template-Toolkit-2.15>nmake
Microsoft (R) Program Maintenance Utility
Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights
reserved.
nmake -f Makefile all -nologo cl
-c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEX T -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.15\"
-DXS_VERSION=\"2.15\" "-ID:\Perl\lib\CORE"
Stash.c Stash.c Stash.xs(57) : error C2010: '.' : unexpected in macro
formal parameter list Stash.xs(57) : error C2010: '.' : unexpected in macro
formal parameter list Stash.xs(57) : error C2010: '.' : unexpected in macro
formal parameter list Stash.xs(57) : error C2010: ')' : unexpected in macro
formal parameter list Stash.xs(203) : warning C4002: too many actual
parameters for macro 'debug' Stash.xs(474) : warning C4002: too many actual
parameters for macro 'debug' NMAKE : fatal error U1077: 'cl' : return code
'0x2' Stop. NMAKE : fatal error U1077: '"d:\Program Files\Microsoft Visual
Studio .NET 2003\ VC7\BIN\nmake.exe"' : return code
'0x2' Stop.
D:\Template-Toolkit-2.15>
Here is the problem in 'debug' macro definition for VC7.
Thanks!
Anatoly Zakharchenko,
---------------------------------
UISTEI |