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

[LDM #CIV-363604]: Comment on LDM-6.4.6



Robert,

> This may be old news, but I thought I would mention my experience with
> the configure and make process.  No response is required.

Well, I'll respond anyway.  :-)

Thanks for sending this in.  Very few people do.

> I received the following ( dups not shown ) messages after running the
> configure script and the make command:
> "ldm.h", line 584.20: 1506-112 (E) Duplicate type qualifier "volatile"
> ignored.

I've seen that one.  I believe the problem actually lies with the
compiler in this case.  The line in question uses "volatile" once only
and no other compiler even mentions it.

> "ldm6_svc.c", line 84.14: 1506-280 (E) Function argument assignment
> between types "char*"
> and "union {...}*" is not allowed.
> "ldm6_svc.c", line 92.14: 1506-280 (E) Function argument assignment
> between types "char*"
> and "union {...}*" is not allowed.
> 
> I modified line #1374 to read  -   CFLAGS=${CFLAGS-"-O -qlanglvl=extc89"}.

Unfortunately, not much can be done about the above "errors" because the
file in question is generated by the rpcgen(1) utility on each system.

> The "Duplicate type..."  error message was not generated.
> The other errors became warnings.
> 
> I receive the following warnings both before and after the addition of
> -qlanglvl=extc89
> make.log:"action.c", line 182.55: 1506-1298 (W) The subscript 12 is out
> of range. The valid range is 0 to 11.
> make.log:"action.c", line 188.54: 1506-1298 (W) The subscript 8 is out
> of range. The valid range is 0 to 7.
> make.log:"conf.y", line 637.21: 1506-1300 (W) The subscript -1 is less
> than zero. The subscript of an array should be greater than or equal to
> zero.
> make.log:"conf.y", line 638.21: 1506-1300 (W) The subscript -1 is less
> than zero. The subscript of an array should be greater than or equal to
> zero.
> make.log:"conf.y", line 720.39: 1506-1298 (W) The subscript 150 is out
> of range. The valid range is 0 to 149.

Same problem, the file in question is generated on the host system
by the host's yacc(1) utility.

> I did not try to install after the original configure/make.  I plan to
> install using the altered configure/make files.  Perhaps I am just more
> comfortable with no  (E)rrors, just (W)arnings.

I know that I am.

> Regards,
> Bob Summers
> 
> PS  I was intrigued by
> yypv = &yyv[-1];
> yyps = &yys[-1];
> 
> One of these days when I have time, I would like to explore ( but not
> modify ) the code.

I wouldn't explore the code that's generated on the host system as
such code tends to be a bit bizarre.  Otherwise, enjoy.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: CIV-363604
Department: Support LDM
Priority: Normal
Status: Closed