[Boost-bugs] [Boost C++ Libraries] #3922: Warnings in Boost 1.42

Subject: [Boost-bugs] [Boost C++ Libraries] #3922: Warnings in Boost 1.42
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-11 15:02:22


#3922: Warnings in Boost 1.42
---------------------------------------------------+------------------------
 Reporter: Stefan Roiser <stefan.roiser@…> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: None
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
---------------------------------------------------+------------------------
 Hi,

 compiling Boost 1.42 e.g. on gcc 4.3.2 produces the following warnings
 (-Wall)

 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_gmtoff'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_hour'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_isdst'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_mday'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_min'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_mon'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_sec'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_wday'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_yday'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_year'
 /include/boost-1_42/boost/date_time/gregorian/conversion.hpp:44: warning:
 missing initializer for member 'tm::tm_zone'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_gmtoff'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_hour'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_isdst'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_mday'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_min'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_mon'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_sec'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_wday'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_yday'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_year'
 /include/boost-1_42/boost/date_time/posix_time/conversion.hpp:46: warning:
 missing initializer for member 'tm::tm_zone'
 /include/boost-1_42/boost/iterator/iterator_facade.hpp:652: warning: type
 qualifiers ignored on function return type
 /include/boost-1_42/boost/lambda/detail/lambda_functors.hpp:164: warning:
 type qualifiers ignored on function return type
 /include/boost-1_42/boost/lambda/detail/select_functions.hpp:55: warning:
 type qualifiers ignored on function return type
 /include/boost-1_42/boost/lambda/detail/select_functions.hpp:60: warning:
 type qualifiers ignored on function return type
 /include/boost-1_42/boost/lambda/detail/select_functions.hpp:65: warning:
 type qualifiers ignored on function return type
 /include/boost-1_42/boost/spirit.hpp:18:4: warning: #warning "This header
 is deprecated. Please use: boost/spirit/include/classic.hpp"
 /include/boost-1_42/boost/spirit.hpp:18:4: warning: #warning is a GCC
 extension
 /include/boost-1_42/boost/spirit/home/classic/phoenix/actor.hpp:343:
 warning: type qualifiers ignored on function return type
 /include/boost-1_42/boost/spirit/phoenix.hpp:18:4: warning: #warning "This
 header is deprecated. Please use: boost/spirit/include/phoenix1.hpp"
 /include/boost-1_42/boost/spirit/phoenix.hpp:18:4: warning: #warning is a
 GCC extension

 Could you please have a look into fixing those.

 Thanks

   Stefan

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3922>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC