img4dc icon indicating copy to clipboard operation
img4dc copied to clipboard

changed C standard for C compiler

Open sircodalotkob opened this issue 10 months ago • 0 comments

The common code of img4dc uses the C function realpath() to canonicalize/cleanup paths. Since -std=c99 was added to CMakeLists.txt, the code couldn't be built on Linux anymore, because realpath() is not part of C99. It is, however, part of the GNU extensions to the C99 standard, so using -std=gnu99 does the trick.

sircodalotkob avatar Feb 17 '25 20:02 sircodalotkob