- From: Regis Boudin <regis@boudin.name>
- Date: Wed, 9 Jan 2008 11:14:58 -0000 (GMT)
- To: www-amaya@w3.org
On Wed, January 9, 2008 10:50, Irene Vatton wrote: > On Wednesday 09 January 2008 11:26, Regis Boudin wrote: >> > It seems to me that the author of query.c (and >> > related files) got somehow really confused in dealing with >> > C symbols inside of C++ files and the result is mess -- it seems >> > to me that the particular symbols are generated twice inline and >> > the system one in libwwwapp is never used anyway. After all this >> > struggle I have created this brutal patch which made Amaya to >> > compile: >> >> Though I agree that query.c looks messy, I'm not sure the problem is >> related to the C/C++ confusion. >> >> I hadn't noticed that Amaya embedded more copies of files from libwww... >> But they aren't compiled anyway, so I have no idea how your patch fixed >> the issue :/ > > As I understand the work done by José and the libwww philosophy, libwww > provides default functions and AHTxx files overwrite some of libwww > functions with a more specific code. Well, that makes sense. Actually I messed up my comment, the file is built and used. >> > But I am afraid that means that the internal libwww is used after >> > all, right? > > No, you may use the system library, but you need to provide .h files. And make sure the binary is not linked against the built-in version, which requires patching of the build system anyway. Regis
Received on Wednesday, 9 January 2008 11:15:06 UTC