Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: gdb@sources.redhat.com
Subject: ada vs identical flex
Date: Thu, 07 Oct 2004 23:17:00 -0000	[thread overview]
Message-ID: <41659C65.2090603@gnu.org> (raw)

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



             reply	other threads:[~2004-10-07 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07 23:17 Andrew Cagney [this message]
2004-10-08  2:32 ` Paul Hilfinger
2004-10-08 11:00 Paul Hilfinger
2004-10-09  0:29 ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41659C65.2090603@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox