Ticket #5345 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 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:


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


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

Change History

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

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

comment:3 Changed 6 years ago by marshall

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

comment:4 Changed 6 years ago by marshall

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

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.