-
Notifications
You must be signed in to change notification settings - Fork 824
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 building with GCC 14 #4456
base: master
Are you sure you want to change the base?
Fix building with GCC 14 #4456
Conversation
That looks very similar to https://src.fedoraproject.org/rpms/mapnik/blob/rawhide/f/mapnik-gcc14.patch ;-) |
Indeed, it is basically the same, except that one source file has already had the patch applied and another source file has been renamed such that it cannot be applied directly as that patch is targeting Thanks for the help! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4456 +/- ##
==========================================
- Coverage 73.75% 73.71% -0.05%
==========================================
Files 525 524 -1
Lines 33532 33419 -113
Branches 4139 4148 +9
==========================================
- Hits 24733 24634 -99
+ Misses 8797 8783 -14
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Unfortunately this patch needs more work as it is breaking Windows builds. |
I think you just need to add a connection_manager.cpp to postgis with template class MAPNIK_DECL singleton<ConnectionManager, CreateStatic>; However, for pgraster plugin it might get a bit weird, since it has been used header sources from the postgis plugin (which might be understandable, but isn't the greatest thing in terms of low coupling :D) |
Co-authored-by: Tom Hughes <tom@compton.nu>
Thanks for the suggestion @mathisloge, unfortunately I wasn't having much luck, especially since I don't have a Windows system at the ready to use for building this. Could you provide a little more detail? Thanks again! |
Fails to build with GCC 14.