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 GCC and Clang warnings in MMDevice, MMCore #417

Merged
merged 5 commits into from
Dec 14, 2023

Conversation

marktsuchida
Copy link
Member

So far removes warnings on macOS/Clang. Keeping as draft until I add commits for Linux/GCC.

Doesn't change anything but produces warnings from GCC and Clang.

This change should not affect the device binary interface.
There is no way to suppress just for exception specifications, but limit
the suppression to within the headers.

Also make suppression of MSVC C4290 consistent with GCC.
The warnings for dynamic exception specifications are now suppressed in
the code using pragmas for both GCC and MSVC.
@marktsuchida marktsuchida force-pushed the mmdevice-mmcore-warnings branch from 982a5cd to 97ecc51 Compare December 14, 2023 20:50
And don't manually manage memory to begin with; use std::vector.
@marktsuchida marktsuchida force-pushed the mmdevice-mmcore-warnings branch from 8a1d3f8 to d5a58b7 Compare December 14, 2023 21:44
@marktsuchida marktsuchida marked this pull request as ready for review December 14, 2023 21:47
@marktsuchida marktsuchida merged commit e0dac2c into main Dec 14, 2023
3 checks passed
@marktsuchida marktsuchida deleted the mmdevice-mmcore-warnings branch December 14, 2023 21:49
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