cc strange behavor

From: Jean Schuller <schuller_at_in2p3.fr>
Date: Fri, 11 Apr 1997 16:56:36 +0200 (MET DST)

        Hi all,

        I have a strange problem concerning cc :
        if I make : cc -c mbunix.c in DU V3.2 it's ok but when I do
        the same on V4.0 I get a lot of error messages :

cc: Error: mbunix.c, line 341: In this statement, "*ast[numshm]" is not an
lvalu
e, but occurs in a context that requires one.
     *ast[numshm] = *astr;
-----^
cc: Error: mbunix.c, line 350: In this statement, "*ast[numshm+1]" is not
an lva
lue, but occurs in a context that requires one.
     *ast[numshm+1] = *astr;
-----^
cc: Error: mbunix.c, line 374: In this statement, "*ast[shm_used]" is not
an lva
lue, but occurs in a context that requires one.
   *ast[shm_used] = *astr;
---^
cc: Error: mbunix.c, line 703: In this statement, "*ast[numshm]" is not an
lvalu
e, but occurs in a context that requires one.
     *ast[numshm] = NULL;
-----^
cc: Error: mbunix.c, line 712: In this statement, "*ast[numshm+1]" is not
an lva
lue, but occurs in a context that requires one.
     *ast[numshm+1] = NULL;
-----^
cc: Error: mbunix.c, line 736: In this statement, "*ast[shm_used]" is not
an lva
lue, but occurs in a context that requires one.
   *ast[shm_used] = NULL;
---^



By the way , the /lib/cmplrs/cc/driver size on V4.0 is 270336 and
245760 on V3.2.. Does it mean something??

Thanks for all help

JEAN

        


-----------------------------------------------------------------------------
Jean Schuller _/ _/_/_/ _/_/_/ _/_/_/_/
schuller_at_crnal4.in2p3.fr _/ _/ -/ _/ _/ _/
                               _/ _/_/_/-/ _/_/_/ _/_/_/_/
                              _/ _/ -/ _/ _/
                             _/ _/ _/ _/_/_/ _/_/_/_/
local call: 0388106630 Institut de Recherches Subatomiques
foreign call: (33)388106630 Boîte Postale 28
local fax : 0388106234 23, Rue du Loess
foreign fax : (33)388106234 F-67037 STRASBOURG CEDEX - France
-----------------------------------------------------------------------------
Received on Fri Apr 11 1997 - 17:26:32 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT