Commit a2a1369
committed
Mute GCC 13 warning
```
In file included from /home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/extras/test/cores/stm32f1/Stream.h:7,
from /home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/src/StreamUtils/Prints/../Policies/WriteBufferingPolicy.hpp:7,
from /home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/src/StreamUtils/Prints/BufferingPrint.hpp:7,
from /home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/extras/test/BufferingPrintTest.cpp:7:
/home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/extras/test/cores/stm32f1/Print.h:15:18: error: ‘virtual size_t Print::write(const void*, uint32)’ was hidden [-Werror=overloaded-virtual=]
15 | virtual size_t write(const void *buf, uint32 len) = 0;
| ^~~~~
In file included from /home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/src/StreamUtils/Prints/../Policies/../Buffers/LinearBuffer.hpp:7,
from /home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/src/StreamUtils/Prints/../Policies/WriteBufferingPolicy.hpp:9:
/home/runner/work/ArduinoStreamUtils/ArduinoStreamUtils/extras/test/cores/stm32f1/Client.h:24:18: note: by ‘Client::write’
24 | virtual size_t write(const uint8_t *buf, size_t size) = 0;
| ^~~~~
```Print::write(const void*, uint32) was hidden1 parent d6d1eeb commit a2a1369
File tree
2 files changed
+10
-0
lines changed- extras/test/cores
- stm32f1
- stm32f4
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
0 commit comments