On Thu, Jun 23, 2011 at 17:50, Michael Hertling <mhertl...@online.de> wrote:
> You need to use a C99 compiler for your project This is already a problem. C99 introduces new keywords (e.g. restrict) and removes implicit int. It is entirely possible for part of a project to include C89-conforming legacy code that is not valid C99. The use of C99 or C89 should be a file- and directory-level property. It's also horrible to encumber the poor user just trying to build your project with needing to know whether it is written in C99 or whatever else, nor with how to make their compiler deliver that dialect. CMake does not ask the user to provide the full command to link a shared library, it should not require the user to specify dialect C99/C89.
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake