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

Bug#532871: marked as done ("Add optional warning for unary minus applied to unsigned types")



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 #532871,
regarding "Add optional warning for unary minus applied to unsigned types"
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.)


-- 
532871: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532871
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: g++-4.4
Version: 4.4.0-5
Severity: normal

The following program compiles cleanly using the given command line:

    #include <iostream>
    using namespace std;
    int main()
    {
        unsigned int j = 5;
        double t;
        t = -j;
        cout << t << endl;
    }

Command line:

    g++-4.4 -g -Wall -Wextra -Wconversion -Wsign-conversion test.cc -o test

The output of the program is

    4.29497e+09

which is what is expected.  But I would also expect some kind of
warning.

The same behaviour exists for gcc-4.3, g++-4.3 and gcc-4.4 (and
probably any other gcc version).

    Cheers,
        Sven

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages g++-4.4 depends on:
ii  gcc-4.4                 4.4.0-5          The GNU C compiler
ii  gcc-4.4-base            4.4.0-5          The GNU Compiler Collection (base 
ii  libc6                   2.9-12           GNU C Library: Shared libraries
ii  libcloog-ppl0           0.15-1           the Chunky Loop Generator (runtime
ii  libgmp3c2               2:4.2.4+dfsg-8.1 Multiprecision arithmetic library
ii  libgmpxx4ldbl           2:4.2.4+dfsg-8.1 Multiprecision arithmetic library 
ii  libmpfr1ldbl            2.4.1-2          multiple precision floating-point 
ii  libppl-c2               0.10.2-2         Parma Polyhedra Library (C interfa
ii  libppl7                 0.10.2-2         Parma Polyhedra Library (runtime l
ii  libstdc++6-4.4-dev      4.4.0-5          The GNU Standard C++ Library v3 (d

g++-4.4 recommends no packages.

Versions of packages g++-4.4 suggests:
pn  g++-4.4-multilib              <none>     (no description available)
pn  gcc-4.4-doc                   <none>     (no description available)
pn  libstdc++6-4.4-dbg            <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: