ravish agarwal <[EMAIL PROTECTED]> writes: > I am getting following error while installing CVS-1.11.20.
On what operating system are you running? What compiler version are you using? > # make > No suffix list. > make all-recursive > No suffix list. > Making all in lib > source='getpass.c' object='getpass.o' libtool=no \ > DEPDIR=.deps depmode=hp /bin/sh ../depcomp \ > cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -c getpass.c > (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C > pro > duct; ignored. > (Bundled) cc: "getpass.c", line 40: error 1705: Function prototypes are an > ANSI > feature. > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Please help me out. What is the possible cause of this error > > regards Note: You should consider getting a compiler that is able to deal with ANSI C. Future releases of CVS (1.12.x) will give you many problems otherwise as that release of CVS assumes a C89 capable standalone compiler. Does the following patch fix your problem? -- Mark ChangeLog entry: 2005-07-06 Mark D. Baushke <[EMAIL PROTECTED]> * getpass.c (getpass): Add a K&R style function definition. Index: getpass.c =================================================================== RCS file: /cvs/ccvs/lib/getpass.c,v retrieving revision 1.1.2.4 diff -u -p -u -p -r1.1.2.4 getpass.c --- getpass.c 2 Oct 2003 18:40:13 -0000 1.1.2.4 +++ getpass.c 6 Jul 2005 15:31:55 -0000 @@ -37,7 +37,12 @@ #endif char * +#if __STDC__ getpass (const char *prompt) +#else +getpass (prompt) + const char *prompt; +#endif { FILE *in, *out; struct termios s, t; _______________________________________________ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs