#28 Rename variable "new"

v0.6.0
closed
1
2008-03-13
2008-01-15
No

dk.h has two references to the variable name "new", in the function declarations for dk_options() and dk_timeout(). The variable name is a reserved keyword in C++ so I can't compile a C++ app against the C library without making changes manually.

Could you change these names to "newx" or something else relevant?

This isn't highly important, but thought I'd mention it since it's a minor change, and there might be someone else out there doing the same thing.

Thanks.

Discussion

  • Paul MacIntosh

    Paul MacIntosh - 2008-01-15
    • priority: 5 --> 1
     
  • Anonymous

    Anonymous - 2008-03-06
    • milestone: --> v0.6.0
    • assigned_to: nobody --> sm-msk
     
  • Anonymous

    Anonymous - 2008-03-06

    Logged In: YES
    user_id=1048957
    Originator: NO

    Done for 0.6.1.

     
  • Anonymous

    Anonymous - 2008-03-13

    Logged In: YES
    user_id=1048957
    Originator: NO

    v1.0.0 released, servicing this request.

     
  • Anonymous

    Anonymous - 2008-03-13
    • status: open --> closed
     

Log in to post a comment.