Closed laoshanxi closed 3 years ago
std::put_time()
and std::get_time()
are part of C++11 and defined in <iomanip>
. This header is included in the cron header:
#include <vector>
#include <string>
#include <sstream>
#include <bitset>
#include <cctype>
#include <ctime>
#include <iomanip>
#include <algorithm>
As far as I can figure out, support for this was added only in version 5.1.0. Proof: https://godbolt.org/z/a48eGnbGc
You'll need to use a newer version of the compiler.
I am trying to use this lib in app-mesh, faced below compile error: