mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:50:37 +00:00
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
This commit is contained in:
parent
8100e0eec2
commit
5512ae2685
|
@ -47,6 +47,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -54,6 +54,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -52,6 +52,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -50,6 +50,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -51,6 +51,10 @@
|
|||
*/
|
||||
#endif
|
||||
|
||||
#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
|
||||
#pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
|
||||
# define TYPE_ALIGNMENT _TYPE_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -523,6 +523,10 @@ sub output_header {
|
|||
print OUT " */\n";
|
||||
print OUT "#endif\n";
|
||||
print OUT "\n";
|
||||
print OUT "#if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)\n";
|
||||
print OUT "#pragma warning(disable:4116)\n";
|
||||
print OUT "#endif\n";
|
||||
print OUT "\n";
|
||||
print OUT "#if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)\n";
|
||||
print OUT "# define TYPE_ALIGNMENT _TYPE_ALIGNMENT\n";
|
||||
print OUT "#endif\n";
|
||||
|
|
Loading…
Reference in a new issue