You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling a sample app with included all warnings and treat warnings as errors, doesn't work.
This is visual studio output:
Build started...
1>------ Build started: Project: Memory, Configuration: Debug x64 ------
1>main.cpp
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(573,58): warning C4245: 'initializing': conversion from 'int' to 'const uint32_t', signed/unsigned mismatch
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(586,58): warning C4201: nonstandard extension used: nameless struct/union
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(1813,28): warning C4244: '=': conversion from 'int' to '_Ty', possible loss of data
1> with
1> [
1> _Ty=char
1> ]
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(1834,23): warning C4244: '=': conversion from 'int' to 'char', possible loss of data
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(2985,121): warning C4100: 'depth': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(3542,11): warning C4244: 'initializing': conversion from 'int' to 'char', possible loss of data
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(3986,67): warning C4244: 'argument': conversion from 'int' to 'uint8_t', possible loss of data
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(3986,64): warning C4244: 'argument': conversion from 'int' to 'uint8_t', possible loss of data
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(3986,61): warning C4244: 'argument': conversion from 'int' to 'uint8_t', possible loss of data
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(3986,58): warning C4244: 'argument': conversion from 'int' to 'uint8_t', possible loss of data
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(4041,39): warning C4100: 'fElapsedTime': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(4042,37): warning C4100: 'fElapsedTime': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(4247,59): warning C4100: 'bFullScreen': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(4530,29): warning C4100: 'id': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(5212,69): warning C4100: 'sImageFile': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(5212,45): warning C4100: 'spr': unreferenced formal parameter
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(5566,15): warning C4189: 'len': local variable is initialized but not referenced
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(4261): warning C4706: assignment within conditional expression
1>D:\work\olcCodeJam\2023\Memory\olcPixelGameEngine.h(4264): warning C4706: assignment within conditional expression
1>Memory.vcxproj -> D:\work\olcCodeJam\2023\Memory\x64\Debug\Memory.exe
1>Done building project "Memory.vcxproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 10:49 PM and took 03,680 seconds ==========
The text was updated successfully, but these errors were encountered:
Compiling a sample app with included all warnings and treat warnings as errors, doesn't work.
This is visual studio output:
The text was updated successfully, but these errors were encountered: