From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23393 invoked by alias); 7 Oct 2004 19:44:03 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23383 invoked from network); 7 Oct 2004 19:44:03 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 7 Oct 2004 19:44:03 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i97JhvNo011734 for ; Thu, 7 Oct 2004 15:44:02 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i97Jhtr05452; Thu, 7 Oct 2004 15:43:56 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7503328D2; Thu, 7 Oct 2004 15:43:33 -0400 (EDT) Message-ID: <41659C65.2090603@gnu.org> Date: Thu, 07 Oct 2004 23:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: ada vs identical flex Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00233.txt.bz2 I'm comparing the generated ada-lex.c output from FLEX 2.5.2. Yes, that's comparing the output from the same "identical" FLEX - one is found on NetBSD/PPC 1.6.2, and the other on FC3. For yyrealloc, I'm finding that some cases are wrapped in #ifndef YY_USES_REJECT, while others are not vis: NBSD FC3 declaration yes no definition yes no reference yes yes ada_flex_use no no On NetBSD, since ada_flex_use tries to refer to a function wrapped in #ifndef YY_USE_REJECT (i.e., #ifdef'ed out) the build barfs. On the other hand on FC3, the declaration / definition are always visible and the build succeeds. Ideas? Andrew