Browse Source

Убрана кодировка cp1251, ибо не нужна. Исправлен выбор конструктора без аргументов

master
Тим 11 months ago
parent
commit
be798ea73e

+ 1
- 1
CMakeLists.txt View File

@@ -28,7 +28,7 @@ getSrcList(${GSL}, FileMan)
28 28
 file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST} ${GSL})
29 29
 
30 30
 
31
-add_definitions("-std=c++14 -fexec-charset=CP1251")
31
+add_definitions("-std=c++14")
32 32
 
33 33
 add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_LIST})
34 34
 

+ 1
- 1
CleoDecompiler.cpp View File

@@ -77,7 +77,7 @@ bool CleoDecompiler::loadScript( SRString script )
77 77
 
78 78
 	memset( _decompileMap, 0, bin.size() );
79 79
 
80
-	for( int i = 0; i < bin.size(); ++i )
80
+	for( size_t i = 0; i < bin.size(); ++i )
81 81
 		_script[i] = bin.at( i );
82 82
 
83 83
 	return true;

+ 1
- 1
CleoDecompiler.h View File

@@ -86,7 +86,7 @@ public:
86 86
 	 * \detail Load and parse SCM file
87 87
 	 */
88 88
 	CleoDecompiler( CFileText scm );
89
-	CleoDecompiler( CFileInfo SCM = CFileInfo("SASCM.INI") );
89
+	CleoDecompiler( CFileInfo SCM );
90 90
 	CleoDecompiler( SRString SCM = "SASCM.INI" );
91 91
 	CleoDecompiler( byte *address, size_t size );
92 92
 

+ 1
- 1
tests/decompile/allOpcode/CMakeLists.txt View File

@@ -35,7 +35,7 @@ file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST}
35 35
 	${LIB_CD_FMH})
36 36
 
37 37
 
38
-add_definitions("-std=c++14 -ffunction-sections -fexec-charset=CP1251")
38
+add_definitions("-std=c++14 -ffunction-sections")
39 39
 set(BUILD_LFLAGS "-Wl,--gc-sections -Wl,--strip-all")
40 40
 set(CMAKE_SHARED_LINKER_FLAGS ${BUILD_LFLAGS})
41 41
 

+ 1
- 1
tests/decompile/firstOpcode/CMakeLists.txt View File

@@ -35,7 +35,7 @@ file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST}
35 35
 	${LIB_CD_FMH})
36 36
 
37 37
 
38
-add_definitions("-std=c++14 -ffunction-sections -fexec-charset=CP1251")
38
+add_definitions("-std=c++14 -ffunction-sections")
39 39
 set(BUILD_LFLAGS "-Wl,--gc-sections -Wl,--strip-all")
40 40
 set(CMAKE_SHARED_LINKER_FLAGS ${BUILD_LFLAGS})
41 41
 

+ 1
- 1
tests/opcodes/CMakeLists.txt View File

@@ -35,7 +35,7 @@ file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST}
35 35
 	${LIB_CD_FMH})
36 36
 
37 37
 
38
-add_definitions("-std=c++14 -ffunction-sections -fexec-charset=CP1251")
38
+add_definitions("-std=c++14 -ffunction-sections")
39 39
 set(BUILD_LFLAGS "-Wl,--gc-sections -Wl,--strip-all")
40 40
 set(CMAKE_SHARED_LINKER_FLAGS ${BUILD_LFLAGS})
41 41
 

Loading…
Cancel
Save