Skip to content

Commit

Permalink
Merge pull request #1175 from wxmerkt/wxm-deactivate-unfixed-warnings
Browse files Browse the repository at this point in the history
Deactivate unfixed warnings
  • Loading branch information
jcarpent authored Apr 21, 2020
2 parents e1e382d + c055afd commit 2c22ca2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ IF(BUILD_PYTHON_INTERFACE)
ADD_LIBRARY(${PYWRAP} SHARED ${${PYWRAP}_SOURCES} ${${PYWRAP}_HEADERS})
ADD_DEPENDENCIES(python ${PYWRAP})

# Do not report:
# -Wconversion as the BOOST_PYTHON_FUNCTION_OVERLOADS implicitly converts.
# -Wcomment as latex equations have multi-line comments.
TARGET_COMPILE_OPTIONS(${PYWRAP} PRIVATE -Wno-conversion -Wno-comment)

SET_TARGET_PROPERTIES(${PYWRAP} PROPERTIES VERSION ${PROJECT_VERSION})
IF(BUILD_WITH_COMMIT_VERSION)
TAG_LIBRARY_VERSION(${PYWRAP})
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace pinocchio

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

0 comments on commit 2c22ca2

Please sign in to comment.