Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS Compiler Warnings (2019 x64) #125

Open
nigels-com opened this issue Jun 15, 2019 · 0 comments
Open

MS Compiler Warnings (2019 x64) #125

nigels-com opened this issue Jun 15, 2019 · 0 comments

Comments

@nigels-com
Copy link
Collaborator

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 ==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant