-
Notifications
You must be signed in to change notification settings - Fork 181
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 developer ovirt-engine-sdk instructions for C compiler errors #546
Add developer ovirt-engine-sdk instructions for C compiler errors #546
Conversation
204f9a9
to
6d837ff
Compare
developer_setup.md
Outdated
@@ -211,6 +211,22 @@ bin/setup | |||
|
|||
macOS requires platform specific Gems. Run `bundle config specific_platform true` before running `bin/setup`. | |||
|
|||
The ovirt-engine-sdk gem contains C code that generated warnings with older CLANG versions. These warnings are marked as errors in newer CLANG 15 and 16 depending on the CLANG version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation: |
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.
The ovirt-engine-sdk gem contains C code that generated warnings with older CLANG versions. These warnings are marked as errors in newer CLANG 15 and 16 depending on the CLANG version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation: | |
The ovirt-engine-sdk gem contains C code that generated warnings with older Clang versions. These warnings are marked as errors in newer Clang 15 and 16 depending on the Clang version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation: |
developer_setup.md
Outdated
The ovirt-engine-sdk gem contains C code that generated warnings with older CLANG versions. These warnings are marked as errors in newer CLANG 15 and 16 depending on the CLANG version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation: | ||
|
||
``` | ||
gem install ovirt-engine-sdk -v4.6.0 -- --with-cflags="-Wno-error=incompatible-function-pointer-types -Wno-error=implicit-function-declaration" |
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'm wondering if we should remove the -v4.6.0
here, since it could apply to future versions too and we don't want to have to keep updating this. Besides, the application seems to use 4.4.1 anyway.
developer_setup.md
Outdated
See https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14 and https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/11 | ||
|
||
Hopefully, the code in the gem can be resolved to avoid these warnings in the future. |
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.
Think we can merge these into 1 paragraph.
See https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14 and https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/11 | |
Hopefully, the code in the gem can be resolved to avoid these warnings in the future. | |
See https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14 and https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/11. Hopefully, the code in the gem can be resolved to avoid these warnings in the future. |
7b5062c
to
a2aa259
Compare
Co-authored-by: Jason Frey <fryguy9@gmail.com>
a2aa259
to
78e02c6
Compare
Ok, I believe I included all of the suggestions. |
Checked commit jrafanie@78e02c6 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
No description provided.