gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] Possible bug when using -fmakeall (gcc-4.7.3+gm2, latest tarball d


From: Christoph Schlegel
Subject: [Gm2] Possible bug when using -fmakeall (gcc-4.7.3+gm2, latest tarball dec 25th, 2013, Cygwin32)
Date: Sun, 5 Jan 2014 23:23:49 +0100

Hello Gaius,

I have tracked some weird behaviour of gm2 which appeared when I simply forgot 
to insert the open ARRAY OF CHAR type in the declaration of a procedure. The 
behaviour just appears when I use -fmakeall, compiling test3.mod by issuing

$ gm2 test3.mod
test3.def:3:11: error: syntax error, `:' missing 
test3.def:3:11: error: syntax error, `identifier' missing 

works just fine.

$ gm2 -fiso -fmakeall -g test3.mod
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3gm2 -c -fmakeall0 
-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3 -g -fonlylink 
-ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib 
-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/iso 
-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim -fiso 
-fmakeall 
-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/iso:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim
 test3.mod
make: /home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3gm2: Kommando nicht 
gefunden
/tmp/ccfqiXF9.m:11: recipe for target 'test3.o' failed
make: *** [test3.o] Error 127

I have reduced the library down to:

test3.def
DEFINITION MODULE test3;
PROCEDURE IsSomeThing(CheckThis) : BOOLEAN;
END test3.

test3.mod
IMPLEMENTATION MODULE test3;
PROCEDURE IsSomeThing(CheckThis) : BOOLEAN;
BEGIN
 RETURN TRUE;
END IsSomeThing;
END test3.

Regards,
Christoph



reply via email to

[Prev in Thread] Current Thread [Next in Thread]