Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error non-void function and usage of non-standard port #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

M256-Automation
Copy link

With following settings:

  • Ubuntu 22.04.1 LTS
  • of_v0.11.2_linux64gcc6
  • Qt Creator 9.0.0 Based on Qt 6.4.1 (GCC 10.3.1 20210422)

we faced these errors:
.../addons/ofxModbusTCP/src/ofxModbusTcpClient.cpp:369: error: control reaches end of non-void function [-Werror=return-type]
.../addons/ofxModbusTCP/src/modbusSlave.h:50: error: control reaches end of non-void function [-Werror=return-type]
.../addons/ofxModbusTCP/src/ofxModbusTcpClient.cpp:378: error: control reaches end of non-void function [-Werror=return-type]
.../addons/ofxModbusTCP/src/modbusSlave.h:57: error: control reaches end of non-void function [-Werror=return-type]

Additionally, we had to use a non-standard port for ModbusTCP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant