aboutsummaryrefslogtreecommitdiff
path: root/odb/include.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-10-27 10:34:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-10-27 10:34:31 +0200
commit65485663ce42b92f3f4f1ea62910fd91d8ec7b29 (patch)
treecb85b8a2323b9e868f4089450936368c33cc6dba /odb/include.cxx
parentef27013bab8ce027cce1c3efe4acafb8aef9d2e3 (diff)
Use expansion point rather than macro location in GCC 4.7.0 and later
Diffstat (limited to 'odb/include.cxx')
-rw-r--r--odb/include.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/include.cxx b/odb/include.cxx
index cabef1e..3d3beb8 100644
--- a/odb/include.cxx
+++ b/odb/include.cxx
@@ -121,7 +121,7 @@ namespace
{
f = c.file ();
tree decl (TYPE_NAME (c.tree_node ()));
- l = DECL_SOURCE_LOCATION (decl);
+ l = real_source_location (decl);
// Any include directives that follow are trailing (specified at
// the end of the main file). Note that we ignore views in this