RPC define types
RPC define types
(OP)
I'm using W7-64 and cygwin gcc 6.3.1
Any hints for dealing with #define <a name=""
CODE --> c
C:\cygwin64\usr\local\bin\gcc.exe -Wextra -Wall -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wstrict-overflow=5 -Wwrite-strings -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wunreachable-code -c -o cxdrint.o cxdrint.c
In file included from rpc/types.h:97:0,
from rpc/rpc.h:38,
from cxdrint.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>
^
rpc/in.h:48:9: error: macro names must be identifiers
#define </a><a name="IPPROTO_IP" <="" a=""><b>IPPROTO_IP</b> 0 /* dummy for IP */ Thank you.





RE: RPC define types
https://welsim.com
RE: RPC define types
The syntax <="" a=""><b>IPPROTO_IP</b> is challenging.
I have several versions of the library, most have includes that turn into rabbit holes.
I just need the xdr rpc library to link with a SW project. It's just easier to include it rather than remove it.
Thank you.