Commit 8c19835
committed
GCC10 Compile Fix
GCC10 made `-fno-common` a default flag and for a slightly confusing reason
this leads to the compiler complaining about multiple definitions of the
keyboard_cmd enum. Work around that by merging the declaration of the enum into
the typedef of `keyboard_cmd_t`.
Ref.: https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
Signed-off-by: Bjoern Doebel <[email protected]>1 parent 30acb04 commit 8c19835
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments