Closed svigerske closed 2 years ago
As a side note, there are other issues that prevent compilation with /permissive-
. Apparently Microsofts own header files are not ready for this so far: https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170#windows-header-issues
Adding a
struct IUnknown;
before any
#include <windows.h>
works around these.
As this is not a problem with ampl::mp
, I didn't include this here.
Merged. The workaround for
When compiling with MSVC and
/permissive-
, we had problems in format.cc. Members of the anonymous namespace insidefmt
were not found when trying to use them fromfmt::internal
. With the changes from this PR, we avoid this problem.