What I'm doing wrong?

[ 70%] Building CXX object src/CMakeFiles/libledger.dir/amount.cc.o
[ 71%] Building CXX object src/CMakeFiles/libledger.dir/stream.cc.o
[ 73%] Building CXX object src/CMakeFiles/libledger.dir/mask.cc.o
[ 75%] Building CXX object src/CMakeFiles/libledger.dir/times.cc.o
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T 
ledger::{anonymous}::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const char*) [with T = boost::posix_time::ptime; 
InputFacetType = 
boost::date_time::time_input_facet<boost::posix_time::ptime, char>; 
OutputFacetType = boost::date_time::time_facet<boost::posix_time::ptime, 
char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:145:45: error: ‘strptime’ was not 
declared in this scope
if (strptime(str, fmt_str.c_str(), &data))
^
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T 
ledger::{anonymous}::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const char*) [with T = boost::gregorian::date; 
InputFacetType = boost::date_time::date_input_facet<boost::gregorian::date, 
char>; OutputFacetType = 
boost::date_time::date_facet<boost::gregorian::date, char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:182:45: error: ‘strptime’ was not 
declared in this scope
if (strptime(str, fmt_str.c_str(), &data))
^
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T 
ledger::{anonymous}::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const char*) [with T = boost::posix_time::ptime; 
InputFacetType = 
boost::date_time::time_input_facet<boost::posix_time::ptime, char>; 
OutputFacetType = boost::date_time::time_facet<boost::posix_time::ptime, 
char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:150:3: warning: control reaches end 
of non-void function [-Wreturn-type]
}
^
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T 
ledger::{anonymous}::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const char*) [with T = boost::gregorian::date; 
InputFacetType = boost::date_time::date_input_facet<boost::gregorian::date, 
char>; OutputFacetType = 
boost::date_time::date_facet<boost::gregorian::date, char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:187:3: warning: control reaches end 
of non-void function [-Wreturn-type]
}
^
make[2]: *** [src/CMakeFiles/libledger.dir/build.make:1172: 
src/CMakeFiles/libledger.dir/times.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: src/CMakeFiles/libledger.dir/all] 
Error 2
make: *** [Makefile:161: all] Error 2
acprep: ERROR: Execution failed: make

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/44d9155e-affa-4d24-ad22-2c300b5e6867o%40googlegroups.com.

Reply via email to