From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24849 invoked by alias); 21 Sep 2009 20:04:40 -0000 Received: (qmail 24841 invoked by uid 22791); 21 Sep 2009 20:04:39 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50 X-Spam-Check-By: sourceware.org Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Sep 2009 20:04:36 +0000 Received: from iceland.oarcorp.com (192.168.1.154) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.393.1; Mon, 21 Sep 2009 15:04:34 -0500 Message-ID: <4AB7DC52.2010305@oarcorp.com> Date: Mon, 21 Sep 2009 20:04:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: "gcc@gcc.gnu.org" Subject: Ada type in binding for C99 bool Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00419.txt.bz2 Hi, What is the proper type to use in an Ada binding for a C method that returns a C99 bool? This appears to be an issue in s-stchop-rtems.adb where it binds to the C routine: bool rtems_stack_checker_is_blown( void ) Thanks. -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985