Opened 12 years ago

Closed 12 years ago

#5345 closed Bugs (fixed)

time_serialize.hpp: fails to compile

Reported by: Leonid Gershanovich Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.46.0 Severity: Problem
Keywords: Cc:

Description

looks like typename keyword is used with non template argument.

typename posix_time::time_duration::hour_type h = td.hours();

I am attaching a patch

Attachments (1)

time_serialize.hpp.patch.1_34_1 (2.6 KB ) - added by Leonid Gershanovich <gleonid@…> 12 years ago.

Download all attachments as: .zip

Change History (5)

by Leonid Gershanovich <gleonid@…>, 12 years ago

comment:1 by Leonid Gershanovich <gleonid@…>, 12 years ago

I failed to mention that because of this I am getting errors with gcc 4.1.2 on RHEL 5

comment:2 by Marshall Clow, 12 years ago

I tested this patch with gcc 4.2 and it compiled cleanly w/-Wall

comment:3 by Marshall Clow, 12 years ago

(In [70770]) Applied patch - Refs #5345

comment:4 by Marshall Clow, 12 years ago

Resolution: fixed
Status: newclosed

(In [70986]) Merge date/time fixes to release. Fixes #5345

Note: See TracTickets for help on using tickets.