Created
February 2, 2015 07:46
-
-
Save emoon/e8c305c588fb0d28ebf7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/danielcollin/code/prodbg/src/external/imgui/imgui.cpp:6527:1: error: function 'GetDefaultFontData' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn] | |
{ | |
^ | |
/Users/danielcollin/code/prodbg/src/external/imgui/imgui.cpp:6678:20: error: implicit conversion loses integer precision: 'int' to 'stbrp_coord' (aka 'unsigned short') [-Werror,-Wconversion] | |
extra_rect.w = (int)TEX_ATLAS_SIZE.x; | |
~ ^~~~~~~~~~~~~~~~~~~~~ | |
/Users/danielcollin/code/prodbg/src/external/imgui/imgui.cpp:6679:20: error: implicit conversion loses integer precision: 'int' to 'stbrp_coord' (aka 'unsigned short') [-Werror,-Wconversion] | |
extra_rect.h = (int)TEX_ATLAS_SIZE.y; | |
~ ^~~~~~~~~~~~~~~~~~~~~ | |
/Users/danielcollin/code/prodbg/src/external/imgui/imgui.cpp:8748:23: error: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Werror,-Wshorten-64-to-32] | |
return (s2 << 16) + s1; | |
~~~~~~ ~~~~~~~~~~~^~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first one is because your assert code is probably stopping in an infinite loop ?
This function is obsolete, I am leaving it aronud to provide instructions to the program but may just remove it soon.