|
Posted by Sisyphus on October 1, 2005, 9:30 pm
Please log in for more thread options
----- Original Message -----
Newsgroups: comp.lang.perl.modules
Sent: Saturday, October 01, 2005 6:45 PM
Subject: Re: Bogus error messages re Perl/lib/CORE/ includes
> [A complimentary Cc of this posting was sent to
> Sisyphus
>
> > f:\perlvc7.8.7\lib\CORE\win32.h(312) : error C2143: syntax error :
missing
> > ')' before '*'
> > f:\perlvc7.8.7\lib\CORE\win32.h(312) : error C2081: 'Stat_t' : name in
> > formal parameter list illegal
> > f:\perlvc7.8.7\lib\CORE\win32.h(312) : error C2143: syntax error :
missing
> > '{' before '*'
>
> Probably an include inserted before them redefined something.
Now *that* makes sense ..... so I've spent an hour or so trying to find out
what could have been re-defined, but failed to find anything. Then I noticed
in the output of nmake:
cl : Command line warning D4002 : ignoring unknown option '-g'
That was caused by the following in the (Writemakefile section of the)
Makefile.PL:
'CCFLAGS' => "$define_bool -g",
When I commented out that line in the Makefile.PL the problem disappeared.
Apparently, in this instance, it was the corruption of CCFLAGS that was
screwing things up.
Thanks, Ilya, for heading me in the right direction.
Cheers,
Rob
|