// file : odb/diagnostics.hxx // copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC // license : GNU GPL v3; see accompanying LICENSE file #ifndef ODB_DIAGNOSTICS_HXX #define ODB_DIAGNOSTICS_HXX #include #include #include #include using std::endl; std::ostream& error (cutl::fs::path const&, std::size_t line, std::size_t clmn); std::ostream& warn (cutl::fs::path const&, std::size_t line, std::size_t clmn); std::ostream& info (cutl::fs::path const&, std::size_t line, std::size_t clmn); std::ostream& error (location_t); std::ostream& warn (location_t); std::ostream& info (location_t); std::ostream& error (); std::ostream& warn (); std::ostream& info (); // location_t macro wrappers. // cutl::fs::path location_file (location_t); std::size_t location_line (location_t); std::size_t location_column (location_t); #endif // ODB_DIAGNOSTICS_HXX