[Tizen 6.0] Support build with GCC 9.2 sandbox/mkashkarov/tizen_6.0_build
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Thu, 12 Dec 2019 05:03:29 +0000 (08:03 +0300)
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Thu, 12 Dec 2019 05:49:07 +0000 (08:49 +0300)
commit2c2e0a16f6fb649030c615b48a0d9139257d7f3d
treeda9d6a4698bc840ea3bc9a95e93898481864d6d9
parentb4e8e40dd875264f868d21fbee8cb9e6eb75c123
[Tizen 6.0] Support build with GCC 9.2

1. mgr is dependent type, not expected to be a template - so it parses as a non
template and T<..> () is invalid for anything except a template: [temp.dep.type]

  message-service.h:101:18: error: expected primary-expression before '>' token
    101 |  mgr.Register<Msg>([this](const Msg & msg) {
        |

2. Add missing include:

  obj.h:33:44: error: 'function' is not a member of 'std'
     33 | typedef std::unique_ptr<EVP_PKEY_CTX, std::function<void(EVP_PKEY_CTX *)>>
        |                                            ^~~~~~~~
  obj.h:28:1: note: 'std::function' is defined in header '<functional>';
  did you forget to '#include <functional>'?
     27 | #include <data-type.h>
    +++ |+#include <functional>

Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
src/manager/common/pkcs12-impl.cpp
src/manager/crypto/sw-backend/obj.h
src/manager/dpl/core/src/binary_queue.cpp
src/manager/main/message-service.h
src/manager/service/ocsp.cpp