diff options
author | Thomas Heller <theller@ctypes.org> | 2008-09-29 19:56:24 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-09-29 19:56:24 (GMT) |
commit | e1448730716ee5c62d7290f8cfb4d94ad3f440df (patch) | |
tree | 24fd8f5cc868bc48f4fbb166beecbff40ecc94a0 /Lib | |
parent | eb257ac97ddcb477893a962318219af0871d4b93 (diff) | |
download | cpython-e1448730716ee5c62d7290f8cfb4d94ad3f440df.zip cpython-e1448730716ee5c62d7290f8cfb4d94ad3f440df.tar.gz cpython-e1448730716ee5c62d7290f8cfb4d94ad3f440df.tar.bz2 |
Fix issue #3547 for MingW, update comments.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ctypes/test/test_bitfields.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/ctypes/test/test_bitfields.py b/Lib/ctypes/test/test_bitfields.py index ddd753e..96cd7c6 100644 --- a/Lib/ctypes/test/test_bitfields.py +++ b/Lib/ctypes/test/test_bitfields.py @@ -223,8 +223,9 @@ class BitFieldTest(unittest.TestCase): ("d", c_short, 4), ("e", c_short, 4), ("f", c_int, 24)] - # MS compilers do NOT combine c_short and c_int into - # one field, gcc does. + # MSVC does NOT combine c_short and c_int into one field, GCC + # does (unless GCC is run with '-mms-bitfields' which + # produces code compatible with MSVC). if os.name in ("nt", "ce"): self.failUnlessEqual(sizeof(X), sizeof(c_int) * 4) else: |