From 7a971470e87dc489c198a66b7c6cbd673c37539b Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 18 May 2016 10:19:01 +1000 Subject: [PATCH] traits: disable problematic template for GCC GCC experiences an ICE when compiling an (unused) trait template with stabs debugging stupport. Disable temporarily --- traits.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/traits.hpp b/traits.hpp index ce1f2dc..6124e14 100644 --- a/traits.hpp +++ b/traits.hpp @@ -100,11 +100,14 @@ namespace vk { static constexpr auto func = vkCreateGraphicsPipelines; }; - template <> struct life_traits { - template - static constexpr auto create = create_traits

::func; - static constexpr auto destroy = vkDestroyPipeline; - }; + // XXX: Currently causes a segfault under gcc-5.3.0 when stabs debgging is + // enabled. See gcc#71058 + // + //template <> struct life_traits { + // template + // static constexpr auto create = create_traits

::func; + // static constexpr auto destroy = vkDestroyPipeline; + //}; template <> struct life_traits { static constexpr auto create = vkCreatePipelineCache;