|
From: | john o goyo |
Subject: | [Gm2] ELSE clause woes in gm2-2009-08-05 [Was: Re: Cygwin build failure] |
Date: | Thu, 13 Aug 2009 10:32:14 -0400 |
crale" <address@hidden> writes:Hi!gcc-4.1.2+gm2-cvs-latest (August 5th 2009), Cygwin, Windows Vista, x86-32, I got the following error:../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/ulm-lib-gm2/std/ RTErrors.def:44:6: error: not all variant record alternatives in the CASE clause are specified, hint you either need to specifiy each value of record field or use an ELSE clause.
The same error for other platforms. Until now, I was not aware that Modula-96 (aka ISO Modula-2) required an ELSE clause even in data-type definitions. At any rate, I added ELSE clauses with some dummy variables but the compiler chokes trying to finish compiling RTErrors.
../../../src/gcc-4.1.2/gcc/gm2/gm2-libs/termios.def:234:1:*** fatal error *** ../../../src/gcc-4.1.2/gcc/gm2/gm2-compiler/M2GenGCC.mod:4219:1:*** internal error *** symbol type should have been declared by now..
make[2]: *** [gm2/ulm-lib-gm2/std/RTErrors.o] Error 1 john
[Prev in Thread] | Current Thread | [Next in Thread] |