You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a python vitrtual env and install dependencies : pip install -r requirements.txt
run sphinx-build -m html source dest
in addition to a number of warning for python functions signature changes: "line buffering (buffering=1) isn't supported in binary mode"
The following type of errors is generated:
pfire/doc/developer_docs/api.rst:5: WARNING: Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Main error: Invalid C++ declaration: Expecting "(" in parameters-and-qualifiers. [error at 40] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const ----------------------------------------^ Potential other error: Error in parsing template argument list. If type argument: Invalid C++ declaration: Expected "...>", ">" or "," in template argument list. [error at 81] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const ---------------------------------------------------------------------------------^ If non-type argument: Error in postfix expression, expected primary expression or type. If primary expression: Invalid C++ declaration: Expected identifier in nested name, got keyword: decltype [error at 50] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const --------------------------------------------------^ If type: Invalid C++ declaration: Expecting '(' or '{' after type in cast expression. [error at 81] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const ---------------------------------------------------------------------------------^
The text was updated successfully, but these errors were encountered:
to replicate:
pip install -r requirements.txt
sphinx-build -m html source dest
in addition to a number of warning for python functions signature changes: "line buffering (buffering=1) isn't supported in binary mode"
The following type of errors is generated:
pfire/doc/developer_docs/api.rst:5: WARNING: Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Main error: Invalid C++ declaration: Expecting "(" in parameters-and-qualifiers. [error at 40] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const ----------------------------------------^ Potential other error: Error in parsing template argument list. If type argument: Invalid C++ declaration: Expected "...>", ">" or "," in template argument list. [error at 81] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const ---------------------------------------------------------------------------------^ If non-type argument: Error in postfix expression, expected primary expression or type. If primary expression: Invalid C++ declaration: Expected identifier in nested name, got keyword: decltype [error at 50] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const --------------------------------------------------^ If type: Invalid C++ declaration: Expecting '(' or '{' after type in cast expression. [error at 81] template<typename mathtype> inline coord< decltype(std::declval< classmathtype >)+std::declval< mathtype >))> operator+ (const coord< mathtype > &a) const ---------------------------------------------------------------------------------^
The text was updated successfully, but these errors were encountered: