* [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9
@ 2022-04-03 9:03 Fabrice Fontaine
2022-04-04 19:29 ` Arnout Vandecappelle
2022-04-09 10:49 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-03 9:03 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni
Fix the following build failure with gcc >= 9 (and -std=c++17):
./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
70 | bool file_exists(const std::string& file) throw (error);
| ^~~~~
Fixes:
- http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/cloop/cloop.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk
index f3c4954ead..6f6d5fe6a8 100644
--- a/package/cloop/cloop.mk
+++ b/package/cloop/cloop.mk
@@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib
define HOST_CLOOP_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \
- CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE"
+ CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14"
endef
define HOST_CLOOP_INSTALL_CMDS
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9
2022-04-03 9:03 [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 Fabrice Fontaine
@ 2022-04-04 19:29 ` Arnout Vandecappelle
2022-04-09 10:49 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-04 19:29 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Thomas Petazzoni
On 03/04/2022 11:03, Fabrice Fontaine wrote:
> Fix the following build failure with gcc >= 9 (and -std=c++17):
>
> ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
> 70 | bool file_exists(const std::string& file) throw (error);
> | ^~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/cloop/cloop.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk
> index f3c4954ead..6f6d5fe6a8 100644
> --- a/package/cloop/cloop.mk
> +++ b/package/cloop/cloop.mk
> @@ -14,7 +14,7 @@ HOST_CLOOP_DEPENDENCIES = host-zlib
>
> define HOST_CLOOP_BUILD_CMDS
> $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \
> - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE"
> + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14"
> endef
>
> define HOST_CLOOP_INSTALL_CMDS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9
2022-04-03 9:03 [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 Fabrice Fontaine
2022-04-04 19:29 ` Arnout Vandecappelle
@ 2022-04-09 10:49 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-04-09 10:49 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Thomas Petazzoni, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure with gcc >= 9 (and -std=c++17):
> ./file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
> 70 | bool file_exists(const std::string& file) throw (error);
> | ^~~~~
> Fixes:
> - http://autobuild.buildroot.org/results/8320edd448cd1f7c14a65734f63a2df5d4b0d442
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-09 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 9:03 [Buildroot] [PATCH 1/1] package/cloop: fix build with gcc >= 9 Fabrice Fontaine
2022-04-04 19:29 ` Arnout Vandecappelle
2022-04-09 10:49 ` Peter Korsgaard
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.