Menu

#182 Variable name - export

v1.0_(example)
closed-fixed
nobody
None
5
2014-05-06
2014-04-08
Visore
No

In gretl_bundle.h (and gretl_bundle.c) on line 137, there is an int variable name "export". export is a reserved C keyword and should not be used as variable name. It probably depends on the compiler, but my gcc is complaining about that.

Discussion

  • Allin Cottrell

    Allin Cottrell - 2014-04-08

    "export" is not a C keyword. It is, however, a keyword in C++. Perhaps we should change the name for the benefit of C++ users.

     
  • Riccardo "Jack" Lucchetti

    I just changed the variable name to "to_dotdir", which also has the advantage of being IMO slightly more informative. Sven, I suppose you can close this ticket.

     
  • Sven S.

    Sven S. - 2014-05-06
    • status: open --> closed-fixed
     
  • Sven S.

    Sven S. - 2014-05-06

    Ok, if I understand correctly no "export" word exists anymore, so I'm closing this as requested.
    -sven

     

Log in to post a comment.