Miroslaw Osys <od**@zeus.polsl.gliwice.pl> scribbled the following:
Hello everyone!
I am using C for almost 10 years and recently was very surprised.
Under Slackware Linux 8.1 and gcc 2.95.3 I tried to compile program
which simpler version is
----- test.c --------------
#include <termios.h>
int B0;
---------------------------
tried with
gcc -c test.c
and got
test.c:3: parse error before `0000000'
File termios.h seems not to define B0.
Could you explain me this behaviour, please?
termios.h does not define B0, but bits/termios.h, included indirectly
by termios.h, does. This was found by a very simple grep operation after
a preprocess-only invocation of gcc on your code.
--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
|
http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"C++. C++ run. Run, ++, run."
- JIPsoft