summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorPavel Otchertsov <pavel.otchertsov@gmail.com>2020-09-18 20:24:56 (GMT)
committerPavel Otchertsov <pavel.otchertsov@gmail.com>2020-09-18 20:24:56 (GMT)
commit6ef64013baf8e43d025dc2a129b538bf875721f9 (patch)
tree47675ad7561c78751a5a849a261532a21fa5e8b5 /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h
parentce89f54ee30038fea7abe7a25a2bfe5c14f08cce (diff)
downloadCMake-6ef64013baf8e43d025dc2a129b538bf875721f9.zip
CMake-6ef64013baf8e43d025dc2a129b538bf875721f9.tar.gz
CMake-6ef64013baf8e43d025dc2a129b538bf875721f9.tar.bz2
FindThreads: Add missing static keyword in pthread test code
When CMAKE_C_FLAGS contains '-Werror -Wmissing-prototypes' the pthread test code check fails with error: "src.c:3:7: error: no previous prototype for 'test_func' [-Werror=missing-prototypes]". Adding 'static' keyword to 'test_func' fixes it.
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions