Opened 11 years ago

Closed 11 years ago

#5750 closed Bugs (wontfix)

archive component MinGW/MSYS compile warning

Reported by: feiyunw@… Owned by: Robert Ramey
Milestone: To Be Determined Component: None
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Component archive is one of two boost components which generate compile warnings in MinGW/MSYS with gcc-4.5.2:

      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

The preceding numbers are the numbers of occurence.
It is very annoying when developers use it in their products.

Attachments (1)

buildlog.zip (167.9 KB ) - added by feiyunw@… 11 years ago.
boost build log with MinGW/gcc-4.5.2

Download all attachments as: .zip

Change History (2)

by feiyunw@…, 11 years ago

Attachment: buildlog.zip added

boost build log with MinGW/gcc-4.5.2

comment:1 by Robert Ramey, 11 years ago

Resolution: wontfix
Status: newclosed

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.

Robert Ramey

Note: See TracTickets for help on using tickets.