[comp.dcom.lans] Using CHOICE types in courier

phrrngtn@cs.tcd.ie (Paul Harrington) (10/07/88)

?
I am having great difficulty in getting any cooperation from them at
all.
I don't know wheter it is my fault or the fault of the compiler that I
am using.

The problem lies in  the fact that courier produces very funny C code.
It gives an anonymous declaration of the enumerated type corrosponding
to the various choices in every place where a pointer to a choice structure is passed as a parameter to a function.
The C compiler is off by 1 when it references these symbols. 
e.g.
enum {
A=1,
B=2,
C=3}
gives A=2,B=3,C=4 when these values are printf'ed out

Any ideas ?
please e-mail me if this is in the wrong group