News for hackers. Stuff that matters.

faldstool

Re:CMake Part 1 – The Dark Arts on Saturday July 10, 2021 @09:51AM (#27793356)
>And then for CHECK_FUNCTION_EXISTS();, there are a few rare compilers that do not throw an error at compile-time if said function does not exist. check_function_exists() verifies that the symbol can be linked to rather than compile. That's why it gives it a bogus declaration of char CHECK_FUNCTION_EXISTS().

Funny enough I was trying to build a library yesterday that used check_function_exists() to detect the presence of some library functions. The project was set up to output a static library so check_function_exists() returned true for all the missing functions since it linked the test program without issue. https://gitlab.kitware.com/cmake/cmake/-/issues/18121

Re:Is that ship still stuck? on Thursday March 25, 2021 @09:53PM (#26588007)
Containers are apparently quite heavy. No helicopter currently in production can lift the weight of a fully loaded container on its own. https://www.aerotime.aero/27542-Could-helicopters-solve-the-...