Hi,
  my ASN.1 module has a type like this:

  obj1 ::= SEQUENCE OF obj2

  when I asn.1 compile this, I get the struct
  in my C header file:

        typedef struct obj1 {
            struct obj1 *next;
            struct obj2 *value;
        } *obj1;

  but when I C(C++) compile this, the compiler 
  tell me that:
  "'struct obj1 *' differs in levels of 
    indirection from 'struct obj1'".

  Is there an option for the ASN.1 compiler so that
  the struct be:

        typedef struct obj1_ {
            struct obj1_ *next;
            struct obj2 *value;
        } *obj1;

  thanks in advance,
                            Massimiliano
--
Massimiliano Farris
Fst s.r.l.
System Integration & Software Development
Tel:    (+39) 070 2466 3523
Fax:    (+39) 070 2466 3111
e-mail: [EMAIL PROTECTED]


Reply via email to