Your message dated Fri, 08 May 2015 19:05:09 +0000
with message-id <[email protected]>
and subject line Bug#784273: fixed in cc1111 2.9.0-6
has caused the Debian Bug report #784273,
regarding cc1111: incompletely-disabled warning message 18
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 [email protected]
immediately.)


-- 
784273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784273
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cc1111
Version: 2.9.0-4
Severity: normal

When I compile the following code:

    struct s {
        int v;
    };

    struct t {
        struct s *ptr;
    };

    void *address;

    struct t __code problem = {
        (struct s *) &address,
    };

I get the following warning messages:

    bug.c:12: warning 18: Initializer different levels of indirections
    from type 'struct s near* '
    to type 'struct s generic* '
    bug.c:12: warning 18: Initializer different levels of indirections
    from type 'void generic*  near* '
    to type 'struct s generic* '

(A minor bug is that it's printed twice.)

If I compile with --disable-warning 18, I expect to see no warnings,
but instead I get:

    from type 'struct s near* '
    to type 'struct s generic* '
    from type 'void generic*  near* '
    to type 'struct s generic* '

The two "extra" lines of each warning are not properly suppressed.

A final mystery (to me, at least) is that the declaration

    struct t no_problem = {
        (struct s *) &address,
    };

compiles without any warnings.  Why does the __code storage class
affect it?

--- End Message ---
--- Begin Message ---
Source: cc1111
Source-Version: 2.9.0-6

We believe that the bug you reported is fixed in the latest version of
cc1111, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <[email protected]> (supplier of updated cc1111 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 May 2015 12:24:54 -0600
Source: cc1111
Binary: cc1111
Architecture: source amd64
Version: 2.9.0-6
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description:
 cc1111     - C Compiler for TI/Chipcon 8051-based RF SOCs
Closes: 784273
Changes:
 cc1111 (2.9.0-6) unstable; urgency=low
 .
   * patch from Eric Cooper to suppress additional output when disabling
     warning 18, closes: #784273
Checksums-Sha1:
 54d085e85f50c3b7b5fe244a973496296db68cc3 1776 cc1111_2.9.0-6.dsc
 58d5fd543f25469c4d36630652f96f7ff4540970 48216 cc1111_2.9.0-6.debian.tar.xz
 bf1e6c12a4b2c95cd957725e45d86e8313a8cef3 1249540 cc1111_2.9.0-6_amd64.deb
Checksums-Sha256:
 7d842826cc44650e336bfbd0d85b9b09593b1b53077919868cd720549f36faa1 1776 
cc1111_2.9.0-6.dsc
 4518568e82fdef9cb6f048cb7f79ce857793fcc8929437be430a7cb3085346ef 48216 
cc1111_2.9.0-6.debian.tar.xz
 1401f20eee7103e67d17122b02a2a84596bc529a0bb1cbaa7e1347e797e994c9 1249540 
cc1111_2.9.0-6_amd64.deb
Files:
 0317dc447a9253b2f65ec612aa23e1af 1776 electronics optional cc1111_2.9.0-6.dsc
 727134194f874e88e9b3f01c7d58b138 48216 electronics optional 
cc1111_2.9.0-6.debian.tar.xz
 babed9ea6330e41a2c7a52a84aedc5f5 1249540 electronics optional 
cc1111_2.9.0-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVU0EXDqTYZbAldlBAQpFnBAAtLa3FIvek/EWVG0pHw7hqv4Yt0pAuA69
i0niUDsqnvfrd4vCDqWyyi9cqWXcgnCyIj8UHb7YK6i67BVaS7Bb0L0kZrwMTVVd
0cr0OiRC9HQVuzycL4pJTfOVNEghAHbv5fJZGHhQ5I4CtqcAvmU9dma8h8uW8wY4
Co1LZsUH3AqyQ/wgZzEJtJDoYVyEhvezKOpMPDgFy8BZCuq7sCJ8zOKguEX0FNxl
bUGc5OFaWXhAe+hCFC02sLZmr7ap8605otTy2WnYhRiIeXMVB6jrXOkYNJ9X1l3A
DXJCmbZnjFi4s3rIEobhnnqSunU+iZGkjy8I2nfvZwuKHNWcXqujKa47ahx/4z0l
KoHqQXD6YBxT3YSyTlrJdlt/Sdn1YMwWKNbBGBHcqT6ssGzUGikl5SRg1dAYHykZ
uCMofU/Q+VBytf98nw8hXkidET1/qQk8YlFtEMSJ0z3eIz5QcsRIO3Z6HKoHZTJN
an+4Tc2v+NK5cSQKLNegOLZRpW1dgtnRDB73Ho+GCiKUaeQAhtAQV+DX0UplF0pF
u76tdd4a1V2OLFNysya/PC7EzWOzscG8x8HTeK0rWyD4rFJ31R2Q2LNNgcmGiVPr
J7IvmTv02202WEDOfMLU9p/BJv7ZyXqFe2eVkJ/tQ1FoOuRATqr7qgflZz27H7C+
Md7vRDVwsak=
=V7L2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to