[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation error on groff 1.17.2
From: |
Ralph |
Subject: |
Re: Compilation error on groff 1.17.2 |
Date: |
25 Jul 2001 00:01:47 +0100 |
Hi,
> input.cc: In function `void init_charset_table()':
> input.cc:5363: parse error before `('
> input.cc:5364: warning: implicit declaration of function `int
> get_charinfo(...)'
> input.cc:5364: base operand of `->' is not a pointer
> input.cc:5364: parse error before `('
> input.cc:5365: base operand of `->' is not a pointer
> input.cc:5366: base operand of `->' is not a pointer
> input.cc:5367: base operand of `->' is not a pointer
> input.cc:5368: base operand of `->' is not a pointer
> input.cc:5369: base operand of `->' is not a pointer
> input.cc:5370: base operand of `->' is not a pointer
The line numbers for my eight calls are slightly different.
5361 get_charinfo(symbol("dg"))->set_flags(charinfo::TRANSPARENT);
5362 get_charinfo(symbol("rq"))->set_flags(charinfo::TRANSPARENT);
5363 get_charinfo(symbol("em"))->set_flags(charinfo::BREAK_AFTER);
5364
get_charinfo(symbol("ul"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
5365
get_charinfo(symbol("rn"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
5366
get_charinfo(symbol("radicalex"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
5367
get_charinfo(symbol("ru"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
5368 get_charinfo(symbol("br"))->set_flags(charinfo::OVERLAPS_VERTICALLY);
There's also an earlier call to get_charinfo() at line 5347.
5345 for (int i = 0; i < 256; i++) {
5346 strcpy(buf + 4, i_to_a(i));
5347 charset_table[i] = get_charinfo(symbol(buf));
5348 charset_table[i]->set_ascii_code(i);
5349 if (csalpha(i))
5350 charset_table[i]->set_hyphenation_code(cmlower(i));
5351 }
You don't get any compilation errors regarding other calls to
get_charinfo()? Just the eight calls you've listed?
Ralph.