This appears to be a syntax error when compiling the Microsoft header file? I don’t understand what you mean about an object getting added to the list, since that’s a description of a runtime error, which has nothing to do with the compile-time error you’re reporting.
In any case, my best guess about the syntax error is that someone, somewhere has added a line to #define lp to something weird. Or, maybe lp is a template parameter, and you’ve instantiated it with something weird.
David