[daip] Re: GCC 2.95.3 and GCC 3.3.1

Kaj Wiik wiik at oj287.astro.utu.fi
Thu Sep 18 21:50:47 EDT 2003


On Thu, 18 Sep 2003, Eric Greisen wrote:

> I assume that all development on 2.95.3 stopped years ago.  If there
> is a C irregularity in it (and I seem to remember lots of warning
> messages) then it may well not make on the most modern systems.

Exactly, this was my point. 'Sharpening up'-comment was because of the
bugs and deficiencies in the new versions.

I just thought that someone else might also stumble on this and tried
to be of use. So no action requred :)..sorry.

Unless there are significant performance gains in using the more modern 
compilers, I'll stick to the gcc-2.95.3, at least when compiling AIPS.

Here is the error message from make:

make[2]: Entering directory `/home/wiik/test/gcc-2.95.3/gcc/ch'
gcc -c  -DIN_GCC   -g -O2     -I. -I.. -I. -I./.. -I./../config 
-I./../../include loop.c
loop.c:321:8: missing terminating " character
loop.c:322:38: missing terminating " character
make[2]: *** [loop.o] Error 1
make[2]: Leaving directory `/home/wiik/test/gcc-2.95.3/gcc/ch'
make[1]: *** [cc1chill] Error 2
make[1]: Leaving directory `/home/wiik/test/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2
hana:~/test/gcc-2.95.3>

And the offending lines:

-------------------------------------------
#if 0

Here is a CHILL DO FOR statement:

DO FOR user_var := start_exp BY step_exp [DOWN] TO end_exp 
   WHILE condition;

For this loop to be 'safe', like a Pascal FOR loop, the start,
...
...

 NOTE: Z.200, section 10.1 says that a block is ...
       "the actions statement list in a do action, including any
       loop counter and while control".  This means that an exp-

....
....
--------------------------------------------

I think if the double quotes in the 'comment' section are chenged to 
singles it would compile..

Cheers,

Kaj





More information about the Daip mailing list