From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1085 invoked by alias); 17 Jul 2009 06:44:05 -0000 Received: (qmail 961 invoked by uid 48); 17 Jul 2009 06:43:39 -0000 Date: Fri, 17 Jul 2009 06:44:00 -0000 Message-ID: <20090717064339.960.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug lto/39279] [lto] - Werror in ../lto_trunk/gcc/lto/lto.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rob1weld at aol dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg01404.txt.bz2 ------- Comment #4 from rob1weld at aol dot com 2009-07-17 06:43 ------- (In reply to comment #2) > Confirmed. The proposed fix is not correct, though, as the type of the first > argument to munmap _is_ void* according to POSIX. Thanks for applying the patch. I've not looked at 'LTO' source in a few months, we could 'cast in the other direction' (fix everything else), but I imagine _we_ had a reason not to fix this properly ... People need to test their code on a few versions of GCC (3.4.x & 4.x.x). Thanks Ben & Rainer, Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39279