From f3088c4f8d5ff65157632a52ab1e2e23b6c8edf1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 26 Aug 2006 13:14:24 +0000 Subject: Workaround HP-UX compiler bug by making Blocks and Columns structures public. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/blocks.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/blocks.cxx b/test/blocks.cxx index edc48be39..86c99d53e 100644 --- a/test/blocks.cxx +++ b/test/blocks.cxx @@ -411,6 +411,8 @@ void BlockSound::play_explosion(float duration) { class BlockWindow : public Fl_Double_Window { + public: + struct Block { int color; @@ -425,6 +427,8 @@ class BlockWindow : public Fl_Double_Window int x; }; + private: + int num_columns_; Column columns_[BLOCK_COLS]; int count_; -- cgit v1.2.3