Skip to content

Instantly share code, notes, and snippets.

@rotoglup
Last active November 15, 2020 10:24
Show Gist options
  • Save rotoglup/9ed1e885487f28739a90cad5a0095fb5 to your computer and use it in GitHub Desktop.
Save rotoglup/9ed1e885487f28739a90cad5a0095fb5 to your computer and use it in GitHub Desktop.
Random notes while using random libraries

ucrtbase.dll

Can be broken for C Runtime, depending on versions of Windows, see fmod broken here:

This is complicated as the UCRT is shipped by windows, but the c++ team first has to fix it then convince the windows team to ship a hotfix.

Microsoft Visual C++ files

The following section is the "REDIST list" that is referenced in the "Distributable Code" section of the Microsoft Software License Terms for Visual Studio Enterprise 2019, Visual Studio Professional 2019, Visual Studio Community 2019 ("the software"). If you have a validly licensed copy of such software, you may copy and distribute with your program the unmodified form of the files listed below, subject to the License Terms for the software.

(...)

Subject to the License Terms for the software, you may copy and distribute with your program any of the files within the following folder and its subfolders except as noted below. You may not modify these files.

  • [VisualStudioFolder]\VC\redist
  • You may not distribute the contents of the following folders:
    • [VisualStudioFolder]VC\Redist\MSVC[version]\debug_nonredist
    • [VisualStudioFolder]VC\Redist\MSVC[version]\debug_nonredist
    • [VisualStudioFolder]\VC\Redist\MSVC[version]\onecore\debug_nonredist

Handmade Math

  • v1.11, 05/2020, https://github.com/HandmadeMath/Handmade-Math
  • I like the C API, and single-file distribution, but had the following problems
    • no support for matrix inverse
    • troubles building in C++ code, with gcc: error: ISO C++ prohibits anonymous structs [-Werror=pedantic]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment