Mail Archives: djgpp/2015/06/12/03:28:57
> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> Date: Fri, 12 Jun 2015 06:29:02 +0000 (UTC)
>
> > In file included from F:/proj/q2dos/game/q_shared.h:40:0,
> > from client../qcommon/qcommon.h:23,
> > from client/ref.h:23,
> > from client/client.h:30,
> > from client/cl_input.c:22:
> > f:/djgpp_205/include/time.h:126:16: error: expected '=', ',', ';', 'asm'
> > or '__attribute__' before 'unsigned'
> > _EXTERN_INLINE unsigned long long
> > ^
>
> 1. Check the environment that you don't have _any_ refenrences to the
> old DJGPP. In bash I'd "env|less" and look carefully.
>
> 2. Try adding -v to your flags and examine paths gcc uses to verify
> that they are right.
>
> 3. It can be an error in the previous include file (I'm not sure which
> order gcc lists them; either q_shared.h or cl_input.c, I'd guess) that
> didn't terminate whatever it was trying to declare/define (as the
> compiler is looking for a possible ";").
It's usually best to invoke the same GCC command that was used to
compile the offending source file, but with -c replaced with -E and
with output redirected to some *.ii file, and then examine the
preprocessed source near the problematic place.
- Raw text -