diff options
author | Pavel Otchertsov <pavel.otchertsov@gmail.com> | 2020-09-18 20:24:56 (GMT) |
---|---|---|
committer | Pavel Otchertsov <pavel.otchertsov@gmail.com> | 2020-09-18 20:24:56 (GMT) |
commit | 6ef64013baf8e43d025dc2a129b538bf875721f9 (patch) | |
tree | 47675ad7561c78751a5a849a261532a21fa5e8b5 /Help/guide/tutorial/Step9/MathFunctions/MakeTable.cxx | |
parent | ce89f54ee30038fea7abe7a25a2bfe5c14f08cce (diff) | |
download | CMake-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/Step9/MathFunctions/MakeTable.cxx')
0 files changed, 0 insertions, 0 deletions