diff options
author | Brad King <brad.king@kitware.com> | 2010-12-16 18:34:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-16 18:34:54 (GMT) |
commit | b3efdb58d5436276b65f1dad396265a6cc742910 (patch) | |
tree | 318bdadef0dd4a239c04779febf661ebd7b26660 /Tests/CTestTestResourceLock | |
parent | aadee46c60953f7e3d3715bb8847dfa6b8bf64fb (diff) | |
download | CMake-b3efdb58d5436276b65f1dad396265a6cc742910.zip CMake-b3efdb58d5436276b65f1dad396265a6cc742910.tar.gz CMake-b3efdb58d5436276b65f1dad396265a6cc742910.tar.bz2 |
CheckCCompilerFlag: Strict signature of 'main' (#11615)
Use "int main(void)" instead of just "int main()" so that compiling with
"gcc -Werror=strict-prototypes" works. Test this check using the flags
"-Werror -Wstrict-prototypes" to work with old GCC versions.
Diffstat (limited to 'Tests/CTestTestResourceLock')
0 files changed, 0 insertions, 0 deletions