Commit 7b2588db55fca14bf957408af9eabb391f1c4db5

  • avatar
  • Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> (Committer)
  • Mon Jul 19 20:43:48 CEST 2010
  • avatar
  • koom <noemail> (Author)
  • Mon Jul 12 23:40:32 CEST 2010
added xmessage for linux case of error

Reviewed-by: Bertram.
  
123123 StandardAlert(kAlertStopAlert,
124124 "\pError",
125125 (ConstStr255Param) msg, NULL, NULL);
126#elif defined __linux__
127 std::cerr << "Error: " << error_text << std::endl;
128 std::string msg="xmessage \"" + error_text + "\"";
129 system(msg.c_str());
126130#else
127131 std::cerr << "Error: " << error_text << std::endl;
128132#endif