Menu

slot-types not working on Linux ?

Help
2016-07-29
2016-08-02
  • Gilles Renevey

    Gilles Renevey - 2016-07-29

    When I try to use slot-types on Linux (runtime clips), it returns a lit of all types like below:

    userlog=[instanceslot] (statut FLOAT INTEGER SYMBOL STRING EXTERNAL-ADDRESS FACT-ADDRESS INSTANCE-ADDRESS INSTANCE-NAME)

    My slot object type here is SYMBOL, but no matter what type I try, slot-types always return me the same list of types (FLOAT INTEGER SYMBOL STRING EXTERNAL-ADDRESS FACT-ADDRESS INSTANCE-ADDRESS INSTANCE-NAME).

    The strange thing is that with the "non-runtime" version, it's working fine and returning me only the right type of the slot. Does somebody have a clue what could go wrong here ?

     
  • Gary Riley

    Gary Riley - 2016-07-30

    From section 5.1 of the Advanced Programming Guide:

    Constraint information associated with constructs is not saved to the C files generated by the constructs-to-c command unless dynamic constraint checking is enabled (using the set- dynamic-constraint-checking command).

     
  • Gilles Renevey

    Gilles Renevey - 2016-08-02

    Thank you very much, it works.

     

Log in to post a comment.