Forward declaration not generated when function has default parameter values #12
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
It goes for very simple functions; the following function is not included in the forward declarations:
... while the function below is included in the forward declarations:
Tested in the Arduino IDE, with PlatformIO, and with the standalone
arduino-preprocessor.exe
which I downloaded from the releases page.As a result of this bug, I get errors at compile time, like this:
Debug info
First part of the preprocessor's output:
The resulting forward declarations:
As you can see,
mqtt_publish
is missing in the forward declarations.The text was updated successfully, but these errors were encountered: