To illustrate my point from the previous comment, this patch fixes the build in 
oracular, but I'm unsure if it's the correct fix, given that it build fine 
about 2 months ago and gnu17 was still the standard used back then:
--- a/meson.build
+++ b/meson.build
@@ -5,8 +5,8 @@ project('dia',
         default_options: [
                              'warning_level=1',
                              'buildtype=debugoptimized',
-                             'c_std=gnu17',
-                             'cpp_std=gnu++17',
+                             'c_std=gnu2x',
+                             'cpp_std=gnu++20',
                          ],
 )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070284

Title:
  FTBFS: ‘starts_with’ has not been declared in ‘std::string’

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dia/+bug/2070284/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to