Agreed. 2013/9/9 Jacek Caban <[email protected]>: > On 09/09/13 14:32, JonY wrote: >> tkWinSend.c:758:9: error: 'VARIANT' has no member named 'vt' >> vCmd.vt = VT_BSTR; >> >> Kai, does oaidl.h needs fixing? > > I may add some info about this. This is a regression from (see changed > #if around __VARIANT_NAME_*): > http://repo.or.cz/w/mingw-w64/jacek.git/commitdiff/b2b784bc774bfe08a1429607744aa37d9ee7069e > > The intention was, I think, to make is more MSVC-compatible. However, > this didn't work right with g++, which I fixed: > http://repo.or.cz/w/mingw-w64/jacek.git/commitdiff/d50b31441ad6de831b543d7e7dd118f33a97bd85 > - __STDC__ is defined in C++ by g++, but it's not by MSVC for C++, so > there was needed additional !defined(__cplusplus) > - We don't support _MSC_EXTENSIONS, so use it only for MSVC > > After that, C++ should be compatible both with MSVC and old mingw-w64 > versions. However, the original change still affects C. On GCC, we now > don't use nameless union for VARIANT if one uses options like -ansi or > -std=c89. This is what MSVC does if it's ran with similar options, but > it's not compatible with that mingw did in the past. We may want to > rethink that. > > Jacek > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
