LINUX.ORG.RU

История изменений

Исправление pacify, (текущая версия) :

> if (strptime(argv[1], «%Y.%m.%d», &tm))

Не кроссплатформенно:

test.cpp: In function `int main(int, char**)':
test.cpp:8: error: `strptime' undeclared (first use this function)
test.cpp:8: error: (Each undeclared identifier is reported only once for each function it appears in.)
Dev-C++ (devcpp-4.9.9.2_setup.exe)
mingw32-g++.exe --version
mingw32-g++.exe (GCC) 3.4.2 (mingw-special)
Dev-Cpp 5.11 TDM-GCC 4.9.2 Setup.exe - аналогично, нет такой функции.

Исходная версия pacify, :

> if (strptime(argv[1], «%Y.%m.%d», &tm))

Не кроссплатформенно:

test.cpp: In function `int main(int, char**)':
test.cpp:8: error: `strptime' undeclared (first use this function)
test.cpp:8: error: (Each undeclared identifier is reported only once for each function it appears in.)