Xref: utzoo comp.sys.m6809:921 comp.os.os9:193 comp.lang.c:13394 Path: utzoo!dciem!nrcaer!scs!mitel!uunet!mcrware!kim From: kim@mcrware.UUCP (Kim Kempf) Newsgroups: comp.sys.m6809,comp.os.os9,comp.lang.c Subject: Re: C Compiler Bug (yes, another one) Message-ID: <762@mcrware.UUCP> Date: 18 Oct 88 14:06:26 GMT Article-I.D.: mcrware.762 References: <7201@ihlpl.ATT.COM> Organization: Microware Systems Corp., Des Moines, Ia. Lines: 25 Summary: Cockpit error... In article <7201@ihlpl.ATT.COM>, knudsen@ihlpl.ATT.COM (Knudsen) writes: > YACCB == Yet Another Microware OS9/6809 'C' Compiler Bug (just what we > needed). > This one is strange, and probably occurs only when the compiler is > overloaded by a big source file. > > After a *very* long main() function definition, > and a couple of static arrays, > I had several more very short function bodies. > The second one looked like > [non interesting lines deleted] > and the compiler tagged the "int x" as "redeclaration of x." You might want to try compiling the program on Nuxi or run it through the "cb" to find the unbalanced braces you overlooked in the "very long main() function" that preceeds this. Or, mail me the source file and I'll point out the problem for you. Since moving the function elsewhere changes the problem, this is the likely problem. We understand the confusion and frustration one suffers when confronted with problems of this sort...apologies are gladly accepted :-) ---------------- Kim Kempf, Microware Systems Corporation ...!sun!mcrware!kim