Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 1998 14:51:55 +0100
From:      David Ramahefason <rama@easynet.fr>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Any idea ??
Message-ID:  <19981211145155.A4082@easynet.fr>

next in thread | raw e-mail | index | archive | help
Hi,

I've cvsuped my 2.2.7-STABLE box... and when I try to
make world here's the error I got... :

===> cc1plus
cc -O2 -pipe -I/usr/local/include -L/usr/local/lib -I. -DFREEBSD_AOUT -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -DFREEBSD_NATIVE -DDEFAULT_TARGET_VERSION=\"2.7.2.1\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools   -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c
/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c: In function `push_decl_level':
/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:480: storage size of `tem' isn't known
/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:483: warning: return makes pointer from integer without a cast
/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c: In function `poplevel_class':
/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:1436: warning: assignment makes pointer from integer without a cast
*** Error code 1

and here's the decl.c file at line 480:


/* Allocate a level of searching.  */
struct stack_level *
push_decl_level (stack, obstack)
     struct stack_level *stack;
     struct obstack *obstack; 
{  
  struct stack_level tem;
  tem.prev = stack; 
   
  return push_stack_level (obstack, (char *)&tem, sizeof (tem));
}

Any idea ??

Thanks
-- 
/David Ramahefason	Administrateur Systeme/Reseau   /
/rama@easynet.fr	Easynet France SA               /
/0144547031             http://casimir.easynet.fr/Images/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981211145155.A4082>