strange error coming out of gcc
Sedat Sengul
sedat.sengul@vestel-usa.com
Wed Mar 7 15:29:00 GMT 2001
Hi people;
I am still trying to compile my ethernet driver :) (sorry about that I
am trying to learn gcc behaviour) .
But I have strange error coming out of gcc for header file.
#define NIC_MASK_ALL_INTERRUPT(pAdapter) {
NIC_COMMAND(pAdapter,COMMAND_SET_INTERRUPT_ENABLE |
DISABLE_ALL_INTERRUPT);
NIC_READ_PORT_USHORT(pAdapter, INTSTATUS_COMMAND_REGISTER);
}
and error is:
3c90x.h:1300: parse error before '('
line 1300 is:
NIC_COMMAND macro
What is the problem with this macro ?
I know it is silly but I need help :(
More information about the Gcc-help
mailing list