-
Notifications
You must be signed in to change notification settings - Fork 124
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
Stricter compiler flags #1243
base: dev
Are you sure you want to change the base?
Stricter compiler flags #1243
Conversation
CI gfxreconstruct build queued with queue ID 33638. |
CI gfxreconstruct build # 3155 running. |
CMakeLists.txt
Outdated
@@ -44,6 +44,8 @@ set(GFXRECONSTRUCT_PROJECT_VERSION_PATCH 0) | |||
|
|||
set(GFXRECON_PROJECT_VERSION_SHA1 "unknown-build-source") | |||
|
|||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wconversion -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-conversion") |
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.
I think we want to be strict for our own internal builds but permissive for user builds so that package maintainers and others on diverse systems and compiler versions have an easy time but we make sure the code is in good shape.
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.
Already tasting my own medicine by seeing failures on CI that do not trigger locally, I think that's a good idea
65fc235
to
00ee1ed
Compare
CI gfxreconstruct build queued with queue ID 33664. |
CI gfxreconstruct build # 3156 running. |
00ee1ed
to
603019f
Compare
CI gfxreconstruct build queued with queue ID 33681. |
CI gfxreconstruct build # 3157 running. |
603019f
to
9060302
Compare
CI gfxreconstruct build queued with queue ID 33764. |
CI gfxreconstruct build # 3158 running. |
9060302
to
7de5440
Compare
CI gfxreconstruct build queued with queue ID 33791. |
CI gfxreconstruct build # 3160 running. |
CI gfxreconstruct build # 3160 failed. |
7de5440
to
1f5e3a9
Compare
CI gfxreconstruct build queued with queue ID 34361. |
CI gfxreconstruct build # 3164 running. |
1f5e3a9
to
fb47ac8
Compare
CI gfxreconstruct build queued with queue ID 34374. |
CI gfxreconstruct build # 3165 running. |
CI gfxreconstruct build # 3165 passed. |
fb47ac8
to
dec9f5b
Compare
CI gfxreconstruct build queued with queue ID 35024. |
CI gfxreconstruct build # 3168 running. |
CI gfxreconstruct build # 3168 failed. |
No description provided.