Commit Graph

885 Commits

Author SHA1 Message Date
Hartmut Kaiser
ac64abce4a Merge branch 'develop' 2018-10-25 08:21:44 -05:00
Hartmut Kaiser
24f714a9c5
Merge pull request #42 from boostorg/feature/fix-quick-test
Add BOOST_SYMBOL_VISIBLE to explicit instantiations, to fix link errors on Linux/Mac
2018-10-25 08:20:11 -05:00
Peter Dimov
a228ae4918 Remove one unneeded BOOST_SYMBOL_VISIBLE 2018-10-25 03:49:57 +03:00
Peter Dimov
2eeecc4879 Add BOOST_SYMBOL_VISIBLE to more explicit instantiations 2018-10-25 03:49:17 +03:00
Peter Dimov
8dcd9380ae Add BOOST_SYMBOL_VISIBLE to two more explicit instantiations 2018-10-25 03:30:25 +03:00
Peter Dimov
f008da5106 Add BOOST_SYMBOL_VISIBLE to new_lexer_gen<>::new_lexer 2018-10-25 00:25:18 +03:00
Peter Dimov
694ee3701e Add BOOST_SYMBOL_VISIBLE to cpplexer::new_lexer_gen instantiations 2018-10-24 20:26:00 +03:00
Peter Dimov
5891614e84 Add quick.cpp test 2018-10-24 17:16:41 +03:00
Hartmut Kaiser
6a6135fb6b
Merge pull request #40 from rlenhardt/wave_utf8
add appveyor.yml
2018-10-17 11:03:05 -05:00
Robert Lenhardt
cef3c0dd41 disabling mingw and cygwin builds, they fail to build for reasons unrelated to wave 2018-10-17 09:03:21 +02:00
Robert Lenhardt
e8ef1c4955 fix indentation in appveyor.yml 2018-10-06 18:41:31 +02:00
Robert Lenhardt
95536fe2d9 add newline at end of appveyor.yml 2018-10-06 18:39:08 +02:00
Robert Lenhardt
f7b4fd22fd add appveyor.yml 2018-10-06 17:04:43 +02:00
Hartmut Kaiser
7efb060a1c
Merge pull request #39 from rlenhardt/wave_utf8
fix utf8 testcases on non-windows systems
2018-10-06 08:30:29 -05:00
Robert Lenhardt
e3680846ce fix utf8 testcases on non-windows systems 2018-10-06 12:41:23 +02:00
Hartmut Kaiser
e9838c3b34
Merge pull request #38 from boostorg/feature/travis
Add .travis.yml
2018-10-05 19:25:00 -05:00
Peter Dimov
645d8f586c Add .travis.yml 2018-10-05 23:39:44 +03:00
Hartmut Kaiser
6da3e03814
Merge pull request #37 from rlenhardt/wave_utf8
use boost filesystem streams in wave to enable utf-8 paths in includes
2018-10-05 08:15:07 -05:00
Robert Lenhardt
231aad085f add tests for utf-8 paths 2018-10-04 17:40:21 +02:00
Hartmut Kaiser
12ca40dfb2
Merge pull request #36 from Kojoley/fix-samples-cpp_tokens-slex-auto_ptr-usage
Fixed usage of auto_ptr on systems where it is deprecated
2018-10-02 10:12:44 -05:00
Hartmut Kaiser
f60f5bc15e
Merge pull request #35 from Kojoley/fix-util-cpp_macromap-unused-local-typedef
util/cpp_macromap.hpp: Fixed unused local typedef warning
2018-10-02 10:11:54 -05:00
Hartmut Kaiser
28c8ee878a
Merge pull request #34 from Kojoley/fix-util-cpp_iterator-conversion-warning
util/cpp_iterator.hpp: Fixed conversion warning
2018-10-02 10:11:20 -05:00
Nikita Kniazev
0ea2aa7ca2 Fixed usage of auto_ptr on systems where it is deprecated
The macro `BOOST_NO_AUTO_PTR` is defined on systems where both `auto_ptr` and
`unique_ptr` are available (and `auto_ptr` usage produces a deprecation warning).
By using `BOOST_NO_CXX11_SMART_PTR` we will favor `unique_ptr` over `auto_ptr`.

```
slex/lexer.hpp:2423:13: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations]
```
2018-10-02 17:59:26 +03:00
Nikita Kniazev
5a5e06f8c4 util/cpp_macromap.hpp: Fixed unused local typedef warning
boost/wave/util/cpp_macromap.hpp:586:69: warning: typedef 'iterator_type' locally defined but not used [-Wunused-local-typedefs]
2018-10-02 17:43:40 +03:00
Nikita Kniazev
f8358c02c1 util/cpp_iterator.hpp: Fixed conversion warning
boost/wave/util/cpp_iterator.hpp(815): warning C4267: '+=': conversion from 'size_t' to 'unsigned int', possible loss of data
2018-10-02 17:23:58 +03:00
Robert Lenhardt
73d3e36637 always use boost filesystem streams to open files 2018-09-28 16:22:34 +02:00
Hartmut Kaiser
5699f9a4ed Boost V1.68.0 2018-07-06 15:40:03 -05:00
Hartmut Kaiser
3d6ad95384
Merge pull request #31 from jbeich/freebsd
Unbreak build on FreeBSD after e941cb5806
2018-04-11 04:57:55 +09:00
Jan Beich
0e25913e02 Avoid using wrong T_DIVIDE on BSDs
In file included from libs/wave/src/instantiate_re2c_lexer.cpp:29:
In file included from ./boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp:38:
In file included from ./boost/wave/cpplexer/re2clex/cpp_re.hpp:379:
cpp.re:189:7: error: cannot initialize return object of type 'boost:👋:token_id' with an rvalue of type 'int'
    { BOOST_WAVE_RET(T_DIVIDE); }
      ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/wave/cpplexer/re2clex/cpp_re.hpp:65:16: note: expanded from macro 'BOOST_WAVE_RET'
        return (i);                                                           \
               ^~~
2018-04-10 17:18:41 +00:00
Hartmut Kaiser
f0370e68c7 Merge branch 'develop' 2017-12-21 01:11:14 -06:00
Hartmut Kaiser
6ca4f8229d
Merge pull request #29 from jefftrull/fixing_cpp11_fmt_specs_lc
Fixing cpp11 format specs
2017-11-30 20:50:28 -06:00
Hartmut Kaiser
9dc6123233
Merge pull request #26 from jefftrull/fixing_msvc_symbol_exports
Resolve link errors in MSVC builds by exporting symbols
2017-11-30 20:50:17 -06:00
Jeff Trull
1d81ffbc2a Clean up indentation 2017-11-30 12:22:28 -08:00
Jeff Trull
418c7c11b5 Replace use of C++11 "z" printf format modifier with lexical_cast 2017-11-30 11:29:15 -08:00
Jeff Trull
06c69a68d4 Use class-wide symbol exporting for conciseness 2017-11-30 08:25:21 -08:00
Hartmut Kaiser
6ea5d5dcc6
Merge pull request #27 from jefftrull/fixing_unbalanced_if_fname
Force normalized paths to use platform path dividers
2017-11-30 07:43:37 -06:00
Hartmut Kaiser
b07f9630d3
Merge pull request #25 from jefftrull/fixing_msvc_iterators
Remove comparisons vs. default-initialized (and thus singular) iterators
2017-11-30 07:43:26 -06:00
Jeff Trull
856b799f3e Force normalized paths to use platform path dividers 2017-11-29 22:39:27 -08:00
Jeff Trull
18556324a8 Resolve link errors in MSVC builds by exporting symbols 2017-11-29 19:24:38 -08:00
Jeff Trull
880ee59412 Remove comparisons vs. default-initialized (and thus singular) iterators 2017-11-29 17:39:14 -08:00
Hartmut Kaiser
bf55521b70
Merge pull request #23 from boostorg/pr/add-test-jamfile
Add test/Jamfile
2017-11-28 15:50:19 -06:00
Peter Dimov
4386cce02e Add test/Jamfile 2017-11-28 23:40:30 +02:00
Hartmut Kaiser
62e29280cc
Merge pull request #22 from jefftrull/feature/fixing_12603
Repair C++11 raw string literal lexing
2017-11-28 14:35:49 -06:00
Jeff Trull
c74492a208 Remove inadvertent newline from end of test file
Also tweak generated file to reflect source and avoid future speed bumps
2017-11-28 05:37:16 -08:00
Jeff Trull
1fde04d215 Repair C++11 raw string literal lexing, support custom delimiters, add tests 2017-11-27 19:26:11 -08:00
Hartmut Kaiser
2a6a1f906f
Merge pull request #21 from jefftrull/fixing_12208
Allow lexer input iterators to be Forward or better
2017-11-23 11:36:25 -06:00
Jeff Trull
e941cb5806 Allow lexer input iterators to be Forward or better
This change is implemented primarily by templating the Scanner class
on the lexer IteratorT and using that type for three scanner data
members.  In addition we make use of std::distance/std::advance where
possible so we don't lose performance on RandomAccess inputs.
2017-11-22 09:04:02 -08:00
Hartmut Kaiser
95d786801c Merge branch 'develop' 2017-11-10 18:13:07 -06:00
Hartmut Kaiser
ee883e72e4 Merge pull request #20 from jefftrull/feature/update-re2c
Update re2c version to 1.0.2
2017-10-24 19:44:27 -05:00
Jeff Trull
d53e8491ec Update "strict" lexer as well 2017-10-20 11:07:45 -07:00