Boost C++ Libraries: Ticket #5750: archive component MinGW/MSYS compile warning https://svn.boost.org/trac10/ticket/5750 <p> Component archive is one of two boost components which generate compile warnings in MinGW/MSYS with gcc-4.5.2: </p> <pre class="wiki"> 1 ./boost/archive/detail/basic_iarchive.hpp:40:44: warning: type attributes ignored after type is already defined 1 ./boost/archive/detail/basic_iarchive.hpp:41:44: warning: type attributes ignored after type is already defined 6 ./boost/archive/detail/basic_iserializer.hpp:42:44: warning: type attributes ignored after type is already defined 5 ./boost/archive/detail/basic_iserializer.hpp:43:44: warning: type attributes ignored after type is already defined 1 ./boost/archive/detail/basic_oarchive.hpp:42:44: warning: type attributes ignored after type is already defined 1 ./boost/archive/detail/basic_oarchive.hpp:43:44: warning: type attributes ignored after type is already defined 6 ./boost/archive/detail/basic_oserializer.hpp:43:44: warning: type attributes ignored after type is already defined 6 ./boost/archive/detail/basic_pointer_iserializer.hpp:40:44: warning: type attributes ignored after type is already defined 2 ./boost/archive/detail/basic_pointer_iserializer.hpp:41:44: warning: type attributes ignored after type is already defined 6 ./boost/archive/detail/basic_pointer_oserializer.hpp:39:44: warning: type attributes ignored after type is already defined 7 ./boost/archive/detail/basic_pointer_oserializer.hpp:40:44: warning: type attributes ignored after type is already defined 6 ./boost/archive/detail/interface_iarchive.hpp:30:56: warning: type attributes ignored after type is already defined 6 ./boost/archive/detail/interface_oarchive.hpp:32:56: warning: type attributes ignored after type is already defined 1 ./boost/archive/polymorphic_iarchive.hpp:49:48: warning: type attributes ignored after type is already defined 1 ./boost/archive/polymorphic_iarchive.hpp:50:48: warning: type attributes ignored after type is already defined 1 ./boost/archive/polymorphic_oarchive.hpp:48:48: warning: type attributes ignored after type is already defined 1 ./boost/archive/polymorphic_oarchive.hpp:49:48: warning: type attributes ignored after type is already defined </pre><p> The preceding numbers are the numbers of occurence.<br /> It is very annoying when developers use it in their products. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5750 Trac 1.4.3 feiyunw@… Thu, 04 Aug 2011 01:33:32 GMT attachment set https://svn.boost.org/trac10/ticket/5750 https://svn.boost.org/trac10/ticket/5750 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">buildlog.zip</span> </li> </ul> <p> boost build log with MinGW/gcc-4.5.2 </p> Ticket Robert Ramey Fri, 05 Aug 2011 18:29:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5750#comment:1 https://svn.boost.org/trac10/ticket/5750#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> hmmm - looks like this ocurrs with -Wall. Picking through all the AUTO_LIB macros to suppress this at just the right time is quite a tedious and error prone process. If you want to do this, re-run the tests and post a patch I'll have a look at it, but I short of that I don't think I can do anything. </p> <p> Robert Ramey </p> Ticket