Opened 14 years ago

Closed 14 years ago

#1933 closed Bugs (fixed)

special_values not found when compiling date_time/time.hpp

Reported by: Thomas.Lemm@… Owned by: az_sw_dude
Milestone: Boost 1.36.0 Component: date_time
Version: Boost 1.35.0 Severity: Problem
Keywords: special_values Cc:

Description

When compiling (msvc v9.0, macosx g++ 4.0) a source file with

#include "boost/date_time/time.hpp"

included, the compiler produces an error in file "time.hpp": the data type "special_type" is not known. Resolution: include file

#include "boost/date_time/special_defs.hpp"

into time.hpp to resolve the dependency or apply the patch (attached) which does just that.

Attachments (1)

include_special_defs.path (674 bytes ) - added by Thomas.Lemm@… 14 years ago.

Download all attachments as: .zip

Change History (4)

by Thomas.Lemm@…, 14 years ago

Attachment: include_special_defs.path added

comment:1 by Thomas.Lemm@…, 14 years ago

Argh! Forgot to place in correct component which is: date_time. Cannot do that after submitting ....

Please assign to component: date_time

comment:2 by Marshall Clow, 14 years ago

Component: Nonedate_time
Owner: set to az_sw_dude

comment:3 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.