[Coco] help me out please

Willard Goosey goosey at virgo.sdc.org
Thu Feb 18 15:21:40 EST 2010


On Thu, Feb 18, 2010 at 10:50:57PM +1100, Bob Devries wrote:
> Hi all,
> 
> I've been banging my head against a virtual wall here.....
> This code snippet compiles correctly on my PC C compiler (Bloodshed 
> Dev-C++), but fails on both the OS-9/6809 compiler and the OS-9/68000 
> compiler:
> 
> char *ending[4]={"th","st","nd","rd"};

In the MW compiler, initialized arrays have to be declared outside any
function.

char *ending...;

int main()...

That should be your problem.  It'll probably be this evening before I
have a chance to check anything else.

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard



More information about the Coco mailing list