This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]