--- gnome-phonemgr-0.2.1/src/gsm.cc 2003-09-19 23:01:56.679823440 +0100 +++ gnome-phonemgr-0.2.1/src/gsm.cc 2003-09-19 23:07:57.923905992 +0100 @@ -260,11 +260,11 @@ } // while (1) } catch (gsmlib::GsmException &ge) { - cerr << ("[ERROR]: ") << ge.what() << endl; + std::cerr << ("[ERROR]: ") << ge.what() << std::endl; if (ge.getErrorClass() == gsmlib::MeTaCapabilityError) - cerr << ("[ERROR]: ") + std::cerr << ("[ERROR]: ") << ("(try setting sms_type, please refer to gsmsmsd manpage)") - << endl; + << std::endl; m_signal_status.emit(PHONELISTENER_ERROR); --- gnome-phonemgr-0.2.1/src/gsm.h 2003-09-19 22:32:34.482718120 +0100 +++ gnome-phonemgr-0.2.1/src/gsm.h 2003-09-19 22:34:39.818664160 +0100 @@ -2,10 +2,14 @@ #define _PHONEMGR_GSM_H #include - +#include +#include #include #include +using std::vector; +using std::string; + // local class to handle SMS events struct IncomingMessage --- gnome-phonemgr-0.2.1/src/phonemgr.cc 2003-09-19 23:17:19.463538992 +0100 +++ gnome-phonemgr-0.2.1/src/phonemgr.cc 2003-09-19 23:17:04.058880856 +0100 @@ -362,6 +362,6 @@ phonemgr_applet_factory, NULL); } catch(const Glib::Error& ex) { - cout << ex.what() << endl; + std::cout << ex.what() << std::endl; } }