export FFLAGS="$FFLAGS -DTIZEN_EMULATOR_MODE"
%endif
+# gcc v9 and new Tizen toolchain adds Wall and this code pretty much always checks string & buffer lenghts
+export CFLAGS="$CFLAGS -Wno-stringop-truncation -Wno-stringop-overflow"
+export CXXFLAGS="$CXXFLAGS -Wno-stringop-truncation -Wno-stringop-overflow"
+
%{!?build_type:%define build_type "Release"}
%cmake . -DVERSION=%version \
-DINCLUDEDIR=%_includedir \
/*
- * Copyright (c) 2016-2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
if (dsigRefCtx->digestMethod
&& dsigRefCtx->digestMethod->id
&& dsigRefCtx->digestMethod->id->name) {
- auto digest = reinterpret_cast<const char *const>(
+ auto digest = reinterpret_cast<const char *>(
dsigRefCtx->digestMethod->id->name);
if (DIGEST_MD5.compare(digest) == 0)