* [Buildroot] [PATCH 1/1] package/openzwave: fix example build
@ 2021-08-04 8:31 Fabrice Fontaine
2021-08-04 21:14 ` Arnout Vandecappelle
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-08-04 8:31 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
-std=c++11 has been wrongly removed from CFLAGS since commit
c5ca521e232eae31276e7a12d17f0cf9d9c0108f resulting in the following
build failure:
In file included from /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Driver.h:38:0,
from /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Manager.h:39,
from Main.cpp:37:
/home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Node.h:566:32: error: 'std::shared_ptr' has not been declared
void SetProductDetails(std::shared_ptr<Internal::ProductDescriptor> product);
^
Fixes:
- http://autobuild.buildroot.org/results/a7999ffe3b93391b9a20dcfa3ddd9d21daf0cace
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/openzwave/openzwave.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/openzwave/openzwave.mk b/package/openzwave/openzwave.mk
index 0f639635dd..17da3b9b87 100644
--- a/package/openzwave/openzwave.mk
+++ b/package/openzwave/openzwave.mk
@@ -31,8 +31,8 @@ OPENZWAVE_MAKE_OPTS = \
pkgconfigdir=/usr/lib/pkgconfig \
sysconfdir=/etc/openzwave \
DOXYGEN= \
- DEBUG_CFLAGS="-fPIC" \
- RELEASE_CFLAGS="-fPIC" \
+ DEBUG_CFLAGS="-fPIC -std=c++11" \
+ RELEASE_CFLAGS="-fPIC -std=c++11" \
USE_BI_TXML=0
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openzwave: fix example build
2021-08-04 8:31 [Buildroot] [PATCH 1/1] package/openzwave: fix example build Fabrice Fontaine
@ 2021-08-04 21:14 ` Arnout Vandecappelle
0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-08-04 21:14 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
On 04/08/2021 10:31, Fabrice Fontaine wrote:
> -std=c++11 has been wrongly removed from CFLAGS since commit
D'0h! I actually verified that no other relevant flag than -fPIC was set when I
applied your previous patch, and I did see the -std=c++11, but I read the
"MinOZW" as "MinGW" so I thought it wasn't relevant for us...
Anyway, applied to master, thanks!
Regards,
Arnout
> c5ca521e232eae31276e7a12d17f0cf9d9c0108f resulting in the following
> build failure:
>
> In file included from /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Driver.h:38:0,
> from /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Manager.h:39,
> from Main.cpp:37:
> /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Node.h:566:32: error: 'std::shared_ptr' has not been declared
> void SetProductDetails(std::shared_ptr<Internal::ProductDescriptor> product);
> ^
>
> Fixes:
> - http://autobuild.buildroot.org/results/a7999ffe3b93391b9a20dcfa3ddd9d21daf0cace
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/openzwave/openzwave.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/openzwave/openzwave.mk b/package/openzwave/openzwave.mk
> index 0f639635dd..17da3b9b87 100644
> --- a/package/openzwave/openzwave.mk
> +++ b/package/openzwave/openzwave.mk
> @@ -31,8 +31,8 @@ OPENZWAVE_MAKE_OPTS = \
> pkgconfigdir=/usr/lib/pkgconfig \
> sysconfdir=/etc/openzwave \
> DOXYGEN= \
> - DEBUG_CFLAGS="-fPIC" \
> - RELEASE_CFLAGS="-fPIC" \
> + DEBUG_CFLAGS="-fPIC -std=c++11" \
> + RELEASE_CFLAGS="-fPIC -std=c++11" \
> USE_BI_TXML=0
>
> ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
>
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-04 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 8:31 [Buildroot] [PATCH 1/1] package/openzwave: fix example build Fabrice Fontaine
2021-08-04 21:14 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).