Package Details: mingw-w64-headers-msvcrt 13.0.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-headers-msvcrt.git (read-only, click to copy)
Package Base: mingw-w64-headers-msvcrt
Description: MinGW-w64 headers for Windows (with MSVCRT as default C runtime library)
Upstream URL: http://mingw-w64.sourceforge.net
Licenses: LicenseRef-custom
Groups: mingw-w64-toolchain-msvcrt, mingw-w64-msvcrt
Conflicts: mingw-w64-headers
Provides: mingw-w64-headers
Submitter: bemxio
Maintainer: bemxio
Last Packager: bemxio
Votes: 2
Popularity: 0.014479
First Submitted: 2025-06-01 14:34 (UTC)
Last Updated: 2025-06-21 20:38 (UTC)

Dependencies (0)

Required by (5)

Sources (2)

Latest Comments

bemxio commented on 2026-04-07 00:38 (UTC)

@geoegii555 Sorry for the delay, I've looked a bit into it and I've missed one thing. GCC needs to be recompiled after installing the headers and CRT, in order to configure libstdc++ under MSVCRT instead of UART. My fault for missing that, I'll create a mingw-w64-gcc-msvcrt package after the headers and CRT get updated on the official repos.

geoegii555 commented on 2026-04-03 20:24 (UTC) (edited on 2026-04-03 20:24 (UTC) by geoegii555)

The headers are broken

LC_ALL=C x86_64-w64-mingw32-g++ test.cpp -o test.exe -static -static-libgcc -static-libstdc++
In file included from /usr/x86_64-w64-mingw32/include/c++/15.2.0/stdlib.h:36,
                 from /usr/lib/gcc/x86_64-w64-mingw32/15.2.0/include/mm_malloc.h:27,
                 from /usr/lib/gcc/x86_64-w64-mingw32/15.2.0/include/xmmintrin.h:34,
                 from /usr/lib/gcc/x86_64-w64-mingw32/15.2.0/include/immintrin.h:31,
                 from /usr/lib/gcc/x86_64-w64-mingw32/15.2.0/include/x86intrin.h:32,
                 from /usr/x86_64-w64-mingw32/include/winnt.h:1695,
                 from /usr/x86_64-w64-mingw32/include/minwindef.h:163,
                 from /usr/x86_64-w64-mingw32/include/windef.h:9,
                 from /usr/x86_64-w64-mingw32/include/windows.h:69,
                 from test.cpp:1:
/usr/x86_64-w64-mingw32/include/c++/15.2.0/cstdlib:147:11: error: «at_quick_exit» has not been declared in «::»
  147 |   using ::at_quick_exit;
      |           ^~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/include/c++/15.2.0/cstdlib:170:11: error: «quick_exit» has not been declared in «::»
  170 |   using ::quick_exit;
      |           ^~~~~~~~~~
/usr/x86_64-w64-mingw32/include/c++/15.2.0/stdlib.h:43:14: error: «at_quick_exit» has not been declared in «std»
   43 |   using std::at_quick_exit;
      |              ^~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/include/c++/15.2.0/stdlib.h:46:14: error: «quick_exit» has not been declared in «std»
   46 |   using std::quick_exit;
      |              ^~~~~~~~~~

(the first line is including windows.h not the standard library)