#485 _extra keywords treated differently in IDL

closed-fixed
nobody
None
5
2012-09-19
2012-09-17
sachahony
No

I found an important bug in GDL. In my routines I often pass many keywords using the _extra=_extra mechanism to subroutines.
There are many crashes in GDL related to this which occur when we pass a keyword which is not accepted by a subroutine.

I have attached a basic example which demonstrates the problem.

Discussion

  • sachahony
    sachahony
    2012-09-17

    example of passing _extra keywords

     
  • Alain C.
    Alain C.
    2012-09-17

    could you please detail the OS and the version of GDL you are using,
    I am not able to create problems on recent CVS versions

    Alain

     
  • sachahony
    sachahony
    2012-09-17

    Dear Alain,

    I am using the CVS version which I have checked out today (2012/09/17) compiled by myself on a fedora linux 64-bit machine. I am surprised that you don't have the same problem. Did you try the example as follows?

    .run test_extra_keywords

    With kind regards,

    Sacha

     
  • Alain C.
    Alain C.
    2012-09-19

    OK, sorry, I confirm the bug, it is a regression appearing this summer.

    I put a draft of test case in testsuite/ (test_extra_keywords.pro) but this code does not
    provide real automatic test: suggestions welcome !

    Alain

     
  • Marc Schellens
    Marc Schellens
    2012-09-19

    • status: open --> closed-fixed
     
  • Marc Schellens
    Marc Schellens
    2012-09-19

    The examples are working now. Hope we did not oversee another case tough.