在 2024-09-23 19:18, Hannes Domani via Mingw-w64-public 写道:
Note that it's also possible to patch gcc to ignore function casts
involving FARPROC types, that's what I did in my gcc build:


From: Hannes Domani <ssb...@yahoo.de>
Date: Sun, 28 Mar 2021 14:35:56 +0200
Subject: [PATCH] Don't warn for function casts involving FARPROC

---
  gcc/c/c-typeck.cc | 5 +++++
  gcc/cp/typeck.cc  | 5 +++++
  2 files changed, 10 insertions(+)


Would you please send the patch to gcc-patc...@gcc.gnu.org?

(Also I suggest you should check for `__stdcall` for completeness.)


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to