Modify

Opened 6 years ago

Closed 6 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@…> 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Leonid Gershanovich <gleonid@…>

comment:1 Changed 6 years ago by Leonid Gershanovich <gleonid@…>

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

comment:2 Changed 6 years ago by Marshall Clow

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

comment:3 Changed 6 years ago by Marshall Clow

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

comment:4 Changed 6 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain az_sw_dude.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.