From b993ca098e59ff7aa5f047a7ac26184d11e65c2f Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Tue, 14 Aug 2018 12:08:02 +0900 Subject: [PATCH] Remove build warnings Change-Id: I3bfd4fbc704262d66f5f01b285fbd93a88fe84bf --- dali-csharp-binder/src/input-method-context.cpp | 8 +++++--- dali-csharp-binder/src/layout-length.cpp | 6 ++++-- packaging/dali-csharp-binder.spec | 5 ++++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/dali-csharp-binder/src/input-method-context.cpp b/dali-csharp-binder/src/input-method-context.cpp index 43e798b..ddcd31c 100755 --- a/dali-csharp-binder/src/input-method-context.cpp +++ b/dali-csharp-binder/src/input-method-context.cpp @@ -460,12 +460,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_InputMethodContext_CallbackData(v } SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_Finalize(void * jarg1) { - Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ; + //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted. + //Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ; - arg1 = (Dali::InputMethodContext *)jarg1; + //arg1 = (Dali::InputMethodContext *)jarg1; { try { -// (arg1)->Finalize(); + //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted. + //(arg1)->Finalize(); } catch (std::out_of_range& e) { { SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return ; diff --git a/dali-csharp-binder/src/layout-length.cpp b/dali-csharp-binder/src/layout-length.cpp index 3f6666d..8785831 100755 --- a/dali-csharp-binder/src/layout-length.cpp +++ b/dali-csharp-binder/src/layout-length.cpp @@ -249,11 +249,13 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutLength_LessThan__SWIG_0(vo SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutLength_GreaterThan__SWIG_0(void * jarg1, void * jarg2) { unsigned int jresult ; - Dali::Toolkit::LayoutLength *arg1 = (Dali::Toolkit::LayoutLength *) 0 ; + // Umar:: To do Later/// + //Dali::Toolkit::LayoutLength *arg1 = (Dali::Toolkit::LayoutLength *) 0 ; Dali::Toolkit::LayoutLength *arg2 = 0 ; bool result = false; - arg1 = (Dali::Toolkit::LayoutLength *)jarg1; + // Umar:: To do Later/// + //arg1 = (Dali::Toolkit::LayoutLength *)jarg1; arg2 = (Dali::Toolkit::LayoutLength *)jarg2; if (!arg2) { SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::LayoutLength const & type is null", 0); diff --git a/packaging/dali-csharp-binder.spec b/packaging/dali-csharp-binder.spec index c719af2..0c3ad45 100755 --- a/packaging/dali-csharp-binder.spec +++ b/packaging/dali-csharp-binder.spec @@ -16,9 +16,12 @@ %bcond_with wayland +#please update nui_internal_version below, if you changed version-check.cpp +%define nui_internal_version nui503 + Name: dali-csharp-binder Summary: The DALI Csharp Binder -Version: 1.3.36 +Version: 1.3.36+%{nui_internal_version} Release: 1 Group: uifw/graphic License: Apache-2.0 and BSD-3-Clause and MIT -- 2.7.4