This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16672] Weak attribute propagates from declaration to definition
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2004 22:11:31 -0000
- Subject: [Bug c/16672] Weak attribute propagates from declaration to definition
- References: <20040722154022.16672.algrant@myrealbox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-22 22:11 -------
This is not a bug, you should not use the weak attribute in a header which gets included for the
translation unit at the definition.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16672