mpz_import/mpz_export and syntax errors
Evan Dower
evantd@u.washington.edu
02 May 2003 16:23:05 -0700
Oh for crying out loud! I actually had:
#define word_bytes 4; <-- note BAD semicolon!
It would turn out to be something that stupid wouldn't it?
Anyway, thanks a whole lot for the advice. It's been a while since I
used C. I guess I'll have to remember to check for that kind of thing
from now on.
Thanks again,
Evan
On Fri, 2003-05-02 at 16:12, Kevin Ryde wrote:
> Evan Dower <evantd@u.washington.edu> writes:
> >
> > GCC is giving me "syntax error before ';' token" errors.
>
> Maybe a stray #define is having an unexpected effect. Check the
> preprocessor output, ie.
>
> gcc -I/usr/local/include -ansi -E test.c
>
> Post the part which is your code expanded if the problem isn't
> immediately apparent.