ares-openbsd/nall/image
invertego c00e402eeb
build: enable strict standards conformance with cl (msvc) (#1317)
From the MSVC docs: "You can use the /permissive- compiler option to
specify standards-conforming compiler behavior. This option disables
permissive behaviors, and sets the /Zc compiler options for strict
conformance."

While generally a positive thing, this does make MSVC stricter than
GCC/Clang in some cases. A couple of things popped out:

- nall::multiFactorImage had a busted constructor. I fixed this and did
some other cleanup while I was at it.
- nall::string has an implicit conversion operator to const char*. This
is honestly really ugly and creates ambiguity and allows for all kinds
of surprising silent conversions. Unfortunately, fixing that (by making
it explicit) will require touching hundreds of lines of code so I opted
not to deal with it now. Instead I fixed the much smaller number of
ambigous cases relating to string literals.
2023-12-04 12:01:50 +00:00
..
blend.hpp
core.hpp build: qualify std::move/forward calls 2022-09-13 09:44:41 +01:00
fill.hpp
interpolation.hpp
load.hpp
multifactor.hpp build: enable strict standards conformance with cl (msvc) (#1317) 2023-12-04 12:01:50 +00:00
scale.hpp
static.hpp
utility.hpp build: qualify std::move/forward calls 2022-09-13 09:44:41 +01:00