Ilya Popov

Results 28 comments of Ilya Popov

For the reference, this is what GCC docs say: > -fno-gnu-unique > On systems with recent GNU assembler and C library, the C++ compiler uses the STB_GNU_UNIQUE binding to make...

Cmake already supports assigning link commands to a pool: https://cmake.org/cmake/help/latest/prop_tgt/JOB_POOL_LINK.html and https://cmake.org/cmake/help/latest/prop_gbl/JOB_POOLS.html

There was a PR to implement jobserver protocol in ninja but it has not been merged. See https://github.com/ninja-build/ninja/pull/1140 https://github.com/ninja-build/ninja/issues/1139

For historical precedent: in 2016 `npm` had an issue where progress bar was slowing down `npm install` in some cases by a factor of 2. https://github.com/npm/npm/issues/11283

For the reference: this is where white point is specified in RawSpeed: https://github.com/darktable-org/rawspeed/blob/8c9b377e46ea41530a04504974247d87240450be/data/cameras.xml#L5309

No problem! I will try to make a PR in the coming days.

By the way, for your reference, there has been lately a lot of development in Eigen for multi-dimensional tensors: https://bitbucket.org/eigen/eigen/src/373864b2f85df38592d4d0a5be1d4ef3064d5554/unsupported/Eigen/CXX11/src/Tensor/?at=default

Is this a correct workaround? ``` SDL_PixelFormat fmt* SDL_AllocFormat(surface.Format()); surface.FillRect(rect, SDL_MapRGB(fmt, r, g, b)); SDL_FreeFormat(fmt); ```

Or better this: ``` std::unique_ptr fmt( SDL_AllocFormat(surface.Format()), SDL_FreeFormat); surface.FillRect(rect, SDL_MapRGB(fmt.get(), r, g, b)); ```