Commit Graph

4777 Commits

Author SHA1 Message Date
Nikita Kniazev
ae49b5c3d1
Merge pull request #482 from Kojoley/do-not-spoil-endian-namespace
Do not spoil endian namespace
2019-03-14 01:05:08 +03:00
Nikita Kniazev
9d48b5a231 Do not spoil endian namespace 2019-03-13 18:10:06 +03:00
Nikita Kniazev
443305be4b CI: Use TRAVIS_COMPILER env var as a toolset for a job 2019-03-13 17:31:23 +03:00
Nikita Kniazev
5a80befedd
Merge pull request #480 from Kojoley/transform_attribute-disallow-references
transform_attribute: Disallow references as template parameters
2019-03-08 05:07:22 +03:00
Nikita Kniazev
38ec0cc2c1
Merge pull request #349 from Kojoley/support-endian-problems
Support: Endian problems
2019-03-08 02:14:13 +03:00
Nikita Kniazev
9e648777bf Support: endian: Fixed-width integer detection 2019-03-07 23:05:33 +03:00
Nikita Kniazev
4739e6eabe Support: endian: undef internal macros 2019-03-07 23:05:32 +03:00
Nikita Kniazev
74c0ec310a Fixed cover operators macro redefinition problem 2019-03-07 23:05:32 +03:00
Nikita Kniazev
6c258d506c Fixed macro name clashes with Boost.Endian 2019-03-07 23:05:30 +03:00
Nikita Kniazev
805b050e09 transform_attribute: Disallow references as template parameters
The special handling was used instead of removing references from the
`make_attribute<T,U>::type`. Since `make_attribute` is gone the workaround is
no longer needed.
2019-03-07 22:17:21 +03:00
Nikita Kniazev
e92f491a54 Qi.Tests: Suppress -Wuninitialized in direct initialization test 2019-03-06 21:10:54 +03:00
Nikita Kniazev
eea593da4e X3.Docs: Fixed parse_rule instantiation
Missed an edit in d4c0179f
2019-03-06 17:54:10 +03:00
Nikita Kniazev
e2d96079e1 Tests: move_only: Add default constructor
In C++20 such types will no longer be brace constructible.
2019-03-06 02:40:42 +03:00
Nikita Kniazev
8bbc6274be Tests: Reenable -Wnested-anon-types warning 2019-03-04 03:12:29 +03:00
Nikita Kniazev
b68cd0eb59 Tests: Enable -Wbool-operatio warning
The last warning was fixed in b0eede8435
2019-03-04 01:16:51 +03:00
Nikita Kniazev
fc39ec12c9 Qi.Tests: rule1: Fixed -Wuninitialized warning
libs/spirit/test/qi/rule1.cpp:75:47: warning: variable 'start' is uninitialized when used within its own initialization [-Wuninitialized]
2019-03-04 00:27:36 +03:00
Nikita Kniazev
f6297dc92f Fixed another unescaped Jamfile warnings 2019-03-03 03:30:56 +03:00
Nikita Kniazev
0fb76692dd
X3: support/utility/testing.hpp: Propagate prefix and suffix [skip ci] (#476)
X3: support/utility/testing.hpp: Propagate prefix and suffix
2019-03-03 00:04:25 +03:00
Nikita Kniazev
0540c5ec6c
Merge pull request #478 from Kojoley/hexencode-extended-ascii
Hexencode extended ASCII
2019-03-03 00:03:43 +03:00
Nikita Kniazev
0ab06abfc6 Annotate, clean up, and group extended ASCII tests 2019-03-01 22:50:15 +03:00
Nikita Kniazev
ddd4619987 Hexencode extended ASCII characters
There is no other portable way to deal with extended ASCII in source code.
2019-03-01 22:50:15 +03:00
Nikita Kniazev
eeb1e6bc52
Merge pull request #475 from Kojoley/warnings-elimination
Deal with a pile of high warning level annoyances
2019-03-01 22:49:21 +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
63a16b76dd X3.Tests: Fixed extra semicolon warnings 2019-03-01 01:12:01 +03:00
Nikita Kniazev
016472c2fb Support: utree: Fixed name shadowing
boost/spirit/home/support/utree/detail/utree_detail2.hpp(936): warning C4458: declaration of 'p' hides class member
boost/spirit/home/support/utree/utree.hpp(603): note: see declaration of 'boost::spirit::utree::p'
2019-03-01 01:12:00 +03:00
Nikita Kniazev
97a13dbdbc Qi: iterator_source: Fixed unused argument warning 2019-03-01 01:12:00 +03:00
Nikita Kniazev
7b3939f133 Tests: Fix some of maybe uninitialized warnings 2019-03-01 01:12:00 +03:00
Nikita Kniazev
0694cfb0da X3.Tests: alternative: Fix unreachable code warning 2019-03-01 01:12:00 +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
b0eede8435 Qi: utree: Suppress '~' on an expression of type bool warning 2019-03-01 01:12:00 +03:00
Nikita Kniazev
666fed425e X3.Tests: Fix unused argument warnings 2019-03-01 01:11:59 +03:00
Nikita Kniazev
89a3de13f2
Merge pull request #474 from Kojoley/qi-fix-iterator_source-conversion-warning-on-32bit
Qi: iterator_source: Fix conversion warning on 32bit
2019-02-28 14:25:04 +03:00
Nikita Kniazev
c0e06cda9c Qi: iterator_source: Refactor read count clamping
This is specialization for random access iterators, no need for std::difference
2019-02-27 23:06:11 +03:00
Nikita Kniazev
79af31f68e Qi: iterator_source: Fix conversion warning 2019-02-27 23:06:09 +03:00
Nikita Kniazev
32537028f5
Merge pull request #472 from Kojoley/x3-improve-situation-with-move-only-types
X3: Improve situation with move only types
2019-02-27 19:15:16 +03:00
Nikita Kniazev
5c14304068 Qi.Examples: Remove a name clash in compiler tutorial [skip ci]
Needed to be able to build examples with multiple distinct toolsets
2019-02-27 17:23:03 +03:00
Nikita Kniazev
5d80257f61 X3.Tests: MSVC14.0 have problems with variable templates 2019-02-27 16:16:16 +03:00
Nikita Kniazev
c36e74be1b X3: Suppress multiple copy constructors warning in x3::variant 2019-02-26 22:14:30 +03:00
Nikita Kniazev
660d8ac3c1 X3.Tests: Fix odd temporary attribute creation 2019-02-26 21:23:43 +03:00
Nikita Kniazev
793d89619c X3: Move only types with optional 2019-02-26 21:23:43 +03:00
Nikita Kniazev
8bd9b6ece4 X3: Fixed container of move only types with sequence 2019-02-26 21:23:43 +03:00
Nikita Kniazev
f371ccf6d0 X3: push_back has to forward actual reference type
Added tests for move only types in kleene, plus, list, and repeat parsers
2019-02-26 21:23:43 +03:00
Nikita Kniazev
25c05a99a0 CI: Update compilers on Travis 2019-02-26 21:17:07 +03:00
Nikita Kniazev
f171f07e30 Classic.Tests: Suppress self-assignment warnings 2019-02-26 21:16:37 +03:00
Nikita Kniazev
7242e87542 Qi.Repo.Test: subrule: Suppress self-assignment warning on Clang 2019-02-26 19:13:02 +03:00
Nikita Kniazev
bfbaa9e224 Qi.Repo: keywords: Fixed self-assignment
This should be here to roll back the skipper
2019-02-26 05:00:33 +03:00
Nikita Kniazev
3cafb2ba38
Merge pull request #471 from boostorg/develop
Pre Boost 1.70 merge
2019-02-25 18:48:31 +03:00
Nikita Kniazev
83d77ffcd3 Merge remote-tracking branch 'upstream/master' into develop-upstream 2019-02-24 15:07:26 +03:00
Nikita Kniazev
eb8eeb2fbc extract_uint: Fixed IgnoreOverflowDigits=true problem at overflow
The IgnoreOverflowDigits=true parser always succeeds and because of that it
expects from the digits parser that a number passed as inout argument will be
changed only on success.

Changed negative_accumulator and X3 for consistency.
2019-02-22 15:13:02 +03:00
Nikita Kniazev
92596fe02e Fix extract_int test std::pow problems 2019-02-22 04:26:47 +03:00