File: boost-exceptions.cpp

package info (click to toggle)
ekiga 4.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 31,612 kB
  • ctags: 14,511
  • sloc: cpp: 72,155; sh: 11,298; xml: 8,904; ansic: 8,572; makefile: 1,738; asm: 453; awk: 16
file content (12 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdlib.h>
#include <iostream>
#include <boost/throw_exception.hpp>

#ifdef BOOST_NO_EXCEPTIONS
void
boost::throw_exception (const std::exception&)
{
  std::cerr << "Unhandled exception" << std::endl; // FIXME: do better
  abort ();
}
#endif