gcc fil.cc
In file included from /usr/include/c++/3.3.6/backward/list.h:59,
from fil.cc:5:
/usr/include/c++/3.3.6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
fil.cc:7:18: date.h: No such file or directory
fil.cc:11: error: syntax error before `public'
fil.cc:16: error: ISO C++ forbids declaration of `CheckPoint' with no type
fil.cc: In function `int CheckPoint(long int, long int)':
fil.cc:16: error: `ticks' undeclared (first use this function)
fil.cc:16: error: (Each undeclared identifier is reported only once for each
function it appears in.)
fil.cc:16: error: `data' undeclared (first use this function)
fil.cc: At global scope:
fil.cc:19: error: syntax error before `}' token
fil.cc: In function `int main(int, char**)':
fil.cc:24: error: syntax error before `;' token
fil.cc:26: error: `String' undeclared (first use this function)
fil.cc:26: error: syntax error before `=' token
fil.cc:31: error: `intervall' undeclared (first use this function)
fil.cc:32: error: syntax error before `=' token
fil.cc:32: error: uninitialized const `intervallInTicks'
fil.cc:36: error: `List' undeclared (first use this function)
fil.cc:36: error: syntax error before `=' token
fil.cc:42: error: `dumpPath' undeclared (first use this function)
fil.cc:42: error: `initDown' undeclared (first use this function)
fil.cc:42: error: `readValues' undeclared (first use this function)
fil.cc:47: error: `dumpCommand' undeclared (first use this function)
fil.cc:50: error: `downCheckPoints' undeclared (first use this function)
fil.cc:50: error: syntax error before `(' token
fil.cc:51: error: `upCheckPoints' undeclared (first use this function)
fil.cc:51: error: syntax error before `(' token
fil.cc:67: error: request for member `pop_last' in `upLastTimeSpan', which is
of non-aggregate type `long int'
fil.cc:74: error: `statusDumpPath' undeclared (first use this function)
fil.cc: In function `void readValues(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, long int&, long int&)':
fil.cc:96: error: `void readValues(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, long int&, long int&)' used
prior to declaration
fil.cc:98: error: no matching function for call to `std::basic_fstream<char,
std::char_traits<char> >::basic_fstream(std::string&, const
std::_Ios_Openmode&)'
/usr/include/c++/3.3.6/iosfwd:95: error: candidates are:
std::basic_fstream<char, std::char_traits<char> >::basic_fstream(const
std::basic_fstream<char, std::char_traits<char> >&)
/usr/include/c++/3.3.6/fstream:768: error:
std::basic_fstream<_CharT, _Traits>::basic_fstream(const char*,
std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/include/c++/3.3.6/fstream:754: error:
std::basic_fstream<_CharT, _Traits>::basic_fstream() [with _CharT = char,
_Traits = std::char_traits<char>]
fil.cc:99: error: no matching function for call to `std::basic_fstream<char,
std::char_traits<char> >::getline()'
/usr/include/c++/3.3.6/bits/istream.tcc:594: error: candidates are:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::getline(_CharT*, int, _CharT) [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/include/c++/3.3.6/istream:401: error:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::getline(_CharT*, int) [with _CharT = char, _Traits =
std::char_traits<char>]
fil.cc:112: error: `parse' undeclared (first use this function)
fil.cc:115:2: warning: no newline at end of file