This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Digraphs
- To: <gcc-help at gcc dot gnu dot org>
- Subject: Digraphs
- From: "Eddy Ilg" <eddy at fericom dot net>
- Date: Sun, 28 Oct 2001 00:34:21 +0200
Hi,
I am using GCC and I have a Problem compiling following code:
#define TEST(test) { \
}
getting following error Messages:
g++ -traditional-cpp -Wall -I . -I /pub/robocontrol testapp.cpp -o testapp
In file included from /pub/robocontrol/RoboAPI/packet_net.h:29,
from testapp.cpp:16:
/pub/robocontrol/RoboAPI/module.h:71: parse error before `}'
make: *** [testapp] Error 1
There is no spaces behind the \. I have used other compilers and this works
well. I have found out that cpp recognizes the {} as "digraphs". Is this the
cause and can I disable that feature?
Thanks
Eddy