This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MetaHTML and the GCC web site


Dave Korn wrote:
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?
That's the change that's required.  The RTEMS website is based
loosely on the gcc site and I had to make that change or maybe
Gerald sent me a patch.  I will forward what I got from Gerald to
you Francois.

--joel

cheers,
DaveK
[*] - So, little change there then... ;-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]