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

Remove compiler warnings #854

Merged
merged 5 commits into from
Jan 5, 2024

Conversation

hasenradball
Copy link
Contributor

Remove compiler warnings due to:

changed WebSockets.cpp file

  • Compiler complains about wrong printf format specifier when use millis().

Bildschirmfoto vom 2023-11-27 11-42-07

changed WebSocketsServer.cpp file

  • update to use acceptinstead to deprecated available

Bildschirmfoto vom 2023-11-27 11-47-10

- change in line 484 --> fallthrough
- change in line 754 --> formatspecifier lu instaed d
remove fallthrough fix in code part of line 484.
@hasenradball
Copy link
Contributor Author

@Links2004
Hi can you maybee explain why all checks fail?
I have no clue and the error meassage does not say anything.

@Links2004
Copy link
Owner

Links2004 commented Jan 5, 2024

@hasenradball CI/CD has been fixed, can you rebase your branch, to get the test running?

@hasenradball
Copy link
Contributor Author

@Links2004 Hi, sorry I did not get your Question.

Should I rebase my branch and push again?

@Links2004
Copy link
Owner

yes, exactly.

@hasenradball
Copy link
Contributor Author

@Links2004
look fine now.

@Links2004 Links2004 merged commit 503105a into Links2004:master Jan 5, 2024
36 checks passed
@hasenradball hasenradball deleted the remove_Compiler_warnings branch January 5, 2024 16:27
MitchBradley added a commit to MitchBradley/arduinoWebSockets that referenced this pull request May 2, 2024
* set minimum bufsize for base64 encode

* update github actions to arduino-cli for build tests

* IDE_VERSION --> CLI_VERSION

* fix cli download URL

* use ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS env for setting board URLs

* - Fix memory leak by calling delete _server in the WebSocketsServer destructor.
- Improve performance by looking for match to existing socket before creating a new one

* added option arguments in socket io being, for pingInterval, pongTimeout, and disconnectTimeoutCount

* updated the header file for the same changes

* 🐛➖ removed default values from *.cpp file

* update actions/cache@v3

* fix getSocketNumber for ESP

* code style

* Remove compiler warnings (Links2004#854)

* [Prevent unwanted Compiler Warnings]: Issue Links2004#772

* [Prevent unwanted Compiler Warnings]: Issue Links2004#772 - wrong format specifier in line 754  (Links2004#773)

* [Prevent unwanted Compiler Warnings]: Issue Links2004#772

* fix build_sketch_cli result handling

---------

Co-authored-by: matth-x <63792403+matth-x@users.noreply.github.com>
Co-authored-by: Links2004 <help.markus+gitk@gmail.com>
Co-authored-by: patrick <patcou@yahoo.com>
Co-authored-by: Shreyansh Jain <shreyanshmacro@gmail.com>
Co-authored-by: Lukas Runge <login@lukasrunge.de>
Co-authored-by: Hasenradball <mail@frankhaefele.de>
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.

None yet

2 participants