chromatic wrote:
> On Wednesday 10 September 2008 10:45:12 Moritz Lenz wrote:
> 
>> I tried to build parrot with the clang, an llvm frontend. It provides a
>> script called 'ccc', which accepts the same options as gcc.
>>
>> Configure works fine (perl Configure.pl --verbose --cc=ccc --link=ccc).
>>
>> src/pmc/default.c:65:36: error: use of undeclared identifier
>> '_CONST_STRING_65'
>>         VTABLE_name(interp, pmc) : CONST_STRING(interp, "(null)");
> 
>> Does anybody have an idea what might be going on, or what I could do to
>> fix it?
> 
> src/pmc/default.str must exist (the Makefile should get this right), 

It is there, yes.

> and clang 
> should include it (there's an #include line in src/pmc/default.c to this 
> effect).  Perhaps clang forbids including files that do not end in .h?

That doesn't the seem to be case here. I tried with a small sample
script that include a .str file, and it works fine.

A
ack -a '_CONST_STRING_65\b'

didn't find anything; so is this a broken macro expansion somewhere?

Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to