[CMake] conflicting types for built-in function 'snprintf'

Steven Van Ingelgem steven at vaningelgem.be
Wed Jul 8 07:57:53 EDT 2009


2009/7/8 Eric Noulard <eric.noulard at gmail.com>

-fno-builtin is not a definition, and try_compile (following the cmake docs)
will add it to "add_definitions()", maybe it will work, but I think that's
also not a very clean solution ;).
I tried your solution, but I didn't see the parameter added into the error
log... So I think CMake only takes parameters starting with -D and /D?


Grtz,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090708/ec099d7f/attachment.htm>


More information about the CMake mailing list