Commit a142327
committed
Fix build issue with arm none eabi gcc v9.2.1
Firmata/Firmata.h:131:17: error: friend declaration of 'void encodeByteStream(size_t, uint8_t*, size_t) const' specifies default arguments and isn't a definition [-fpermissive]
131 | friend void FirmataMarshaller::encodeByteStream (size_t bytec, uint8_t * bytev, size_t max_bytes = 0) const;
| ^~~~~~~~~~~~~~~~~
Ref:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2000/n1263.html
Fixes firmata#437
Signed-off-by: Frederic Pillon <[email protected]>1 parent 1ccb2c0 commit a142327
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments