Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-237

Porting Issue -- basename() not found in Visual Studio 2010

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Pending Closed
    • None
    • None
    • proton-c
    • Windows Visual Studio 2010

    Description

      The basename() function in proton.c is not found in Visual Studio 2010. It is in Visual Studio 2012 when the <filesystem> header is included.

      It is only used in a printf statement and is not needed for porting to Visual Studio 2010:
      printf("Usage: %s [-h] [-c [user[:password]@]host[:port]] [-a <address>] [-m <sasl-mech>]\n", basename(argv[0]));

      Attachments

        Activity

          People

            Unassigned Unassigned
            marydhinton Mary hinton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: