This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: MetaHTML and the GCC web site
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: 'François-Xavier Coudert' <fxcoudert at gmail dot com>, "'GCC Development'" <gcc at gcc dot gnu dot org>
- Date: Fri, 28 Sep 2007 17:29:07 +0100
- Subject: RE: MetaHTML and the GCC web site
- References: <88507354-ED4C-4317-A1A4-7D1102319D8E@gmail.com> <19c433eb0709280910u607fe96avfd3d6e902fe2b3e0@mail.gmail.com>
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?
cheers,
DaveK
[*] - So, little change there then... ;-)
--
Can't think of a witty .sigline today....