Mail Archives: djgpp/1998/02/04/18:46:32
From: | "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: HELP! GCC hangs for no apparent reason!
|
Date: | Wed, 4 Feb 1998 15:10:24 -0800
|
Organization: | Hewlett Packard
|
Lines: | 17
|
Message-ID: | <6bashc$212$1@rosenews.rose.hp.com>
|
References: | <Pine.PCW.3.96.980204193839.2063K-100000@[131.251.42.58]>
|
NNTP-Posting-Host: | ros51675cra.rose.hp.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Andrew R. Gillett wrote in message ...
>I'm writing a game with DJGPP and Allegro, but a few lines are causing
>problems:
> || (game_counter % 2 == 0) ) // doesn't compile with any other value
>If I change % 2 to % 3, GCC hangs.
Can you shrink it down to the smallest self-contained code sample and post
that here?
Just keep removing code until you can't reproduce, and then add the last
thing
back in. If it relies on non-standard headers then pre-process it (gcc -E)
and post
that. Otherwise just post the c source.
Andy
- Raw text -