You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Jonathan Wakely (JIRA)" <ji...@apache.org> on 2016/02/03 01:06:39 UTC

[jira] [Created] (SANTUARIO-437) Cannot compile as C++11

Jonathan Wakely created SANTUARIO-437:
-----------------------------------------

             Summary: Cannot compile as C++11
                 Key: SANTUARIO-437
                 URL: https://issues.apache.org/jira/browse/SANTUARIO-437
             Project: Santuario
          Issue Type: Bug
          Components: C++
    Affects Versions: C++ 1.7.4
            Reporter: Jonathan Wakely
            Assignee: Scott Cantor
            Priority: Minor


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)