-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The constants defined in /usr/include/piduino/arduino/binary.h enter into confilt with those defining the baudrates in /usr/include/aarch64-linux-gnu/bits/termios.h:
$ gcc -o PiZiGate_test main.c $(pkg-config --cflags --libs piduino)
In file included from /usr/include/piduino/arduino/Arduino.h:224,
from main.c:11:
/usr/include/piduino/arduino/binary.h:23: warning: "B0" redefined
#define B0 0In file included from /usr/include/termios.h:39,
from main.c:8:
/usr/include/aarch64-linux-gnu/bits/termios.h:121: note: this is the location of the previous definition
#define B0 0000000 /* hang up */In file included from /usr/include/piduino/arduino/Arduino.h:224,
from main.c:11:
/usr/include/piduino/arduino/binary.h:65: warning: "B110" redefined
#define B110 6In file included from /usr/include/termios.h:39,
from main.c:8:
/usr/include/aarch64-linux-gnu/bits/termios.h:124: note: this is the location of the previous definition
#define B110 0000003In file included from /usr/include/piduino/arduino/Arduino.h:224,
from main.c:11:
/usr/include/piduino/arduino/binary.h:277: warning: "B1000000" redefined
#define B1000000 64In file included from /usr/include/termios.h:39,
from main.c:8:
/usr/include/aarch64-linux-gnu/bits/termios.h:162: note: this is the location of the previous definition
#define B1000000 0010010