Opened 9 years ago
Last modified 9 years ago
#8856 new Bugs
[date_time] GCC 4.8+ warns unused local typedef...
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | To Be Determined | Component: | date_time |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
GCC 4.8+ warns unused local typedef...
posix_time_io.hpp:50 typedef ‘std_ptime_facet’ locally defined but not used [-Wunused-local-typedefs]
posix_time_io.hpp:117 typedef ‘std_time_facet’ locally defined but not used [-Wunused-local-typedefs]
posix_time_io.hpp:183 typedef ‘std_ptime_facet’ locally defined but not used [-Wunused-local-typedefs]
local_time_io.hpp:39 typedef ‘std_time_facet’ locally defined but not used [-Wunused-local-typedefs]
local_time_io.hpp:126 typedef ‘std_time_facet’ locally defined but not used [-Wunused-local-typedefs]
date_parsing.hpp:116 typedef ‘year_type’ locally defined but not used [-Wunused-local-typedefs]
date_parsing.hpp:163 typedef ‘year_type’ locally defined but not used [-Wunused-local-typedefs]
string_convert.hpp:24 typedef ‘input_type’ locally defined but not used [-Wunused-local-typedefs]
strings_from_facet.hpp:38 typedef ‘ostream_type’ locally defined but not used [-Wunused-local-typedefs]
strings_from_facet.hpp:89 typedef ‘ostream_type’ locally defined but not used [-Wunused-local-typedefs]
Proposed fix attached.
Attachments (2)
Change History (3)
by , 9 years ago
Attachment: | date_time.patch added |
---|
by , 9 years ago
Attachment: | boost-1.54.0-date_time-unused_typedef-2.patch added |
---|
comment:1 by , 9 years ago
This has already been fixed in develop: https://github.com/boostorg/date_time/commit/f42e7f62873bca0f1b1fa44722c202f6a6fa6b6e
Note:
See TracTickets
for help on using tickets.
This one also appears to be necessary.