Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created May 19, 2013 16:13
Show Gist options
  • Save PilzAdam/5608117 to your computer and use it in GitHub Desktop.
Save PilzAdam/5608117 to your computer and use it in GitHub Desktop.
adam@ubuntu:~/Minetest/minetest $ make clean
adam@ubuntu:~/Minetest/minetest $ make -j8 | grep "warning"
/home/adam/Minetest/minetest/po/ro/minetest.po: warning: Charset "CHARSET" is not a portable encoding name.
/home/adam/Minetest/minetest/po/ko/minetest.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
Message conversion to user's charset might not work.
In file included from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.h:6:0,
from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.cpp:4:
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In function 'irr::core::array<unsigned char> irr::core::unicode::getUnicodeBOM(irr::core::unicode::EUTF_ENCODE)':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:177:9: warning: enumeration value 'EUTFE_NONE' not handled in switch [-Wswitch]
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In instantiation of 'void irr::core::ustring16<TAlloc>::_ustring16_const_iterator::toEnd() [with TAlloc = irr::core::irrAllocator<short unsigned int>]':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:2757:3: required from 'irr::core::ustring16<TAlloc>::const_iterator irr::core::ustring16<TAlloc>::end() const [with TAlloc = irr::core::irrAllocator<short unsigned int>; irr::core::ustring16<TAlloc>::const_iterator = irr::core::ustring16<irr::core::irrAllocator<short unsigned int> >::_ustring16_const_iterator]'
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:3859:22: required from here
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:710:22: warning: unused variable 'a' [-Wunused-variable]
In file included from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.h:6:0,
from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.cpp:4:
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In instantiation of 'irr::core::array<short unsigned int> irr::core::ustring16<TAlloc>::toUTF16(irr::core::unicode::EUTF_ENDIAN, bool) const [with TAlloc = irr::core::irrAllocator<short unsigned int>]':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:3101:53: required from 'irr::core::string<wchar_t> irr::core::ustring16<TAlloc>::toWCHAR_s(irr::core::unicode::EUTF_ENDIAN, bool) const [with TAlloc = irr::core::irrAllocator<short unsigned int>]'
/home/adam/Minetest/minetest/src/cguittfont/CGUITTFont.cpp:298:118: required from here
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:2961:5: warning: operation on 'ptr' may be undefined [-Wsequence-point]
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:2961:5: warning: operation on '*(const uchar16_t*)ptr' may be undefined [-Wsequence-point]
In file included from /home/adam/Minetest/minetest/src/irrlichttypes_bloated.h:32:0,
from /home/adam/Minetest/minetest/src/inventory.h:27,
from /home/adam/Minetest/minetest/src/inventorymanager.h:23,
from /home/adam/Minetest/minetest/src/scriptapi_inventory.h:28,
from /home/adam/Minetest/minetest/src/scriptapi.h:32,
from /home/adam/Minetest/minetest/src/scriptapi_types.cpp:20:
/usr/include/irrlicht/SColor.h: In function 'irr::video::SColor readARGB8(lua_State*, int)':
/usr/include/irrlicht/SColor.h:215:73: warning: 'color.irr::video::SColor::color' may be used uninitialized in this function [-Wuninitialized]
/home/adam/Minetest/minetest/src/scriptapi_types.cpp:150:16: note: 'color.irr::video::SColor::color' was declared here
In file included from /home/adam/Minetest/minetest/src/irrlichttypes_bloated.h:32:0,
from /home/adam/Minetest/minetest/src/inventory.h:27,
from /home/adam/Minetest/minetest/src/inventorymanager.h:23,
from /home/adam/Minetest/minetest/src/scriptapi_inventory.h:28,
from /home/adam/Minetest/minetest/src/scriptapi.h:32,
from /home/adam/Minetest/minetest/src/scriptapi_types.cpp:20:
/usr/include/irrlicht/SColor.h: In function 'irr::video::SColor readARGB8(lua_State*, int)':
/usr/include/irrlicht/SColor.h:215:73: warning: 'color.irr::video::SColor::color' may be used uninitialized in this function [-Wuninitialized]
/home/adam/Minetest/minetest/src/scriptapi_types.cpp:150:16: note: 'color.irr::video::SColor::color' was declared here
/home/adam/Minetest/minetest/src/test.cpp: In member function 'void TestCompress::Run()':
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/collision.cpp: In function 'collisionMoveResult collisionMoveSimple(Environment*, IGameDef*, irr::f32, const aabb3f&, irr::f32, irr::f32, v3f&, v3f&, v3f&, ActiveObject*)':
/home/adam/Minetest/minetest/src/collision.cpp:301:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.h:6:0,
from /home/adam/Minetest/minetest/src/main.cpp:73:
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In function 'irr::core::array<unsigned char> irr::core::unicode::getUnicodeBOM(irr::core::unicode::EUTF_ENCODE)':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:177:9: warning: enumeration value 'EUTFE_NONE' not handled in switch [-Wswitch]
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In instantiation of 'void irr::core::ustring16<TAlloc>::_ustring16_const_iterator::toEnd() [with TAlloc = irr::core::irrAllocator<short unsigned int>]':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:2757:3: required from 'irr::core::ustring16<TAlloc>::const_iterator irr::core::ustring16<TAlloc>::end() const [with TAlloc = irr::core::irrAllocator<short unsigned int>; irr::core::ustring16<TAlloc>::const_iterator = irr::core::ustring16<irr::core::irrAllocator<short unsigned int> >::_ustring16_const_iterator]'
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:3859:22: required from here
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:710:22: warning: unused variable 'a' [-Wunused-variable]
/home/adam/Minetest/minetest/src/test.cpp: In member function 'void TestCompress::Run()':
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
/home/adam/Minetest/minetest/src/test.cpp:465:4: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
In file included from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.h:6:0,
from /home/adam/Minetest/minetest/src/guiChatConsole.cpp:36:
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In function 'irr::core::array<unsigned char> irr::core::unicode::getUnicodeBOM(irr::core::unicode::EUTF_ENCODE)':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:177:9: warning: enumeration value 'EUTFE_NONE' not handled in switch [-Wswitch]
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In instantiation of 'void irr::core::ustring16<TAlloc>::_ustring16_const_iterator::toEnd() [with TAlloc = irr::core::irrAllocator<short unsigned int>]':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:2757:3: required from 'irr::core::ustring16<TAlloc>::const_iterator irr::core::ustring16<TAlloc>::end() const [with TAlloc = irr::core::irrAllocator<short unsigned int>; irr::core::ustring16<TAlloc>::const_iterator = irr::core::ustring16<irr::core::irrAllocator<short unsigned int> >::_ustring16_const_iterator]'
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:3859:22: required from here
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:710:22: warning: unused variable 'a' [-Wunused-variable]
/home/adam/Minetest/minetest/src/intlGUIEditBox.cpp: In member function 'virtual bool irr::gui::intlGUIEditBox::OnEvent(const irr::SEvent&)':
/home/adam/Minetest/minetest/src/intlGUIEditBox.cpp:279:86: warning: ignoring return value of 'int mbtowc(wchar_t*, const char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
In file included from /home/adam/Minetest/minetest/src/cguittfont/xCGUITTFont.h:6:0,
from /home/adam/Minetest/minetest/src/main.cpp:73:
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In function 'irr::core::array<unsigned char> irr::core::unicode::getUnicodeBOM(irr::core::unicode::EUTF_ENCODE)':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:177:9: warning: enumeration value 'EUTFE_NONE' not handled in switch [-Wswitch]
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h: In instantiation of 'void irr::core::ustring16<TAlloc>::_ustring16_const_iterator::toEnd() [with TAlloc = irr::core::irrAllocator<short unsigned int>]':
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:2757:3: required from 'irr::core::ustring16<TAlloc>::const_iterator irr::core::ustring16<TAlloc>::end() const [with TAlloc = irr::core::irrAllocator<short unsigned int>; irr::core::ustring16<TAlloc>::const_iterator = irr::core::ustring16<irr::core::irrAllocator<short unsigned int> >::_ustring16_const_iterator]'
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:3859:22: required from here
/home/adam/Minetest/minetest/src/cguittfont/irrUString.h:710:22: warning: unused variable 'a' [-Wunused-variable]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment