Alexander Grund
9458c4207c
Add more character info to show_config
2025-11-02 14:10:43 +01:00
Alexander Grund
88bdae9d5d
Write to std::cerr in show_config
...
Use unbuffered stream to get easier access to output when program crashes.
2025-07-08 19:50:10 +02:00
Alexander Grund
8019e889c4
Remove left-over condition
2025-01-15 13:57:44 +01:00
Alexander Grund
e540a63c0b
Enable char8_t strings where available, remove Clang condition
...
The issue was caused by using an incompatible libstdc++.
For Clang 13 & 14 libstdc++ 11 works.
2025-01-10 13:33:10 +01:00
Alexander Grund
0113bf309d
Output C++20 char8_t support in show_config
2023-09-16 17:13:38 +02:00
Alexander Grund
2fe203055f
Factor out (conditional) has_win_locale in tests
...
Only call into library code when the function is available.
That check was missed in one test so put the same code into a single place.
Fixes #181
2023-06-18 09:45:25 +02:00
Alexander Grund
9b07560af3
Fix uncovered line
2023-06-13 09:58:33 +02:00
Alexander Grund
a821f487fb
Show availability of UTF-8 C-locale in show_config
...
Helps to debug potential failures due to missing UTF-8 support.
2023-06-06 14:46:07 +02:00
Alexander Grund
0a68c52b7f
Modernize using nullptr
2023-05-07 19:01:45 +02:00
Alexander Grund
258c128fa4
Supress deprecation warnings in tests on clang-cl
2023-03-08 01:57:10 +01:00
Alexander Grund
0a6615301d
Check for WinAPI locale and en_001/150 in show_config
2023-03-01 17:10:32 +01:00
Alexander Grund
1cc2a017ab
Fix some MSVC warnings
...
Define `_SCL_SECURE_NO_WARNINGS` for building the library to avoid "Call to 'std::copy' with parameters that may be unsafe" in `src\boost\locale\std\converter.cpp`
This also allows to remove the multiple suppressions of C4996
2022-11-22 09:15:17 +01:00
Alexander Grund
c1a54feddc
Don't output test report of show_config
2022-11-21 20:19:17 +01:00
Alexander Grund
0f50ba896d
Reset C locale in test/show_config
...
Avoids assertion failures on MSVC when the stdlib doesn't support
encodings with more than 2 bytes length (e.g. UTF-8)
2022-11-21 20:19:16 +01:00
Alexander Grund
7d806962af
Suppress MSVC error dialogs
...
Taken from LWT
2022-11-20 12:07:04 +01:00
Alexander Grund
fa4afd7a5d
Switch to consistent west-const
...
Especially for `const char*` which seems to be more common than `char const*`
2022-10-10 14:25:58 +02:00
Alexander Grund
7784f46243
Format sources
...
Use clang-format-14 to format source code consistently.
Closes #98
2022-10-10 14:25:58 +02:00
Alexander Grund
c6debb769c
CI: Show output of test_config and rename to show_config
2022-09-27 21:58:45 +02:00