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

Re: Fix assert.h on darwin (before 8.0)


On Sat, 6 Nov 2004, Andrew Pinski wrote:

> Darwin (before 8) has a very messed up assert.h and uses __eprintf
> which is very wrong.  This patch fixes that by adding an assert.h
> which does not use __eprintf at all.

Your assert.h doesn't seem to print either the text of the asserted 
expression or the name of the current function in the message, though C99 
requires both.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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