Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 31777 invoked from network); 23 Mar 2010 08:28:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 08:28:50 -0000 Received: (qmail 51792 invoked by uid 500); 23 Mar 2010 08:28:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 51688 invoked by uid 500); 23 Mar 2010 08:28:49 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 51470 invoked by uid 99); 23 Mar 2010 08:28:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 08:28:48 +0000 X-ASF-Spam-Status: No, hits=-1104.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 08:28:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50950234C4AD for ; Tue, 23 Mar 2010 08:28:27 +0000 (UTC) Message-ID: <1734020187.429001269332907329.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 08:28:27 +0000 (UTC) From: "Mark Hindess (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6480) FreeBSD comparability: Location of malloc In-Reply-To: <1916013441.426411269324627221.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HARMONY-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848612#action_12848612 ] Mark Hindess commented on HARMONY-6480: --------------------------------------- According to the malloc(3) man page, is correct on linux too. I have a vague memory of breaking the windows build fixing some of these in classlib in the past so I think the correct fix is to do: #ifdef _WIN32 #include #endif > FreeBSD comparability: Location of malloc > ----------------------------------------- > > Key: HARMONY-6480 > URL: https://issues.apache.org/jira/browse/HARMONY-6480 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: operating system : FreeBSD [8.0p2] > CPU architecture : x86 > ant os name/arch : FreeBSD/i386 > hosting Java : 1.6.0_07 (The FreeBSD Foundation) > Reporter: Mark Eschbach > Priority: Minor > Attachments: fbsd-malloc-stdlib-patch.diff > > > While attempting to run the included unit tests (attempting to track down another issue), I got an error from a test header file. Apparently the standard library declaration for malloc(size_t) and friends are now in , or where they should be. On FreeBSD including will generate a compiler error (via preprocessor), and directs you to include . Those governing the header files are adamant about the modifications. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.