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

Fix warnings #272

Merged
merged 10 commits into from
Mar 12, 2024
Merged

Fix warnings #272

merged 10 commits into from
Mar 12, 2024

Conversation

rsjbailey
Copy link
Contributor

Fixes a number of warnings from dependencies and within the EPS
On macos with xcode 15 there are still spurious warnings about duplicate libraries during linking. This is due to a change in Apple's linker and will be fixed in the next release of CMake.
The remaining warnings about unhandled enums are useful, as they highlight areas of the code where we're currently choosing not to implement functionality, so I've not touched those.

@rsjbailey rsjbailey force-pushed the fix_warnings branch 2 times, most recently from 8d898f5 to 42c494f Compare March 6, 2024 14:35
rsjbailey added 10 commits March 6, 2024 14:40
Adds a cmake function for marking include directories as system on an existing
target.
Applies that function to the VST3 sdk targets that were producing a lot of
warnings.
Additionally silences all warnings when building submodules by appending "-w"
flag (gcc/clang) both via CMAKE_CXX_FLAGS and directly on the ffts target (it
has specific warnings added via visr, so we need to make sure -w is the last option)
This silences the redefinition warnings when building tests
This was actually a spurious warning as we were intentionally defining functions
to determine their type, but using an explicit type alias works just as well.
This function could result in Undefined Behaviour as there was no return value
in one path.
This change is just to silence a warning about unhandled enums.
NNG_PIPE_EV_NUM is just there so you can determine the number of pipe events, it shouldn't ever actually be
used, so this change should have no effect.
@rsjbailey rsjbailey requested a review from firthm01 March 12, 2024 10:04
@rsjbailey rsjbailey merged commit 321d77c into main Mar 12, 2024
6 checks passed
@rsjbailey rsjbailey deleted the fix_warnings branch March 12, 2024 11:04
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

Successfully merging this pull request may close these issues.

1 participant