Add missing OptimizerWeigthsOption.
1.1 --- a/VERSION Sat Nov 07 10:07:16 2009 +0100
1.2 +++ b/VERSION Sun Nov 08 11:09:49 2009 +0100
1.3 @@ -1,1 +1,1 @@
1.4 -4.0-882223824422
1.5 +4.0-6a615eccb6e3
2.1 --- a/src/common.h Sat Nov 07 10:07:16 2009 +0100
2.2 +++ b/src/common.h Sun Nov 08 11:09:49 2009 +0100
2.3 @@ -140,17 +140,13 @@
2.4 #endif
2.5
2.6
2.7 -#if 0
2.8 -#define PENALIZE_DEPRECATED_OPTION(m_old_name, m_new_name)
2.9 -#else
2.10 #define PENALIZE_DEPRECATED_OPTION(m_old_name, m_new_name) \
2.11 do { \
2.12 cerr << command << \
2.13 ": info: option \"" m_old_name "\" is deprecated; use \"" m_new_name "\" instead" << \
2.14 endl; \
2.15 - sleep(0); \
2.16 + sleep(1); \
2.17 } while (false)
2.18 -#endif
2.19
2.20
2.21 #define lengthof(m_array) (sizeof(m_array) / sizeof(m_array[0]))
3.1 --- a/src/enblend.cc Sat Nov 07 10:07:16 2009 +0100
3.2 +++ b/src/enblend.cc Sun Nov 08 11:09:49 2009 +0100
3.3 @@ -1043,6 +1043,7 @@
3.4 << ": optimizer weights cannot be both zero"
3.5 << endl;
3.6 }
3.7 + optionSet.insert(OptimizerWeightsOption);
3.8 break;
3.9 }
3.10