-
Notifications
You must be signed in to change notification settings - Fork 123
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
Add option for stricter compiler warnings #1891
base: dev
Are you sure you want to change the base?
Add option for stricter compiler warnings #1891
Conversation
CI gfxreconstruct build queued with queue ID 311184. |
CI gfxreconstruct build # 5413 running. |
0bda28c
to
039a7dc
Compare
CI gfxreconstruct build queued with queue ID 311214. |
039a7dc
to
8bf21c2
Compare
CI gfxreconstruct build queued with queue ID 311244. |
CI gfxreconstruct build # 5416 running. |
CI gfxreconstruct build # 5416 passed. |
CI gfxreconstruct build queued with queue ID 311459. |
CI gfxreconstruct build # 5420 running. |
CI gfxreconstruct build # 5420 failed. |
CI gfxreconstruct build queued with queue ID 311489. |
CI gfxreconstruct build # 5421 running. |
framework/generated/vulkan_generators/vulkan_struct_deep_copy_body_generator.py
Outdated
Show resolved
Hide resolved
CI gfxreconstruct build # 5421 failed. |
CI gfxreconstruct build queued with queue ID 311512. |
CI gfxreconstruct build # 5422 running. |
CI gfxreconstruct build # 5422 passed. |
85fe2eb
to
3729798
Compare
CI gfxreconstruct build queued with queue ID 312150. |
CI gfxreconstruct build # 5439 running. |
CI gfxreconstruct build # 5439 failed. |
CI gfxreconstruct build queued with queue ID 312194. |
0dde75d
to
7ee61b8
Compare
CI gfxreconstruct build queued with queue ID 312200. |
CI gfxreconstruct build queued with queue ID 312202. |
77884ec
to
8b843d5
Compare
CI gfxreconstruct build queued with queue ID 312279. |
CI gfxreconstruct build # 5446 running. |
CI gfxreconstruct build # 5446 passed. |
@jzulauf-lunarg can you review this to make sure it meets your expectations for stricter code? The CMake changes are a nice bonus but mostly with this options do these changes make sense to you? |
Looks like good work. My preference would be that if we tighten the compiler warnings, once the issues are fixed that the tightened warnings become the default, not an option. Otherwise you have to rework commits from anyone not enabling the option. Also, to the extent possible, any stricter setting should be reflected across all platforms. As I primarily develop on windows, I'm continually having to touch up changes when build testing against Linux, or errors from CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few question re: the code fixes.
many thanks @jzulauf-lunarg! yes, absolutely right, we want to enforce those settings as defaults and windows is still missing entirely (as is android). |
8b843d5
to
7767c1b
Compare
CI gfxreconstruct build queued with queue ID 315471. |
CI gfxreconstruct build # 5484 running. |
CI gfxreconstruct build # 5484 passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI gfxreconstruct build queued with queue ID 317038. |
CI gfxreconstruct build # 5514 running. |
CI gfxreconstruct build # 5514 passed. |
gfxrecon_format
,gfxrecon_util
,gfxrecon_graphics
first step towards #1890