Skip to content

Commit 2c22ca2

Browse files
authored
Merge pull request #1175 from wxmerkt/wxm-deactivate-unfixed-warnings
Deactivate unfixed warnings
2 parents e1e382d + c055afd commit 2c22ca2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

bindings/python/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ IF(BUILD_PYTHON_INTERFACE)
115115
ADD_LIBRARY(${PYWRAP} SHARED ${${PYWRAP}_SOURCES} ${${PYWRAP}_HEADERS})
116116
ADD_DEPENDENCIES(python ${PYWRAP})
117117

118+
# Do not report:
119+
# -Wconversion as the BOOST_PYTHON_FUNCTION_OVERLOADS implicitly converts.
120+
# -Wcomment as latex equations have multi-line comments.
121+
TARGET_COMPILE_OPTIONS(${PYWRAP} PRIVATE -Wno-conversion -Wno-comment)
122+
118123
SET_TARGET_PROPERTIES(${PYWRAP} PROPERTIES VERSION ${PROJECT_VERSION})
119124
IF(BUILD_WITH_COMMIT_VERSION)
120125
TAG_LIBRARY_VERSION(${PYWRAP})

src/parsers/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace pinocchio
5050

5151
/**
5252
* @brief Retrieve the path of the file whose path is given in an url-format.
53-
* Currently convert from the folliwing patterns : package:// or file://
53+
* Currently convert from the following patterns : package:// or file://
5454
*
5555
* @param[in] string The path given in the url-format
5656
* @param[in] package_dirs A list of packages directories where to search for files

0 commit comments

Comments
 (0)