2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-14 12:52:17 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Grund
a54481131d Fix build on MinGW/Cygwin when -std=c++nn is passed
That flag forces ISO conformance removing the declarations of the
required _w* functions.
Move the implementations using those into source files and undef
__STRICT_ANSI__ inside that file

Also allows to not use the *_s functions on MSVC as
_CRT_SECURE_NO_WARNINGS can be safely define inside the cpp files.
2020-02-25 15:00:36 +01:00
Alexander Grund
7474cb8b4a Avoid CRT_SECURE_WARNINGS on clang-win 2020-02-24 18:00:48 +01:00
Alexander Grund
4cbfd4be41 [Test] Avoid message boxes on assertion failures 2020-02-24 13:31:57 +01:00
Alexander Grund
9a12cb560b [Test] Prevent abort on freopen(NULL on MSVC 2020-02-22 23:31:41 +01:00
Alexander Grund
7e75be04b5 [Test] Add some output to test_stdio 2020-02-22 15:51:14 +01:00
Alexander Grund
7854435d8e Switch pointer alignment to left
Consistency with rest of boost
2020-01-07 21:27:26 +01:00
Alexander Grund
bb2487351f Use west-const
Almost all of boost does, so be nice stay consistent
2020-01-07 21:26:12 +01:00
Alexander Grund
1168f607bb Remove vim format tags 2020-01-07 19:41:33 +01:00
Alexander Grund
956ecbf6d1 Use pragma instead of _CRT_SECURE_NO_WARNINGS
Allows to detect missing suppressions in headers
2020-01-02 18:47:57 +01:00
Alexander Grund
831f4461fd Improve stdio test
Add comment for every subtest
Ensure completeness
2020-01-02 18:47:54 +01:00
Alexander Grund
1bff7b670c Remove usage of Boost.LightweightTest
Tests assume TEST terminates execution on failure which is not how BLWT behaves
2020-01-02 18:47:46 +01:00
Flamefire
3bd6eed183 Enforce uniform formatting via clang-format 2019-12-28 16:02:31 +01:00
Flamefire
1d50c27dce Fix some warnings 2019-12-18 14:47:14 +01:00
Flamefire
bb743eedce Reduce dependency on Boost.Filesystem
Sort test cases in Jamfile and add missing one
2019-12-18 14:46:15 +01:00
Flamefire
7549c80457 Include C++ headers instead of C variants 2019-12-14 13:35:37 +01:00
Flamefire
f213fd90f4 Fix exception path of tests
Even in case of exceptions boost::report_errors has to be called
2019-12-13 19:24:44 +01:00
Peter Dimov
6df39fc829 Switch back to using test.hpp in tests 2019-12-04 16:29:56 +02:00
Peter Dimov
ac7b93b55d Use lightweight_test 2019-12-03 16:21:45 +02:00
Peter Dimov
a233584d1e Add a unique prefix to all temporary files to allow parallel testing 2019-12-03 16:06:04 +02:00
Artyom Beilis
bfbca14bd3 Moved various files according to new boost format 2015-10-01 18:57:14 +03:00