Code: Alles auswählen
ofstream fileh;
fileh.open(path.c_str(), ios_base::app);
auf debian woody stable kommt jedoch folgende meldungen:
logging.cpp: In method `flog::flog(basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >, int)':
logging.cpp:28: `ios_base' undeclared (first use this function)
logging.cpp:28: (Each undeclared identifier is reported only once
logging.cpp:28: for each function it appears in.)
logging.cpp:28: parse error before `::'
logging.cpp: In method `void flog::file(basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >, int)':
logging.cpp:39: parse error before `::'