Today, I was porting a fairly big library to use it on Windows CE. I created a library project with eVC++ 4.0 then added source files of the library and with pretty smile on my face I hit F7. Then I was pelted with huge amount of error messages :-( Shortly, I revealed where was the problem. I thought it will bowl over everything I planned! I took a deep breath and… Simply, eVC++ 4.0 compiler, as well as VC++ 6.0 (and earlier), does not support in-place initialization of static const member data of class!
(more…)