Revert "[Tizen] GCC 9.2 Support"
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 21 Jan 2020 08:34:46 +0000 (17:34 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Tue, 21 Jan 2020 08:34:46 +0000 (17:34 +0900)
This reverts commit 675e476383c8c584e3c9f7b8c55279d4d4105fd1.

build/tizen/CMakeLists.txt
dali-toolkit/internal/controls/scene3d-view/gltf-loader.cpp

index 07344eb..691ed18 100644 (file)
@@ -151,7 +151,7 @@ IF( NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
   ADD_COMPILE_OPTIONS( -Werror )
 ENDIF()
 
-ADD_COMPILE_OPTIONS( -Wall -Wno-unused-parameter -Wno-float-equal -Wno-class-memaccess )
+ADD_COMPILE_OPTIONS( -Wall -Wno-unused-parameter -Wno-float-equal )
 
 IF( ENABLE_COVERAGE OR "$ENV{CXXFLAGS}" MATCHES --coverage )
   ADD_COMPILE_OPTIONS( --coverage )
index 291b95f..0f69edc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -236,7 +236,7 @@ void FitBuffer( Dali::Vector<Vector4>& bufferDestination, Dali::Vector<T>& buffe
 template <typename T>
 bool ReadBinFile( Vector<T> &dataBuffer, std::string url, int32_t offset, int32_t count )
 {
-  Dali::FileStream fileStream( url, FileStream::READ | FileStream::BINARY );
+  Dali::FileStream fileStream( url, FileStream::READ || FileStream::BINARY );
   FILE* fp = fileStream.GetFile();
   if( !fp )
   {