From c1f09034e0a58b6b2c76013cd7b57496c930ce72 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Mon, 21 Jul 2014 10:54:31 +0200 Subject: [PATCH] Trying to make old gcc on Jenkins happy. --- simgear/nasal/cppbind/Ghost.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simgear/nasal/cppbind/Ghost.hxx b/simgear/nasal/cppbind/Ghost.hxx index 84a655cc..7b0d7fbe 100644 --- a/simgear/nasal/cppbind/Ghost.hxx +++ b/simgear/nasal/cppbind/Ghost.hxx @@ -78,6 +78,10 @@ get_pointer(T ptr) // The old version of g++ used on Jenkins (16.11.2012) only compiles // this version. # define SG_GET_TEMPLATE_MEMBER(type, member) &member + + // With old g++ on Jenkins (21.07.2014), ADL for boost::static_pointer_cast + // does not work. + using boost::static_pointer_cast; #else // VS (2008, 2010, ... ?) only allow this version. # define SG_GET_TEMPLATE_MEMBER(type, member) &type::template member -- 2.39.5