summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step6
diff options
context:
space:
mode:
authorTimo Röhling <roehling@debian.org>2021-10-22 13:47:14 (GMT)
committerTimo Röhling <roehling@debian.org>2021-10-22 13:48:51 (GMT)
commit1ab7c3cd28b27ca162c4559e1026e5cad1898ade (patch)
tree47eea29a594e89ed481780d320cb8b1483d1e377 /Help/guide/tutorial/Step6
parentca3e83250f43285fa3c9a0f5e062a3fd94a097e0 (diff)
downloadCMake-1ab7c3cd28b27ca162c4559e1026e5cad1898ade.zip
CMake-1ab7c3cd28b27ca162c4559e1026e5cad1898ade.tar.gz
CMake-1ab7c3cd28b27ca162c4559e1026e5cad1898ade.tar.bz2
CheckSymbolExists: Work around GCC failure with -pedantic-errors option
GCC mistakenly issues the pedantic warning "ISO C forbids conversion of function pointer to object pointer type". With -pedantic-errors in the compile flags, that diagnostic prevents check_symbol_exists() from detecting function symbols. The solution is to filter out -pedantic-errors (and -Werror, just to be future proof) before invoking try_compile(). Fixes: #13208
Diffstat (limited to 'Help/guide/tutorial/Step6')
0 files changed, 0 insertions, 0 deletions