This commit is contained in:
parent
7d0e52a27f
commit
bd55e88ff4
78
log.txt
78
log.txt
|
|
@ -1,78 +0,0 @@
|
|||
binding-mri/audioplayback-binding.cpp:71:29: error: Uninitialized variable: c_str [uninitvar]
|
||||
rb_get_args(argc, argv, c_str RB_ARG_END);
|
||||
^
|
||||
binding-mri/audioplayback-binding.cpp:80:29: error: Uninitialized variable: c_str [uninitvar]
|
||||
rb_get_args(argc, argv, c_str RB_ARG_END);
|
||||
^
|
||||
binding-mri/modloader-binding.cpp:12:43: performance: Function parameter 'vec' should be passed by const reference. [passedByValue]
|
||||
VALUE meow(const std::vector<std::string> vec){
|
||||
^
|
||||
src/global-ibo.h:41:3: performance: Variable 'ibo' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList]
|
||||
ibo = IBO::gen();
|
||||
^
|
||||
src/quadarray.h:49:3: performance: Variable 'vbo' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList]
|
||||
vbo = VBO::gen();
|
||||
^
|
||||
src/etc.h:208:71: performance: Function parameter 'color' should be passed by const reference. [passedByValue]
|
||||
LightSource(float x, float y, float power, float radius, const Color color)
|
||||
^
|
||||
src/config.cpp:40:13: performance: Range variable 'item' should be declared as const reference. [iterateByValue]
|
||||
for (auto item : vec){
|
||||
^
|
||||
src/define.h:19:3: error: Failed to parse #define, bad macro syntax [syntaxError]
|
||||
#define 3ds 1
|
||||
^
|
||||
src/filesystem.cpp:319:3: performance: Variable 'nfd2nfc' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList]
|
||||
nfd2nfc = iconv_open("utf-8", "utf-8-mac");
|
||||
^
|
||||
src/font.cpp:359:37: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam]
|
||||
p->sdlFont = shState->fontState().getFont(p->name.c_str(), p->size);
|
||||
^
|
||||
src/keybindings.cpp:267:3: error: Resource leak: f [resourceLeak]
|
||||
return false;
|
||||
^
|
||||
src/keybindings.cpp:270:3: error: Resource leak: f [resourceLeak]
|
||||
return false;
|
||||
^
|
||||
src/lightmap.cpp:199:55: performance: Function parameter 'source' should be passed by const reference. [passedByValue]
|
||||
void LightMap::addStaticLightSource(const LightSource source){
|
||||
^
|
||||
src/lightmap.cpp:202:56: performance: Function parameter 'source' should be passed by const reference. [passedByValue]
|
||||
void LightMap::addDynamicLightSource(const LightSource source){
|
||||
^
|
||||
src/modloader.cpp:27:52: performance: Function parameter 'data' should be passed by const reference. [passedByValue]
|
||||
static void modloader_add_to_log(const std::string data){
|
||||
^
|
||||
src/pipe.h:22:3: performance: Variable 'handle' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList]
|
||||
handle = NULL;
|
||||
^
|
||||
src/shader.cpp:92:2: performance: Variable 'vertShader' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList]
|
||||
vertShader = gl.CreateShader(GL_VERTEX_SHADER);
|
||||
^
|
||||
src/sound/audioplayback.cpp:174:12: error: Reference to temporary returned. [returnTempReference]
|
||||
return "";
|
||||
^
|
||||
src/sound/audioplayback.cpp:132:46: performance: Function parameter 'tagName' should be passed by const reference. [passedByValue]
|
||||
void AudioPlayback::addTag(const std::string tagName) {
|
||||
^
|
||||
src/sound/audioplayback.cpp:138:49: performance: Function parameter 'tagName' should be passed by const reference. [passedByValue]
|
||||
void AudioPlayback::removeTag(const std::string tagName) {
|
||||
^
|
||||
journal/SDL/debugwriter.h:35:1: error: The one definition rule is violated, different classes/structs have the same name 'Debug' [ctuOneDefinitionRuleViolation]
|
||||
class Debug{
|
||||
^
|
||||
src/debugwriter.h:39:1: note: The one definition rule is violated, different classes/structs have the same name 'Debug'
|
||||
class Debug{
|
||||
^
|
||||
journal/SDL/debugwriter.h:35:1: note: The one definition rule is violated, different classes/structs have the same name 'Debug'
|
||||
class Debug{
|
||||
^
|
||||
src/input.cpp:49:1: error: The one definition rule is violated, different classes/structs have the same name 'KbBindingData' [ctuOneDefinitionRuleViolation]
|
||||
struct KbBindingData{
|
||||
^
|
||||
src/keybindings.cpp:29:1: note: The one definition rule is violated, different classes/structs have the same name 'KbBindingData'
|
||||
struct KbBindingData{
|
||||
^
|
||||
src/input.cpp:49:1: note: The one definition rule is violated, different classes/structs have the same name 'KbBindingData'
|
||||
struct KbBindingData{
|
||||
^
|
||||
Loading…
Reference in New Issue