bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Debian #194967] gperf: generates invalid code


From: J.H.M. Dassen (Ray)
Subject: [Debian #194967] gperf: generates invalid code
Date: Mon, 9 Jun 2003 21:21:49 +0200
User-agent: Mutt/1.5.4i

The following was reported as a bug through the Debian bug tracking system
(http://bugs.debian.org); please Cc: address@hidden on on-topic
responses.

From: Rob Leslie <address@hidden>
Date: Tue, 27 May 2003 16:09:20 -0700

Package: gperf
Version: 3.0-1
Severity: important
Tags: sid upstream

When the -t option is used, a structured type declaration may appear before
the key words, separated by a '%%' line. Previous versions of gperf allowed
a struct declaration without naming the struct members (which could be placed
instead in a header file.)

For example, the following gperf input used to work:

struct foo;
%%
one, 1
two, 2

Now however, the gperf output is invalid. It generates the following code:

struct foo; *
in_word_set (str, len)
     register const char *str;
     register unsigned int len;
{
  ...

Notice the extra ';' in the return type declaration.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux phobos 2.4.20-3-686-smp #1 SMP Sun May 18 21:32:16 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gperf depends on:
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an
ii  libgcc1                       1:3.3-2    GCC support library
ii  libstdc++5                    1:3.3-2    The GNU Standard C++ Library v3

-- no debconf information
-- 
The "Penguin Powered" logos people love should really be "Penguin
Empowered". That, I think, is the best thing about Linux, too. We've given
the computer back to the user. 
        Alan Cox in http://www2.linuxjournal.com/articles/culture/012.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]