-
Notifications
You must be signed in to change notification settings - Fork 27
Update to build with gcc 13 #293
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
Comments
I am building on gcc14 with these changes: diff --git a/sources/CMakeLists.txt b/sources/CMakeLists.txt
index 332c118..2d502b6 100644
--- a/sources/CMakeLists.txt
+++ b/sources/CMakeLists.txt
@@ -70,6 +70,9 @@ add_compile_options(
-Wno-array-bounds
)
+add_compile_options($<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wno-overloaded-virtual>)
+add_compile_options($<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wno-aggressive-loop-optimizations>)
+
add_subdirectory(Adapters)
add_subdirectory(UIFramework)
add_subdirectory(System)
diff --git a/sources/Foundation/T_Factory.h b/sources/Foundation/T_Factory.h
index 9bc2b03..49b0f89 100644
--- a/sources/Foundation/T_Factory.h
+++ b/sources/Foundation/T_Factory.h
@@ -9,7 +9,7 @@
template <class Item> class T_Factory {
protected:
- virtual ~T_Factory<Item>(){};
+ virtual ~T_Factory(){};
public:
// Install the factory to use I do not remember what code exactly triggers those two warnings but it was only a couple spots, i just wasn't sure what to do to fix them so I disabled them. |
@faithanalog Thanks! I'll see if I can find get this incorporated in soon so that we can move to building with gcc13 or even better with gcc14 |
@faithanalog Thanks for the prompting for me to get a move on with this 👍🏻 I've got a PR with a branch that now builds with GCC13: #446 |
that seems to take care of pretty much everything except the opal warning
I really could not make sense of what the problem is that needs to be fixed, the code is a bit convoluted to me |
@faithanalog thanks again for testing this out. I couldn't reproduce the issue after I installed and build with GCC 14.2 but just in case I pushed up a small change that should disable that warning for just the OPAL directory. If you could please let me know if that works for you and I will then look to get our CI updated to at least GCC13 and the PR merged. |
@maks yup, it now builds for me now! |
We now only need to fix a couple function signatures once we update to get current master branch to new dependencies to then get it to build with gcc 13 so we should upgrade to do this and build with gcc13 on CI once the dependencies like sdfat are updated.
The text was updated successfully, but these errors were encountered: