diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-10-27 10:34:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-10-27 10:34:31 +0200 |
commit | 65485663ce42b92f3f4f1ea62910fd91d8ec7b29 (patch) | |
tree | cb85b8a2323b9e868f4089450936368c33cc6dba /odb/include.cxx | |
parent | ef27013bab8ce027cce1c3efe4acafb8aef9d2e3 (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.cxx | 2 |
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 |