Hi, following patch makes sure that DECLSPEC_DEPRECATED isn't defined to declspec for widl-mode. Also it undefines DEPRECATE_SUPPORTED macro in widl-mode.
Ok for apply? Kai Index: winnt.h =================================================================== --- winnt.h (Revision 6390) +++ winnt.h (Arbeitskopie) @@ -226,9 +226,14 @@ #endif /* FORCEINLINE */ #ifndef DECLSPEC_DEPRECATED +#if !defined (__WIDL__) #define DECLSPEC_DEPRECATED __declspec(deprecated) #define DEPRECATE_SUPPORTED +#else +#define DECLSPEC_DEPRECATED +#undef DEPRECATE_SUPPORTED #endif +#endif #define DECLSPEC_DEPRECATED_DDK #define PRAGMA_DEPRECATED_DDK 0 ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
