Re: #undef fopen+freopen prior to #def in system.h, for aix bootstrap

2012-01-02 Thread Richard Guenther
On Fri, Dec 23, 2011 at 9:07 PM, Olivier Hainque wrote: > A minor update to provide a more precise ChangeLog: > >>       * system.h: #undef fopen and freopen unconditionally. > Ok. Thanks, Richard. > 2011-12-23  Olivier Hainque   > >        * system.h: Prior to #define, #undef fopen and freopen

Re: #undef fopen+freopen prior to #def in system.h, for aix bootstrap

2011-12-23 Thread Olivier Hainque
A minor update to provide a more precise ChangeLog: > * system.h: #undef fopen and freopen unconditionally. 2011-12-23 Olivier Hainque * system.h: Prior to #define, #undef fopen and freopen unconditionally. libcpp/ * system.h: Likewise.

#undef fopen+freopen prior to #def in system.h, for aix bootstrap

2011-12-23 Thread Olivier Hainque
bootstrap currently fails for mainline on AIX, first because of problems like ...trunk/libcpp/system.h:47:0: error: "fopen" redefined [-Werror] .../include-fixed/stdio.h:110:0: note: this is the location of the previous definition Indeed, libcpp/system and gcc/system.h have /* Use the unloc