>>>>> "Nicolas" == Nicolas Neuss <[EMAIL PROTECTED]> writes:

    Nicolas> Raymond Toy <[EMAIL PROTECTED]> writes:

    >> My ESP is not working today.  In what way is it not working?  Plus
    >> Helmut's suggestion about loading the lib in a separate file before
    >> loading your definitions is a good idea.  (Something was broken, I
    >> think, when linkage-tables were incorporated.)
    >> 
    >> Ray

    Nicolas> Here is part of a followup conversation between me and Ray (by 
accident I
    Nicolas> had typed r instead of f in Gnus).  It should be on the list, I 
(we) think.

FWIW, here is a simpler example that demonstrates the bug:

(use-package "ALIEN")
(use-package "C-CALL")

(def-alien-type yes_no_t (enum yes_no_t :NO :YES))
(def-alien-type nil
    (struct foo
            (arg1 yes_no_t)
            (arg2 yes_no_t)))

(def-alien-routine "set_default_options" void
  (options (* (struct foo))))

So the arg1 and arg2 have the same enum type, which causes the
confusion.  The compiler seems to think we're redefining the yes_no_t
type again.

Don't know how to fix this.

Ray


Reply via email to