There are a few prototypes of functions with no arguments that do not have void 
in the parentheses. This is running the 8.2 release although the same problems 
are still in the current git on savannah.

In readline.h on line 410:

extern int rl_message ();

should be:


extern int rl_message (void);

In rltypedefs.h lines 34-44:


#if defined(__GNUC__) || defined(__clang__)

typedef int Function () __attribute__((deprecated));

typedef void VFunction () __attribute__((deprecated));

typedef char *CPFunction () __attribute__((deprecated));

typedef char **CPPFunction () __attribute__((deprecated));

#else

typedef int Function ();

typedef void VFunction ();

typedef char *CPFunction ();

typedef char **CPPFunction ();

#endif

should be:


#if defined(__GNUC__) || defined(__clang__)

typedef int Function (void) __attribute__((deprecated));

typedef void VFunction (void) __attribute__((deprecated));

typedef char *CPFunction (void) __attribute__((deprecated));

typedef char **CPPFunction (void) __attribute__((deprecated));

#else

typedef int Function (void);

typedef void VFunction (void);

typedef char *CPFunction (void);

typedef char **CPPFunction (void);

#endif

     Thanks,
           Keith

  • errors in pro... Arnaud, Keith A. (GSFC-662.0)[UNIV OF MARYLAND COLLEGE PARK]

Reply via email to