在 2025-11-21 23:35, Martin Storsjö 写道:
This silences warnings like this:

     ../math/fmal.c:34:3: warning: packed attribute is unnecessary for 'struct 
x87reg_::(anonymous at ../math/fmal.c:34:3)' [-Wpacked]

Signed-off-by: Martin Storsjö <[email protected]>
---
  mingw-w64-crt/math/arm-common/log2.c | 5 +++++
  mingw-w64-crt/math/fma.c             | 6 ++++++
  mingw-w64-crt/math/fmaf.c            | 6 ++++++
  mingw-w64-crt/math/fmal.c            | 6 ++++++
  mingw-w64-crt/math/frexp.c           | 5 +++++
  5 files changed, 28 insertions(+)


I think `__attribute__((__packed__))` can be removed from these types.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to