Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59e2330

Browse files
authored
GH-131296: Fixes clang-cl warning on Windows in socketmodule.h (GH-131832)
1 parentcbe6ebe commit59e2330

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎Modules/socketmodule.h‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
*/
1919
#ifdefAF_BTH
2020
# include<ws2bth.h>
21+
# ifdef__clang__
22+
# pragma clang diagnostic push
23+
# pragma clang diagnostic ignored "-Wpragma-pack"
24+
# endif
2125
# include<pshpack1.h>
2226

2327
/*
@@ -51,7 +55,10 @@ struct SOCKADDR_BTH_REDEF {
5155

5256
};
5357
# include<poppack.h>
54-
#endif
58+
# ifdef__clang__
59+
# pragma clang diagnostic pop
60+
# endif
61+
#endif/* AF_BTH */
5562

5663
/* Windows 'supports' CMSG_LEN, but does not follow the POSIX standard
5764
* interface at all, so there is no point including the code that

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp