This is the mail archive of the gcc@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]

Disabling fixproto: alpha-dec-osf4.0f


Looking in the headers on an alpha-dec-osf4.0f system, they look like:

#ifdef _NONSTD_TYPES
extern int     fread();
extern int     fwrite();
#else
_BEGIN_CPLUSPLUS
extern size_t   fread __((void *, size_t, size_t, FILE *));
extern size_t   fwrite __((const void *, size_t, size_t, FILE *));
_END_CPLUSPLUS
#endif  /* _NONSTD_TYPES */

so I think it's safe to disable fixproto there as well.  I doubt 5.0 would
have gone backwards in that regard.  I haven't actually tested a patch,
though.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>


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