Skip to content

Instantly share code, notes, and snippets.

@realazthat
Created December 21, 2015 06:53
Show Gist options
  • Save realazthat/bb725fa7d1278cc3b445 to your computer and use it in GitHub Desktop.
Save realazthat/bb725fa7d1278cc3b445 to your computer and use it in GitHub Desktop.
build output for codelite error on a warning
C:\Windows\system32\cmd.exe /C K:/realz/dump/mingw-w64/msys64/usr/bin/make.exe -e -f Makefile
----------Building project:[ sgfxapi - Debug ]----------
make[1]: Entering directory '/k/realz/dump/code/gfxapi/repo'
K:/realz/dump/mingw-w64/msys64/mingw64/bin/g++.exe -c "k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp" -g -O0 -std=c++11 -Wall -o ./Debug/sgfxapi_sgfxapi.cpp.o -I. -I. -I./include -IK:/realz/dump/code/mathgeolib/MathGeoLib-master/MathGeoLib-master/src/ -IK:/realz/dump/code/glfw/glfw-3.1.1.bin.WIN64/glfw-3.1.1.bin.WIN64/include -IK:/realz/dump/code/mordred.svo/sparse-voxel-octrees/lib/glew/glew/include
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In function 'GLenum SGFXAPI::toGLBinding(SGFXAPI::TextureType)':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:240:12: warning: enumeration value 'TextureCubeMap' not handled in switch [-Wswitch]
switch (texturetype)
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:240:12: warning: enumeration value 'TextureCubeMapArray' not handled in switch [-Wswitch]
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'bool SGFXAPI::VertexBuffer::IsBound() const':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:820:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return boundvbo != 0 && boundvbo == m_vbo;
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'bool SGFXAPI::IndexBuffer::IsBound() const':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1039:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return boundibo != 0 && boundibo == m_indexBuffer;
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'bool SGFXAPI::ShaderProgram::InUse() const':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1214:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return boundsp != 0 && boundsp == m_programHandle;
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'void SGFXAPI::Mesh::GenerateVAO(int)':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1420:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void*)(startVertexOffset + offset));
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1430:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void*)(startVertexOffset + offset));
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1437:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void*)(startVertexOffset + offset));
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'bool SGFXAPI::Mesh::IsBound() const':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1552:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return boundvao != 0 && boundvao == m_vao;
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'void SGFXAPI::Mesh::Draw(int, int)':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1614:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
glDrawElements(GL_TRIANGLES, numIndices, toGL(ib->IndexType()), (void*)startIndexOffset);
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'bool SGFXAPI::PixelBuffer::IsBound() const':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1838:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return boundpbo != 0 && boundpbo == m_pbo;
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'bool SGFXAPI::Texture::IsBound() const':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:2077:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return boundtex != 0 && boundtex == m_tex;
^
In file included from k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:10:0:
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'void SGFXAPI::Texture::UpdateToGpu(int, int, int, SGFXAPI::TextureFormat, const uint8_t*, size_t, int, const string&)':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:2114:83: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert (LogicalSizeBytes(width, height, depth, textureFormat, m_rowalignment) == dataBytesSize);
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In member function 'void SGFXAPI::Texture::_ImmutableUpdateToGpu(int, int, int, SGFXAPI::TextureFormat, const uint8_t*, size_t, int, const string&)':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:2133:9: warning: unused variable 'border' [-Wunused-variable]
int border = 0;
^
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp: In instantiation of 'void SGFXAPI::Mesh::_CheckIndexBounds(int, int) const [with index_t = unsigned int]':
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1691:65: required from here
k:/realz/dump/code/gfxapi/repo/src/sgfxapi/sgfxapi.cpp:1673:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (!(index < m_numRenderableVertices))
^
K:/realz/dump/mingw-w64/msys64/mingw64/bin/ar rcu ./Debug/libsgfxapi.a @"sgfxapi.txt"
make[1]: Leaving directory '/k/realz/dump/code/gfxapi/repo'
====1 errors, 16 warnings====
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment