After changing

#ifndef WIN32

to 

#if 0

at the quotes.cc, line 65 the compilation proceeded until:

[ 15%] Building CXX object src/CMakeFiles/libledger.dir/times.cc.o
/cygdrive/c/Users/anton/projects/ledger/src/times.cc: In member function 'T 
ledg
er::<unnamed>::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const ch
ar*) [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>]':
/cygdrive/c/Users/anton/projects/ledger/src/times.cc:141:45: error: 
'strptime' w
as not declared in this scope
/cygdrive/c/Users/anton/projects/ledger/src/times.cc: In member function 'T 
ledg
er::<unnamed>::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const ch
ar*) [with T = boost::gregorian::date, InputFacetType = 
boost::date_time::date_i
nput_facet<boost::gregorian::date, char>, OutputFacetType = 
boost::date_time::da
te_facet<boost::gregorian::date, char>]':
/cygdrive/c/Users/anton/projects/ledger/src/times.cc:178:45: error: 
'strptime' w
as not declared in this scope
/cygdrive/c/Users/anton/projects/ledger/src/times.cc:183:3: warning: 
control rea
ches end of non-void function
/cygdrive/c/Users/anton/projects/ledger/src/times.cc: In member function 'T 
ledg
er::<unnamed>::temporal_io_t<T, InputFacetType, 
OutputFacetType>::parse(const ch
ar*) [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>]':
/cygdrive/c/Users/anton/projects/ledger/src/times.cc:146:3: warning: 
control rea
ches end of non-void function
src/CMakeFiles/libledger.dir/build.make:1135: recipe for target 
`src/CMakeFiles/
libledger.dir/times.cc.o' failed
make[2]: *** [src/CMakeFiles/libledger.dir/times.cc.o] Error 1
CMakeFiles/Makefile2:112: recipe for target 
`src/CMakeFiles/libledger.dir/all' f
ailed
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
Makefile:143: recipe for target `all' failed
make: *** [all] Error 2
acprep: ERROR: Execution failed: make





I am not sure what to do. Commenting time parsing doesn't seem to be 
reasonable approach - Ledger will become not functional without times.
Specify USE_BOOST_FACETS? How? Or maybe cygwing has strptime in a different 
headers than other systems? I don't know.

Reply via email to