Rene Rivera
c714c24aa2
Add missing import-search for cconfig/predef checks.
2024-05-04 23:32:40 -05:00
Nikita Kniazev
fe3675ea09
Tests: Suppress C++03 deprecation warnings from other libraries
2023-03-17 22:50:13 +03:00
Nikita Kniazev
30ed090a15
Tests: Boost.Math will require C++14 soon
2022-06-27 21:55:59 +03:00
Nikita Kniazev
6a7c758376
Switch to the new location of lightweight test
...
Old location had been deprecated for a long time already.
2021-08-23 21:45:17 +03:00
Nikita Kniazev
705954734d
Workaround bogus MSVC C4709 warning
...
It has been 10+ years since the false-positive was reported to MSVC developers, but still it is not fixed. My bug report in the new MSVC bug tracker https://developercommunity.visualstudio.com/t/buggy-warning-c4709/471956 seen no motion in two years.
2021-05-30 23:46:56 +03:00
Nikita Kniazev
9a9bbcfb2e
Disable Boost.Math real_concept on C++03 (it now requires C++11)
2021-02-09 01:02:12 +03:00
Giovanni Mascellani
c35dffc860
Fix typos and encoding errors in copyright headers.
2021-01-03 09:25:35 +01:00
Nikita Kniazev
d6ec29bc65
Classic.Tests: tree_to_xml: Rewrite without Iostreams
2020-05-28 02:32:49 +03:00
Nikita Kniazev
21e5be5fb9
Classic: Remove workarounds for unsupported Borland versions
...
We have had a hard error for __BORLANDC__ <= 0x570 for a long time to safely
remove workarounds for these versions.
2020-05-04 14:52:26 +03:00
Nikita Kniazev
8321823575
Also do not turn warnings into errors in dependencies
...
Some libraries like Boost.Chrono add various warning flags by themselves
2020-04-23 23:36:32 +03:00
Nikita Kniazev
475877a3da
Fix -Wdeprecated-comma-subscript
2020-04-12 22:13:32 +03:00
Nikita Kniazev
1ba9024712
Turn off warnings from dependencies
...
This removes the need of prebuilding dependencies in CI
2020-04-09 17:26:58 +03:00
Nikita Kniazev
ee9c7214c4
Port to B2 forced-include feature
2020-04-04 15:30:21 +03:00
Nikita Kniazev
390dbe2ec0
Classic.Tests: escape_char_parser_tests: Avoid overflow
...
On ARM `ULONG_MAX == WCHAR_MAX`.
2020-04-02 21:21:46 +03:00
Nikita Kniazev
fb52246a00
Remove deprecated Boost.Bind global placeholders usage
2020-03-30 20:28:10 +03:00
Brian Wignall
5bdefe59a7
Fix typos
2019-12-27 21:49:15 -05:00
Nikita Kniazev
5cb2193662
CI: Run MSVC with /W4
2019-09-27 22:20:04 +03:00
Nikita Kniazev
d24ac7ce5c
Classic.Tests: Run file_iterator_tests only once
...
There is nothing to test with BOOST_SPIRIT_DEBUG.
2019-03-18 01:38:51 +03:00
Nikita Kniazev
2fa4c5c913
Revert "Classic: file_iterator_tests: Fixed temp file race"
...
This reverts commit 3e0be04eab .
2019-03-18 01:36:51 +03:00
Nikita Kniazev
3e0be04eab
Classic: file_iterator_tests: Fixed temp file race
...
We have multiple runs of the test and sometimes it fails because of a race.
2019-03-17 02:13:26 +03:00
Nikita Kniazev
2bda35f0fd
Classic.Test: ast_calc_tests: Fixed unreachable code warning on VS2015
...
libs\spirit\classic\test\ast_calc_tests.cpp(209) : warning C4702: unreachable code
2019-03-01 20:11:19 +03:00
Nikita Kniazev
449c25c796
Classic.Tests: grammar_tests: Fixed comma at end of enumerator list warning
...
libs\spirit\classic\test\grammar_tests.cpp:38:21: warning: comma at end of enumerator list [-Wpedantic]
2019-03-01 01:12:00 +03:00
Nikita Kniazev
f171f07e30
Classic.Tests: Suppress self-assignment warnings
2019-02-26 21:16:37 +03:00
Nikita Kniazev
e46e58f4cd
Tests: Added precompiled headers
...
Not intrusive. Significantly speeds up tests on MSVC (for about 3 times).
Finally solves exceeding build time limits on CI with MSVC compilers.
Did not set up PCH for X3, it is fast as-is (tooks only about 2 minutes).
Repository tests reuse PCH from Qi/Karma tests.
2019-01-21 02:59:45 +03:00
Nikita Kniazev
c8c42c006a
Classic.Tests: Boost.System header only follow-up
2019-01-07 22:50:50 +03:00
Nikita Kniazev
d3e14ccf04
Classic: Fixed position_iterator forming reference to local
...
When underlying iterator returns by value the corresponding position_iterator
was providing iterator_adaptor with a reference type what lead to returning
a reference to a local variable in dereference operator.
Made a custom trait because it is a way more elegant than:
```cpp
typedef typename boost::mpl::if_c<
boost::is_reference<reference>::value,
typename boost::add_reference<
typename boost::add_const<
typename boost::remove_reference<reference>::type
>::type
>::type,
typename boost::add_const<reference>::type
>::type const_reference_type;
```
Fixes https://svn.boost.org/trac10/ticket/9737 .
2018-11-23 03:19:03 +03:00
Romain Geissler
5e10e84031
Prepare for C++20 and remove "throw()" usage.
2018-11-11 23:14:05 +00:00
Nikita Kniazev
bb3c55e860
Classic.Tests: traverse_tests: The right fix for buffer overflow
2018-10-08 14:24:04 +03:00
Nikita Kniazev
d47c84e87d
Classic.Tests: ast_calc_tests: Fixed may fall through warnings
2018-10-02 03:14:18 +03:00
Nikita Kniazev
11e414737c
Classic.Tests: traverse_tests: Fixed an off by one error
2018-07-08 17:12:15 +03:00
Brian Kuhl
19fa9074d7
toupper() may not be a macro
...
.. and in the Dinkum STL shipped with VxWorks it's an inline function.
2018-01-16 10:09:48 -05:00
Daniela Engert
8edbebe8b3
Inheriting std::iterator is deprecated in c++17
...
Boost's iterator.hpp is deprecated, too. It does nothing but pulling std::iterator into namespace boost and including standard headers 'iterator' and 'cstddef'. Therefore get rid of all of that and replace inheritance by lifting std::iterator's members into the derived class.
2017-12-29 19:35:56 +01:00
Nikita Kniazev
2d7dcd9f6e
Classic: Fix compilation with BOOST_DISABLE_THREADS defined
...
Closes https://svn.boost.org/trac10/ticket/12639
2017-12-14 21:26:53 +03:00
Nikita Kniazev
b360b5f4ed
Classic.Tests: mix_and_match_trees: ‘begin’ and ‘end’ are used uninitialized
2017-11-21 19:49:37 +03:00
Nikita Kniazev
2641b567de
Classic.Tests: tree_to_xml: Fixed bug in container_device::write
2017-11-21 19:49:37 +03:00
Nikita Kniazev
9b341b391d
Classic.Tests: switch_problem: Fixed unused parameter self warning
2017-11-21 19:49:36 +03:00
Nikita Kniazev
27d63eb270
Classic.Tests: ast_calc_tests: Fixed iterator_t shadowing warning
2017-11-21 19:49:36 +03:00
Nikita Kniazev
9bf993abfa
Classic: Fixed iter_policy_t and scanner_policies_t shadowing problem
...
`iter_policy_t` and `scanner_policies_t` declared at Spirit's namespace scope.
2017-11-21 19:49:36 +03:00
Nikita Kniazev
4130a9d041
Classic.Tests: owi_mt_tests: Fixed conversion warning
2017-11-21 19:49:36 +03:00
Nikita Kniazev
5c44ac5af5
Classic: Fixed unused parameter warnings
2017-11-21 19:49:36 +03:00
Nikita Kniazev
d9564895c6
Fixed unused argc/argv
2017-11-21 19:49:36 +03:00
Nikita Kniazev
6e3c97484d
Classic.Tests: escape_char_parser_tests: Fixed unused variable warnings
2017-11-21 19:49:36 +03:00
Nikita Kniazev
c7d1560bc9
Classic.Tests: bug_fixes: Fixed MSVC c++17 compile problem
2017-11-14 21:40:45 +03:00
Nikita Kniazev
bb878087f7
Classic.Tests: traverse_tests: Fixed ambiguous optional
2017-11-14 00:35:43 +03:00
Nikita Kniazev
29281c68bb
Classic.Tests: fundamental_tests: Fixed ambiguous optional
2017-11-14 00:35:43 +03:00
Nikita Kniazev
661c4319bd
Classic.Tests: parser_traits_tests: Fixed ambiguous optional
2017-11-13 22:18:24 +03:00
Nikita Kniazev
24d7461950
Classic.Tests: scanner_value_type_tests: Fixed unused function warning
2017-11-12 18:59:53 +03:00
Nikita Kniazev
e21a75993d
Classic.Tests: sf_bug_742038: Fixed temp file removing
2017-11-12 17:48:19 +03:00
Nikita Kniazev
66acd18baa
Classic.Tests: multi_pass_compile_tests: Fixed deprecated unlink usage
2017-11-12 17:48:19 +03:00
Nikita Kniazev
3cfd69606c
Classic.Tests: file_iterator_tests: Workarounded MSVC fopen warning
2017-11-12 17:48:19 +03:00