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

Bug#590008: marked as done (cpp-4.4: incorrect macro expansion when a macro call results in the same macro being called)



Your message dated Sun, 05 Jul 2015 16:18:22 +0000
with message-id <E1ZBmcY-0006gk-9d@franck.debian.org>
and subject line Bug#707276: Removed package(s) from unstable
has caused the Debian Bug report #590008,
regarding cpp-4.4: incorrect macro expansion when a macro call results in the same macro being called
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
590008: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590008
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cpp-4.4
Version: 4.4.4-6
Severity: normal

Here's an example

    #define appendc(x) x##c
    #define aXc(X) appendc(a##X)
    #define abc appendc(abb)

    int aXc(b) = 0; // appendc(ab) -> abc -> appendc(abb) -> abbc

    int main(int argc, char *argv[])
    {
        return abbc;
    }

The call "aXc(b)" should result in abbc.
Instead the preprocessor refuses to invoke appendc() the second time, resulting in

    int appendc(abb) = 0;

This isn't a self-referential macro, so I don't see why it should misbehave as it does.
-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cpp-4.4 depends on:
ii  gcc-4.4-base              4.4.4-6        The GNU Compiler Collection (base 
ii  libc6                     2.11.1-3       Embedded GNU C Library: Shared lib
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii  libmpfr1ldbl              2.3.1.dfsg.1-2 multiple precision floating-point 

cpp-4.4 recommends no packages.

Versions of packages cpp-4.4 suggests:
pn  gcc-4.4-locales               <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1:4.4.7-8+rm

Dear submitter,

as the package gcc-4.4 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/707276

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: