Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-437

Cannot compile as C++11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: C++ 1.7.0, C++ 1.7.1, C++ 1.7.2, C++ 1.7.3
    • Fix Version/s: C++ 2.0.0
    • Component/s: C++
    • Labels:
      None

      Description

      InteropResolver::resolveKey(DSIGKeyInfoList *) in tools/checksigInteropResolver.cpp has:

      return false;

      It's meant to return a pointer, and in C++11 only integer literals are valid null pointer constants, not other constant expressions that happen to have the value zero.

      I suggest changing it to return NULL.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                scantor Scott Cantor
                Reporter:
                jwakely Jonathan Wakely
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: