This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc compilation problem:size_t defination
- To: gcc at gcc dot gnu dot org
- Subject: gcc compilation problem:size_t defination
- From: Bibhas Kumar Samanta <bks at cal dot delsoft dot com>
- Date: Mon, 12 Mar 2001 18:16:18 +0530
- Reply-To: bks at cal dot delsoft dot com
Hi,
I am trying to compile gcc 2.7.2.3 on hp-ux 11.00 running in 64bit mode
While compiling it gives error like
In file included from ../objc/objc-api.h:31,
from encoding.h:33,
from encoding.c:28:
../objc/hash.h:159: `size_t' undeclared (first use this function)
../objc/hash.h:159: (Each undeclared identifier is reported only once
../objc/hash.h:159: for each function it appears in.)
../objc/hash.h:159: parse error before `key'
/usr/gcc/gcc-2.7.2.3/include/sys/types.h: At top level:
In file included from /usr/gcc/gcc-2.7.2.3/include/stdio.h:33,
from ../objc/objc-api.h:32,
from encoding.h:33,
from encoding.c:28:
/usr/gcc/gcc-2.7.2.3/include/sys/types.h:235: `size_t' used prior to
declaration
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Could you please help.
Bibhas