From 289364d31a9dcc694d0e277b503c512787402482 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 9 Oct 2010 22:50:26 +0200 Subject: make dillo compile with clang * Variable length arrays are not allowed in C++. They are supported in C99 and gcc seems to accept them in C++ mode. Replace the few places where variable length arrays are used. * The widget member in ComplexButtonResource was colliding with the widget member of FltkResource, so rename it to childWidget. --- dw/ui.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dw/ui.hh') diff --git a/dw/ui.hh b/dw/ui.hh index 02aab093..b0a22cbf 100644 --- a/dw/ui.hh +++ b/dw/ui.hh @@ -382,7 +382,7 @@ private: friend class LayoutReceiver; LayoutReceiver layoutReceiver; - Widget *widget; + Widget *childWidget; protected: Layout *layout; -- cgit v1.2.3