Subject: | Storable.xs(3614) : error C2198: 'is_storing' : too few actual parameters |
In attempting to investigate
http://rt.cpan.org/NoAuth/Bug.html?id=8133
I turned on
DEFINE => ' -DDEBUGME '
and was faced with
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI
CIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"2.13\" -DXS_VERSION=\"2.13\" "-IC:\pache\Perl\lib\CORE" -DDEBUGME Storab
le.c
Storable.c
Storable.xs(2243) : warning C4244: 'initializing' : conversion from 'double ' to 'int ', possible loss of data
Storable.xs(3614) : error C2198: 'is_storing' : too few actual parameters
Storable.xs(5872) : error C2198: 'is_retrieving' : too few actual parameters
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
microsoft compiler is deciding you're trying to call
int is_retrieving(pTHX)
instead of
int is_retrieving()
so i just changed it to ASSERT(is_retrieving(aTHX))
seems to work out fine