Fix compile error for gcc13 (#471) accepted/tizen_unified_dev accepted/tizen/unified/dev/20230726.120036
author이형주/MDE Lab(SR)/삼성전자 <leee.lee@samsung.com>
Wed, 19 Jul 2023 09:04:40 +0000 (18:04 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 19 Jul 2023 09:04:40 +0000 (18:04 +0900)
* Fix compile error for gcc13

* Filetype to unix

NativeLauncher/inc/ni_common.h
NativeLauncher/inc/tac_installer.h
NativeLauncher/installer-plugin/prefer_nuget_cache_plugin.cc

index 65b21f0..c4e6a8f 100644 (file)
@@ -20,6 +20,7 @@
 #include <functional>
 #include <vector>
 #include <string>
+#include <cstdint>
 
 #ifndef DWORD
 #define DWORD uint32_t
index 7687704..7d9041d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd All Rights Reserved\r
+ * Copyright (c) 2022 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.
  * limitations under the License.
  */
 
-#ifndef __TAC_INSTALLER_H__\r
-#define __TAC_INSTALLER_H__\r
-\r
-#include <functional>\r
-\r
+#ifndef __TAC_INSTALLER_H__
+#define __TAC_INSTALLER_H__
+
+#include <functional>
+#include <string>
+
 typedef enum {
        TAC_STATE_NONE = 0,
        TAC_STATE_INSTALL = 1,
@@ -59,20 +60,20 @@ int tacUninstall(const std::string& pkgId, tac_state state);
  * @param[in] pkgId package ID
  * @return 0 if success, otherwise -1
  */
-int tacClean(const std::string& pkgId);\r
+int tacClean(const std::string& pkgId);
 
 /**
  * @brief Tac remove
  * @param[in] pkgId package ID
  * @return 0 if success, otherwise -1
  */
-int tacRemoved(const std::string& pkgId);\r
+int tacRemoved(const std::string& pkgId);
 
 /**
  * @brief Tac undo
  * @param[in] pkgId package ID
  * @return 0 if success, otherwise -1
  */
-int tacUndo(const std::string& pkgId);\r
+int tacUndo(const std::string& pkgId);
 
-#endif /* __TAC_INSTALLER_H__ */\r
+#endif /* __TAC_INSTALLER_H__ */