On Mon, 31 Jan 2005, Andreas Jochens wrote:

+static gboolean draw_grow_sign   (GtkWidget *widget, GdkEventExpose *event, 
BstGrowBar *self);
+static gboolean draw_shrink_sign (GtkWidget *widget, GdkEventExpose *event, 
BstGrowBar *self);
+static void     grow_range       (GtkWidget *widget, BstGrowBar *self);
+static void     shrink_range     (GtkWidget *widget, BstGrowBar *self);

thanks, i've applied this part to my local tree, so the 0.6.5 upstream release of beast will have it.

diff -urN ../tmp-orig/beast-0.6.2/bse/bsecxxutils.h ./bse/bsecxxutils.h
--- ../tmp-orig/beast-0.6.2/bse/bsecxxutils.h   2004-01-27 16:28:00.000000000 
+0100
+++ ./bse/bsecxxutils.h 2005-01-31 13:50:02.000000000 +0100
@@ -48,8 +48,8 @@

/* --- template errors --- */
namespace TEMPLATE_ERROR {
-template<typename What, typename Reason> void invalid_type () { 
TEMPLATE_ERROR::abort; }
-template<typename TYPE> void invalid_argument_type () { TEMPLATE_ERROR::abort; 
}
+template<typename What, typename Reason> void invalid_type () { abort(); }
+template<typename TYPE> void invalid_argument_type () { abort(); }
}

this is not a corect fix. the statement within the template is supposed to yield a compiler error to allow compile time checks. 0.6.4 already has this fixed for gcc-4.0, instead of TEMPLATE_ERROR::abort, use:

namespace TEMPLATE_ERROR {
template<typename What, typename Reason> void invalid_type () { bool 
force_compiler_error = void (0); }
template<typename TYPE> void invalid_argument_type () { bool 
force_compiler_error = void (0); }
}

---
ciaoTJ


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to