From 65485663ce42b92f3f4f1ea62910fd91d8ec7b29 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Oct 2014 10:34:31 +0200 Subject: Use expansion point rather than macro location in GCC 4.7.0 and later --- odb/include.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/include.cxx') 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 -- cgit v1.1