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/pragma.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/pragma.cxx') diff --git a/odb/pragma.cxx b/odb/pragma.cxx index 0dc61f2..f40258f 100644 --- a/odb/pragma.cxx +++ b/odb/pragma.cxx @@ -3844,7 +3844,7 @@ post_process_pragmas () // Make sure it is instantiated. // tree decl (TYPE_NAME (p->value.value ())); - location_t loc (DECL_SOURCE_LOCATION (decl)); + location_t loc (real_source_location (decl)); // Reset input location so that we get nice diagnostics in case // of an error. -- cgit v1.1