mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.5 KiB

  1. Hotfix needed for new binutils (bug is in gcc)
  2. (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625)
  3. --- ./kpovmodeler/pmmetaobject.h.orig 2004-09-06 21:19:35.784452528 +0200
  4. +++ ./kpovmodeler/pmmetaobject.h 2004-09-06 21:20:56.917118488 +0200
  5. @@ -247,6 +247,9 @@
  6. case PMVariant::Bool: \
  7. ( o->*( m_setFunction.setBool ) )( v.boolData( ) ); \
  8. break; \
  9. + } \
  10. + switch( type( ) ) \
  11. + { \
  12. case PMVariant::ThreeState: \
  13. ( o->*( m_setFunction.setThreeState ) )( v.threeStateData( ) ); \
  14. break; \
  15. @@ -256,6 +259,9 @@
  16. case PMVariant::Vector: \
  17. ( o->*( m_setFunction.setVector ) )( v.vectorData( ) ); \
  18. break; \
  19. + } \
  20. + switch( type( ) ) \
  21. + { \
  22. case PMVariant::Color: \
  23. ( o->*( m_setFunction.setColor ) )( v.colorData( ) ); \
  24. break; \
  25. @@ -287,6 +293,9 @@
  26. case PMVariant::Bool: \
  27. result.setBool( ( o->*( m_getFunction.getBool ) )( ) ); \
  28. break; \
  29. + } \
  30. + switch( type( ) ) \
  31. + { \
  32. case PMVariant::ThreeState: \
  33. result.setThreeState( ( o->*( m_getFunction.getThreeState ) )( ) ); \
  34. break; \
  35. @@ -296,6 +305,9 @@
  36. case PMVariant::Vector: \
  37. result.setVector( ( o->*( m_getFunction.getVector ) )( ) ); \
  38. break; \
  39. + } \
  40. + switch( type( ) ) \
  41. + { \
  42. case PMVariant::Color: \
  43. result.setColor( ( o->*( m_getFunction.getColor ) )( ) ); \
  44. break; \