This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7046: #pragma pack(1) context evaluated at point of instantiation rather than declaration
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wuerkner at gmx dot de
- Date: 22 Nov 2002 01:25:39 -0000
- Subject: Re: c++/7046: #pragma pack(1) context evaluated at point of instantiation rather than declaration
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wuerkner at gmx dot de, gcc-gnats at gcc dot gnu dot org
Old Synopsis: wrong template instantiation within #pragma pack(1) context
New Synopsis: #pragma pack(1) context evaluated at point of instantiation rather than declaration
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Nov 21 17:25:39 2002
State-Changed-Why:
Confirmed. Not sure what the right answer is, but it would
certainly be beneficial if the pragma-pack thing would be
considered at the point of declaration, not at the point of
instantiation -- just like an attribute attached to the type.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7046