From: "Andrew Crabtree" 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: NNTP-Posting-Host: ros51675cra.rose.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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