From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21930 invoked by alias); 6 Nov 2004 23:46:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 21922 invoked from network); 6 Nov 2004 23:46:32 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 6 Nov 2004 23:46:32 -0000 Received: (qmail 5528 invoked from network); 6 Nov 2004 23:46:31 -0000 Received: from localhost (HELO digraph.polyomino.org.uk) (joseph@127.0.0.1) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 6 Nov 2004 23:46:31 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.42) id 1CQaGL-0003UX-3l; Sat, 06 Nov 2004 23:46:29 +0000 Date: Sun, 07 Nov 2004 00:35:00 -0000 From: "Joseph S. Myers" X-X-Sender: jsm28@digraph.polyomino.org.uk To: Andrew Pinski cc: "gcc-patches@gcc.gnu.org Patches" Subject: Re: Fix assert.h on darwin (before 8.0) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-11/txt/msg00518.txt.bz2 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)