libglui / glui

GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications. It is window-system independent, using GLUT or FreeGLUT.
Other
200 stars 81 forks source link

MS Compiler Warnings (2019 x64) #125

Open nigels-com opened 5 years ago

nigels-com commented 5 years ago
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>Checking Build System
1>CMake does not need to re-run because C:/Users/User/dev/glui/build/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: glui_obj, Configuration: Release x64 ------
2>Building Custom Rule C:/Users/User/dev/glui/CMakeLists.txt
2>CMake does not need to re-run because C:/Users/User/dev/glui/build/CMakeFiles/generate.stamp is up-to-date.
2>algebra3.cpp
2>arcball.cpp
2>glui_add_controls.cpp
2>glui_bitmaps.cpp
2>C:\Users\User\dev\glui\src\glui_bitmaps.cpp(114,45): warning C4267:  'return': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_bitmaps.cpp(120,45): warning C4267:  'return': conversion from 'size_t' to 'int', possible loss of data
2>glui_button.cpp
2>glui_checkbox.cpp
2>glui_column.cpp
2>glui_commandline.cpp
2>glui_control.cpp
2>C:\Users\User\dev\glui\src\glui_bitmaps.cpp(132,57): warning C4267:  'argument': conversion from 'size_t' to 'GLsizei', possible loss of data
2>C:\Users\User\dev\glui\src\glui_control.cpp(962,1): warning C4996:  'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>glui.cpp
2>glui_edittext.cpp
2>glui_filebrowser.cpp
2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(338): message :  see declaration of 'strncpy'
2>glui_listbox.cpp
2>glui_list.cpp
2>glui_mouse_iaction.cpp
2>glui_node.cpp
2>glui_panel.cpp
2>glui_radio.cpp
2>glui_rollout.cpp
2>glui_rotation.cpp
2>Generating Code...
2>Compiling...
2>glui_scrollbar.cpp
2>glui_separator.cpp
2>glui_spinner.cpp
2>glui_statictext.cpp
2>glui_textbox.cpp
2>C:\Users\User\dev\glui\src\glui_filebrowser.cpp(119,39): warning C4267:  'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(350,31): warning C4267:  '=': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(444,32): warning C4267:  '=': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(502,31): warning C4267:  'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(682,36): warning C4267:  'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(795,32): warning C4267:  '=': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(953,33): warning C4267:  '=': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(987,74): warning C4267:  'initializing': conversion from 'size_t' to 'int', possible loss of data
2>glui_translation.cpp
2>glui_tree.cpp
2>glui_treepanel.cpp
2>glui_window.cpp
2>quaternion.cpp
2>viewmodel.cpp
2>Generating Code...
2>C:\Users\User\dev\glui\src\glui_textbox.cpp(1049,38): warning C4267:  '=': conversion from 'size_t' to 'int', possible loss of data
2>glui_obj.vcxproj -> C:\Users\User\dev\glui\build\glui_obj.dir\Release\glui_obj.lib
2>Done building project "glui_obj.vcxproj".
3>------ Build started: Project: glui_static, Configuration: Release x64 ------
3>Building Custom Rule C:/Users/User/dev/glui/CMakeLists.txt
3>CMake does not need to re-run because C:/Users/User/dev/glui/build/CMakeFiles/generate.stamp is up-to-date.
3>glui_static.vcxproj -> C:\Users\User\dev\glui\build\Release\glui_static.lib
4>------ Build started: Project: example1, Configuration: Release x64 ------
4>Building Custom Rule C:/Users/User/dev/glui/CMakeLists.txt
4>CMake does not need to re-run because C:/Users/User/dev/glui/build/CMakeFiles/generate.stamp is up-to-date.
4>example1.cpp
4>example1.vcxproj -> C:\Users\User\dev\glui\build\Release\example1.exe
========== Build: 4 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========