Issues

Issue #1551 resolved

C++ inline functions cause warnings.

Rapptz
created an issue

Simple case to reproduce:

.. function:: inline std::string error() noexcept

Gives:

WARNING: Invalid definition: expected parentheses for function [error at 19]
   inline std::string error() noexcept

Removing the inline from the declaration removes the warning:

.. function:: std::string error() noexcept

This assumes .. default-domain:: cpp. I'm unsure if it's something else but these were my observations.

Comments (5)

  1. Log in to comment