package/cryptopp: needs wchar
PATCH 1/1 package/cryptopp: needs wchar
Fix the following build failure raised since commit bf4cf9de833e2d571d98d1ca935ea08a3468e463:
In file included from seckey.h:11,
from 3way.h:10,
from 3way.cpp:5:
misc.h:1528:6: error: 'wstring' in namespace 'std' does not name a type
1528 | std::wstring StringWiden(const char *str, bool throwOnError = true);
| ^~~~~~~
In file included from seckey.h:11,
from 3way.h:10,
from 3way.cpp:5:
misc.h:14:1: note: 'std::wstring' is defined in header '<string>'; did you forget to '#include <string>'?
13 | #include "smartptr.h"
+++ |+#include <string>
14 | #include "stdcpp.h"Fixes:
- http://autobuild.buildroot.org/results/174fe03da7a40dd152703de93af6a213d9cac698
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/cryptopp/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/cryptopp/Config.in +3 -2
@@ -1,8 +1,9 @@ config BR2_PACKAGE_CRYPTOPP bool "cryptopp" depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR help A free C++ class library of cryptographic schemes -comment "cryptopp needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "cryptopp needs a toolchain w/ dynamic library, wchar" + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni
AppliedQuoted 17 lines · On Mon, 10 Jan 2022 18:35:42 +0100 Fabrice Fontaine…
Fix the following build failure raised since commit
bf4cf9de833e2d571d98d1ca935ea08a3468e463:In file included from seckey.h:11,
from 3way.h:10, from 3way.cpp:5: misc.h:1528:6: error: 'wstring' in namespace 'std' does not name a type 1528 | std::wstring StringWiden(const char *str, bool throwOnError = true); | ^~~~~~~ In file included from seckey.h:11, from 3way.h:10, from 3way.cpp:5: misc.h:14:1: note: 'std::wstring' is defined in header '<string>'; did you forget to '#include <string>'? 13 | #include "smartptr.h" +++ |+#include <string> 14 | #include "stdcpp.h"
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/174fe03da7a40dd152703de93af6a213d9cac698Signed-off-by Fabrice Fontaine <[email protected]>--- package/cryptopp/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot