Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Kevin Davis" Newsgroups: scea.yaroze.freetalk,scea.yaroze.programming.codewarrior Subject: Codewarrior works, GNU doesn't Date: Fri, 13 Mar 1998 15:51:41 -0500 Organization: SCEA News Server Lines: 13 Message-ID: <6ec5lm$i0m18@scea> NNTP-Posting-Host: 204.156.23.205 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Xref: chuka.playstation.co.uk scea.yaroze.freetalk:506 scea.yaroze.programming.codewarrior:297 I recently finished the first cut of the game I've been working on. I did the programming using codewarrior and wanted to generate a version using GNU. While the program compiles ok, when I run it I'm having all sorts of problems mostly with my program freezing up for no apparent reason. I believe the problem to be with my use of global variables that are shared between the different C files. In order to cut down on function parameters I made a bunch of my variables global. When I change these to be passed parameters the program seems to work correctly. The problem is I have a lot of global variables and I don't want to change all of them since this works in codewarrior. Anyone else run into a similar problem or have an idea as to what's wrong?