On 28 September 2007 17:10, François-Xavier Coudert wrote:
PS: The compilation error I get, if that rings a bell to someone who
installed metahtml on the webserver, is in libmhtml:
Compiling pagefuncs.c into pagefuncs.o
gcc -Wall -Wstrict-prototypes -Wshadow -g -DHAVE_CONFIG_H -I. -I.. -
I../libutils -I../libutils/regex -I/tmp/gdbm-1.8.3/include -I..-
DCOMPILE_TIME_MODULE_DIRECTORY='"/opt/metahtml-5.091/lib"' -c
pagefuncs.c
pagefuncs.c:1070:1: error: unterminated argument list invoking macro
"DEFINE_SECTION"
pagefuncs.c:135: error: parse error at end of input
where pagefuncs.c contains at line 135:
DEFINE_SECTION (PAGE-VARIABLES, , "[... here was multiline
text ...]", "[... and here was also multiline text
like that ...]")
I've never heard of metahtml, I don't have the sources, and I have
absolutely no idea about what's going on here[*]. But one little flag did pop
up at me: sometime in that timeframe (i.e. since late '90s), we stopped
supporting continuation of quoted text across line-ends without an escape,
i.e. we used to accept
char *fred = "this is a
multi-line text
message\n";
where now we require
char *fred = "this is a \
multi-line text \
message\n";
so maybe try escaping the line ends and see if that helps?