no legal conversion of initialization expression to type 'type'
If you encounter this error on code that compiled successfully with an earlier version of Visual C++, see Technote: Improved Conformance to ANSI C++.
Possible solution