changeset 6684:39e34c15f222

[project @ 2007-06-02 05:52:18 by dbateman]
author dbateman
date Sat, 02 Jun 2007 05:52:19 +0000
parents a2f697dca2a4
children 8c8ef7e4821d
files src/ChangeLog src/graphics.cc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jun 01 23:10:56 2007 +0000
+++ b/src/ChangeLog	Sat Jun 02 05:52:19 2007 +0000
@@ -1,3 +1,8 @@
+2007-06-02  David Bateman  <dbateman@free.fr>
+
+	* graphics.cc (color_property class): g++ doesn't like anonymous
+	enums. Give type to color_type enum.
+
 2007-05-31  Shai Ayal  <shaiay@users.sourceforge.net>
 
 	* graphics.cc (radio_values, radio_property, color_values):
--- a/src/graphics.cc	Fri Jun 01 23:10:56 2007 +0000
+++ b/src/graphics.cc	Sat Jun 02 05:52:19 2007 +0000
@@ -411,7 +411,7 @@
   }
 
 private:
-  enum { color_t, radio_t } current_type;
+  enum current_enum { color_t, radio_t } current_type;
   color_values color_val;
   radio_values radio_val;
   std::string current_val;