I have this code
typedef struct { const char* fooString; const bool fooBool; }fooStruct;
And this initializer:
sta
The C4610 warning is incorrect. This is a known bug in Visual C++. See the Microsoft Connect bug "Improper issuance of C4610."
Adam Rosenfield explains why the other two warnings (C4510 and C4512) are emitted.