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

Re: Restore __eprintf

On Tue, May 29, 2001 at 09:25:30PM -0700, Zack Weinberg wrote:
> On Tue, May 29, 2001 at 04:35:05PM -0700, Jeffrey Oldham wrote:
> > My recent upgrade to the latest dejagnu for mips-sgi-irix6.5 revealed
> > hundreds of libstdc++-v3 test failures all because `__eprintf' is
> > declared but not defined.  __eprintf() is declared in a
> > mips-sgi-irix6.5/include/assert.h.  assert.h is included by
> > libstdc++-v3/include/c_std/bits/std_cassert.h.  See the attached file
> > for an example.
> mips-sgi-irix6.5/include/assert.h was installed by an older version of
> the compiler.  Your problem should go away if you remove that file.
> However, I can see this happening in a context where the file cannot
> be removed.

Great!  I'm trying it right now.

Your explanation of searching for files from older compiler versions
explains why I could not find the code to produce the assert.h file
using `__eprintf'.

Ala complexity theory, context-sensitive compilers are harder to use
than context-independent compilers.

Jeffrey D. Oldham

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