On Fri, 30 Aug 2002 at 08:03 +0100, Nick Ing-Simmons <[EMAIL PROTECTED]:
> Joshua N Pritikin <[EMAIL PROTECTED]> writes:
> >> cl -c -Ic -Ilib/Event -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
>-DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX
>-O1 -MD -DNDEBUG -DVERSION=\"0.86\" -DXS_VERSION=\"0.86\" -IC:\Perl\lib\CORE
>Event.c
> >> Event.c
> >> C:\VCDEVEL\VC98\INCLUDE\signal.h(102) : error C2059: syntax error : '('
> >>
>
> Can you show us what is on lines arround 102 of that file?
if signal.h hasn't been modified it is probably
_CRTIMP void (__cdecl * __cdecl signal(int, void (__cdecl *)(int)))(int);
where dll's also have earlier defined
#define _CRTIMP __declspec(dllimport)
I think you may need to look at the pre-processor output from cl
using the /E option.
After I look at the file some more, line 102 is the first line that
would generate output from preprocessing signal.h, so I suspect
that the error is in the file that included it, or one of it's parents.
(This should be visible after examining the preprocessor output with CL /E)
cl -E -Ic -Ilib/Event -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX
-O1 -MD -DNDEBUG -DVERSION=\"0.86\" -DXS_VERSION=\"0.86\" -IC:\Perl\lib\CORE
Event.c