All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] cups-filters: Fix for current gcc
@ 2023-11-11 22:18 Markus Volk
  2023-11-13 18:33 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Volk @ 2023-11-11 22:18 UTC (permalink / raw)
  To: openembedded-devel

std::string_view is part of c++17

This fixes:
error: 'std::string_view' has not been declared

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
index 01c29d2c9..dc527bf72 100644
--- a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
+++ b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
@@ -30,6 +30,8 @@ EXTRA_OECONF:class-native += " --with-pdftops=pdftops \
                                     --disable-ldap \
                                     --with-png --without-jpeg --without-tiff"
 
+CXXFLAGS += "-std=c++17"
+
 PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg"
 PACKAGECONFIG[png] = "--with-png,--without-png,libpng"
 PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff"
-- 
2.42.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] cups-filters: Fix for current gcc
  2023-11-11 22:18 [meta-oe][PATCH] cups-filters: Fix for current gcc Markus Volk
@ 2023-11-13 18:33 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2023-11-13 18:33 UTC (permalink / raw)
  To: openembedded-devel, Markus Volk


On Sat, 11 Nov 2023 23:18:48 +0100, Markus Volk wrote:
> std::string_view is part of c++17
> 
> This fixes:
> error: 'std::string_view' has not been declared
> 
> 

Applied, thanks!

[1/1] cups-filters: Fix for current gcc
      commit: ba28b8f98713fb5b009ccbf8f12a0638598444cb

Best regards,
-- 
Khem Raj <raj.khem@gmail.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-13 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11 22:18 [meta-oe][PATCH] cups-filters: Fix for current gcc Markus Volk
2023-11-13 18:33 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.