diff --git a/lutin_etktest.py b/lutin_etktest.py index 8fc0bf0..2b8ea72 100644 --- a/lutin_etktest.py +++ b/lutin_etktest.py @@ -17,6 +17,8 @@ def create(target): myModule.add_module_depend(['etk']) + #myModule.compile_flags_XX(["-nostdinc++"]); + # add the currrent module at the system return myModule diff --git a/test/main.cpp b/test/main.cpp index a5a2331..04b6b90 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -346,6 +347,16 @@ void testRegExp() { } } + + { + const std::u32string data = utf8::convertUnicode("kjhkjhk"); + const std::u32string data2(U"kjhkjhk"); + const std::string data3("kjhkjhk"); + const char32_t data5[] = U"kjhkjhk"; + //std::basic_regex regexp(data2); + //std::basic_regex regexp((const char32_t*)data2.c_str()); + std::basic_regex regexp2(data5); + } } int main(int argc, const char *argv[]) {