nholthaus / units

a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
http://nholthaus.github.io/units/
MIT License
934 stars 134 forks source link

Compilation under MINGW #324

Open raghunandannm opened 7 months ago

raghunandannm commented 7 months ago

We use Units within our openpass. One of the goals is to provide openpass executable under windows without the need for MSVC. Therefore, it would be graeat if sources would be compatible to MINGW64 (MSYS2).

We are using the Units library (version 2.3.3), and we use gcc compiler to build openPASS. We have noticed that when working on Windows, "Pascal" macro name conflict would arise.