This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compile "error 1705"
- From: "Marco Borsani" <m dot borsani at it dot net>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 6 Dec 2005 10:26:37 +0100
- Subject: Compile "error 1705"
Hi all!
I need to compile on HP-UX 11.00, but as soon as I run "gmake" I receive
these error messages:
gmake install
cd src && gmake -
gmake[1]: Entering directory `/var/DEPOT/smstools-1/src'
cc -D NOSTATS -c -o extras.o extras.c
(Bundled) cc: "extras.h", line 21: warning 5: "const" will become keyword.
(Bundled) cc: "extras.h", line 21: error 1000: Unexpected symbol:"char".
(Bundled) cc: "extras.h", line 21: warning 5: "const" will become keyword.
............................................................
If I delete alla "const" strings (like someone suggest me) I will receive:
gmake install
cd src && gmake -
gmake[1]: Entering directory `/var/DEPOT/smstools-1/src'
cc -D NOSTATS -c -o extras.o extras.c
Bundled) cc: "extras.h", line 21: error 1705: Function prototypes are an
ANSI feature.
Bundled) cc: "extras.h", line 27: error 1705: Function prototypes are an
ANSI feature.
...........................................
My releases are:
gmake -v
GNU Make 3.80
gcc -v
gcc version 4.0.0
Any idea?
Regards
Marco