blob: 2c3bd6876d975d540f53ec0522a83e73912b1ac0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// file : odb/error.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : GNU GPL v3; see accompanying LICENSE file
#ifndef ODB_ERROR_HXX
#define ODB_ERROR_HXX
#include <odb/gcc.hxx>
#include <iostream>
#include <cutl/fs/path.hxx>
using std::endl;
std::ostream&
error (cutl::fs::path const&, size_t line, size_t clmn);
std::ostream&
error (location_t);
inline std::ostream&
error ()
{
return error (input_location);
}
#endif // ODB_ERROR_HXX
|