Modify

Ticket #5345 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

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

comment:1 Changed 3 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 3 years ago by marshall

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

comment:3 Changed 3 years ago by marshall

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

comment:4 Changed 3 years ago by marshall

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.