Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows From: unlvsur unlvsur<mailto:[email protected]> Sent: Thursday, November 3, 2022 18:00 To: [email protected]<mailto:[email protected]> Subject: Please do not define __stdcall macro when compiler provides them This causes inconsistent for GCC C++20 module. Just remove them ../../include/fast_io_core_impl/allocation/win32_heapalloc.h:16:14: error: inconsistent imported macro definition '__stdcall' 16 | extern void* __stdcall HeapAlloc(void*,::std::uint_least32_t,::std::size_t) noexcept | ^~~~~~~~~ <built-in>: note: '#define __stdcall __attribute__((__stdcall__))' In file included from c:\users\unlvs\documents\x86_64-w64-mingw32\x86_64-w64-mingw32\include\corecrt.h:10, from c:\users\unlvs\documents\x86_64-w64-mingw32\x86_64-w64-mingw32\include\crtdefs.h:10, from c:\users\unlvs\documents\x86_64-w64-mingw32\x86_64-w64-mingw32\include\stddef.h:7, from c:\users\unlvs\documents\x86_64-w64-mingw32\x86_64-w64-mingw32\lib\gcc\x86_64-w64-mingw32\13.0.0\include\stddef.h:1, from c:\users\unlvs\documents\x86_64-w64-mingw32\x86_64-w64-mingw32\include\c++\13.0.0\cstddef:50, from ../../include/fast_io_core.h:13, from ../../include/fast_io_freestanding.h:12, from ../../include/fast_io_hosted.h:17, from ../../include/fast_io.h:9, of module ./../../include/fast_io.h, imported at name.cc:1: c:\users\unlvs\documents\x86_64-w64-mingw32\x86_64-w64-mingw32\include\_mingw.h:34: note: '#define __stdcall ' 34 | #define __stdcall Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
