mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/cryptopp: needs wchar
Fix the following build failure raised since commit
bf4cf9de83:
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 <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
5da8218184
commit
7425450ba2
@@ -1,8 +1,9 @@
|
|||||||
config BR2_PACKAGE_CRYPTOPP
|
config BR2_PACKAGE_CRYPTOPP
|
||||||
bool "cryptopp"
|
bool "cryptopp"
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
help
|
help
|
||||||
A free C++ class library of cryptographic schemes
|
A free C++ class library of cryptographic schemes
|
||||||
|
|
||||||
comment "cryptopp needs a toolchain w/ dynamic library"
|
comment "cryptopp needs a toolchain w/ dynamic library, wchar"
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||||
|
|||||||
Reference in New Issue
Block a user