Compile error in remdiv.c
Torbjorn Granlund
tege at swox.com
Fri Nov 12 16:15:06 CET 2004
Décio Luiz Gazzoni Filho <decio at decpp.net> writes:
On Friday 12 November 2004 11:50, Matthew Kettlewell wrote:
> <snip>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_divrem -g -O
> -fomit-frame-pointer -mcpu=pentiumpro -c divrem.c -fPIC -DPIC -o
> .libs/divrem.lo
> In file included from divrem.c:27:
> ../longlong.h:233:12: missing terminating " character
> ../longlong.h:248:22: missing terminating " character
> ../longlong.h:361:8: missing terminating " character
> ../longlong.h:376:44: missing terminating " character
> ../longlong.h:530:18: missing terminating " character
> ../longlong.h:554:33: missing terminating " character
> ../longlong.h:828:8: missing terminating " character
> ../longlong.h:850:10: missing terminating " character
> ../longlong.h:937:12: missing terminating " character
> ../longlong.h:976:51: missing terminating " character
> ../longlong.h:990:12: missing terminating " character
> ../longlong.h:992:38: missing terminating ' character
> ../longlong.h:993:38: missing terminating ' character
> ../longlong.h:994:38: missing terminating ' character
> ../longlong.h:1031:18: missing terminating " character
I may be wrong, but I think these errors are related to multi-line literals
that were deprecated in recent versions of gcc.
Right. You need a newer GMP version or an older GCC version.
(Remember to run "make check" after you've got a clean compile.
In GMP 3, we didn't have as many GCC compiler bug workarounds as
we have in newer GMP versions.)
--
Torbjörn
More information about the gmp-discuss
mailing list