[phc-general] wrong xml

Paul Biggar paul.biggar at gmail.com
Mon Oct 8 14:09:20 CEST 2007


Hi David,

On 10/8/07, ml <ml at dasir.net> wrote:
> -r750 doesn't compile:

> Generate_C.o: In function `get_hash(String*)':
> src/codegen/Generate_C.cpp:106: undefined reference to
> `PHP::get_hash(String*)'
> collect2: ld returned 1 exit status

The problem here is that we don't test without PHP being installed. I
hadnt thought of it, but we should. I'll add it to my TODO list. I'm
going to be improving our testing process next week, so I'll try and
do it then.


> same problem with -rHEAD

The actual problem is that I hadnt defined the function, but its
hidden by an #ifdef so I didnt see it. phc fails if PHP isnt
available, but it shouldnt, since there are uses of phc other than to
compiling. So this is fixed this in revision 788.


So we're back to your original problem. Edsko just fixed the XML
printing, in revision 789, so I tested your original program, and it
works fine in HEAD.


Thanks again for the report. Let us know again if you have more
problems with it.

Thanks
Paul

-- 
Paul Biggar
paul.biggar at gmail.com


More information about the phc-general mailing list