From 97281fd4454596834142fa43f83af38695b38e5b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 May 2014 15:02:44 -0700 Subject: GCC 4.9.0 compatibility fixes --- odb/pragma.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/pragma.cxx') diff --git a/odb/pragma.cxx b/odb/pragma.cxx index 89cfd50..6a2d6ba 100644 --- a/odb/pragma.cxx +++ b/odb/pragma.cxx @@ -368,7 +368,7 @@ check_spec_decl_type (declaration const& d, string const& p, location_t l) { - int tc (d.tree_code ()); + gcc_tree_code_type tc (d.tree_code ()); bool type (TREE_CODE_CLASS (tc) == tcc_type); if (p == "no_id") @@ -2509,7 +2509,7 @@ check_qual_decl_type (declaration const& d, string const& p, location_t l) { - int tc (d.tree_code ()); + gcc_tree_code_type tc (d.tree_code ()); bool type (TREE_CODE_CLASS (tc) == tcc_type); if (p == "model" || -- cgit v1.1