rih5342
Marine/Ocean
- May 8, 2007
- 40
Making progress.
Next error involves macros,
and reviewing Kernigen and Ritchie
4.11.2 Macro Substitution
A definition has the form
#define name replacement text
It calls for a macro substitution of the simplest kind-subsequent occurrences of
the token name will be replaced by the replacement text.
The actual error
Does it make sense to count both left and right brackets?
Suggestions?
Next error involves macros,
and reviewing Kernigen and Ritchie
4.11.2 Macro Substitution
A definition has the form
#define name replacement text
It calls for a macro substitution of the simplest kind-subsequent occurrences of
the token name will be replaced by the replacement text.
The actual error
C:
C:\gcc\bin\gcc.exe -c cxdrinit.c
In file included from rpc/types.h:97:0,
from rpc/rpc.h:38,
from cxdrinit.c:2:
rpc/in.h:38:9: error: macro names must be identifiers
#define <a name="_NETINET_IN_H_" <="" a=""><b>_NETINET_IN_H_</b>
^
Does it make sense to count both left and right brackets?
Suggestions?