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

Re: [linrad] RE: Compiling problem with Linrad 0104 in Mandrake 9.1

Nice Leif, It compiles right now!

Many thanks for your quick reply.
The good thing is that the 486 ignored that warning messages. :-) (another gcc version?....)

73, Ramiro.

Leif Asbrink wrote:
Hi Ramiro and All,

cc1: warnings being treated as errors
uivar.c:334: warning: excess elements in array initializer
uivar.c:334: warning: (near initialization for `cg_floatpar_text')
uivar.c:343: warning: excess elements in array initializer
uivar.c:343: warning: (near initialization for `eg_floatpar_text')
make: *** [uivar.o] Error 1
[root@xxxxxxxxx linrad-01.04]#

There are variables that are referenced but not used.
(silly isn't it ?)
I have written:

char *name[size]={NULL};

The thing is that size=0.

Change it like this:
char *name[size];

I like this new version, I like the new waterfall and the parameters
config included in the graph, saving space on the screen.
I'll tell you more new as I play enough with all versions.


Leif   /   SM5BSZ