On Thu, 10 Apr 2008, Gabor Szabo wrote:

> I was trying to build Prima on the latest Strawberry Perl 10.0.0.1 and
> besides a bug
> in its Makefile.PL that was fixed by the author, Dmitry Karasik  I got
> tons of warnings.
> 
> In file included from C:/strawberry/perl/lib/CORE/perl.h:38,
>                 from include/apricot.h:82,
>                 from AbstractMenu.c:29:
> C:/strawberry/perl/lib/CORE/config.h:39:20: warning: "/*" within comment
> C:/strawberry/perl/lib/CORE/config.h:45:21: warning: "/*" within comment
> C:/strawberry/perl/lib/CORE/config.h:51:21: warning: "/*" within comment
> C:/strawberry/perl/lib/CORE/config.h:57:22: warning: "/*" within comment
> C:/strawberry/perl/lib/CORE/config.h:63:23: warning: "/*" within comment
> 
> 
> I don't claim to understand this but based on what Dmitry found it is
> complaining about
> C:/strawberry/perl/lib/CORE/config.h having C structures like
> 
>    /* #define A B /* comment */

In the unix config.h generated by Configure, we replace that with

     /* #define A B / * comment */

note the space here  ^ 

to avoid just this problem.  I don't know how Strawberry perl generates 
its config.h, but that's the place to look.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to