Peter Dimov

Results 371 comments of Peter Dimov

We have the following options (for e.g. a duration of 42 minutes): 1. `42` 2. `"42m"` 3. `[42, 60, 1]` 4. `[42, "m"]` 5. `{"count": 42, "period": [60, 1]}` 6....

On second thought, I like `[42, [60, 1]]` better than `[42, 60, 1]` because it has more structure and doesn't match the representation of e.g. `std::vector` or something like `math::point3`.

You need to update your vcpkg installation, as the error message suggests: > Please ensure you're using the latest port files with `git pull` and `vcpkg update`.

Codegen demo: https://godbolt.org/z/Mxbh6fjx5 `std::source_location` needs to be passed by value to realize any gains, `boost::source_location` isn't worth supporting, at least for code size reasons.

You should be able to set the `Python_ROOT_DIR` variable to point at the desired version.

I don't think this is possible with CMake. It doesn't support building the same target several times with different configurations like b2 does.

The problem is the macro definition at line 83 of CppUTest/MemoryLeakDetectorMacros.h as visible on the screenshot above.

You need to include the CppUTest headers last, after the Boost.JSON headers (and probably after everything else to avoid similar issues elsewhere.)

It's not a breaking change if it doesn't break anything. :-)