From a4e985b4ac424a13f4b8acc46b513feddedb0bb1 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 15 Aug 2015 16:49:02 +0200 Subject: [PATCH] silence obnoxious warning I'd never imagine that this superficial draft will sit there for 5+ years without me getting any chance to continue with that topic. this is so saddening, so I turned off the warning :-/ --- src/proc/streamtype.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/proc/streamtype.hpp b/src/proc/streamtype.hpp index d42fbf6cd..5354d82b5 100644 --- a/src/proc/streamtype.hpp +++ b/src/proc/streamtype.hpp @@ -34,7 +34,6 @@ #ifndef PROC_STREAMTYPE_H #define PROC_STREAMTYPE_H - #include "lib/symbol.hpp" //#include "common/query.hpp" #include "proc/asset/entry-id.hpp" @@ -45,10 +44,12 @@ namespace proc { using lib::Symbol; - + +// "yes mummy, we all know this code is not finished yet..." +#pragma GCC diagnostic ignored "-Wuninitialized" /** - * TODO write type comment + * @todo this is just a draft to show the general idea.... */ struct StreamType : boost::noncopyable { @@ -81,7 +82,7 @@ namespace proc { Usage intentionTag; }; - +#pragma GCC diagnostic pop /**