Commit Graph

422 Commits

Author SHA1 Message Date
Hartmut Kaiser
ac64abce4a Merge branch 'develop' 2018-10-25 08:21:44 -05: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
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
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
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
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
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
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
Abel Sinkovics
358a0e9668 Fix including header file without newline at the end 2017-09-18 22:25:52 +02:00
Abel Sinkovics
972461234d Fix reporting missing #endif when there is no new line after #if or #else 2017-09-18 22:02:57 +02:00
Abel Sinkovics
a53b51e440 Fix #line directive without new line at the end of a file 2017-09-17 15:35:37 +02:00
Abel Sinkovics
3c8b90bf60 Accept files with preprocessor directive in last line and no new line in C++11 mode. 2017-09-17 13:49:36 +02:00
Abel Sinkovics
4c4cc7e2ff Don't emit a warning about missing new line at end of file in C++11 mode 2017-09-16 22:49:30 +02:00
Hartmut Kaiser
e7cadc39df Fixed sprintf warnings 2017-09-02 13:05:03 -05:00
Hartmut Kaiser
0a949dadcc Removing endline whitespace 2017-09-02 10:03:22 -05:00
Hartmut Kaiser
20d4dd1f81 Fixing #1 2017-09-02 10:02:53 -05:00
Hartmut Kaiser
da322957c2 Merge branch 'develop' 2017-08-07 09:03:17 -05:00
Hartmut Kaiser
78f971894f Merge pull request #10 from hia3/develop
Don't try to access act_token when it is not valid
2017-02-17 20:17:59 -06:00
hia3
f673ca94bc Don't try to access act_token when it is not valid
lex_token::get_value assumes that lex_token::data is not NULL. When it
is NULL it causes UB detectable by clang's AddressSanitizer:

cpp_lex_token.hpp:242:57: runtime error: member call on null pointer of
type 'boost:👋:cpplexer::impl::token_data...'
2017-02-18 04:51:28 +03:00
sms
9370702de4 Replaced conditional by an assert() 2016-10-05 22:28:03 +03:00
sms
011ce71072 Remove fs access, step 2 2016-10-05 20:13:20 +03:00
Arash
cc5e0bafb7 Preventing macro repetition.
Define repetition must be avoided to prevent clash with the other libraries.

A clash example is here:
https://github.com/Arash-codedev/Simple-Web-Server/blob/master/http_examples.cpp#L5
2016-09-05 13:15:23 +10:00
Josh Guffin
8896793b49 Fix off-by-one error 2015-06-16 12:27:52 -04:00
Lauri Nurmi
2d86dbe53a Fix spelling of "occurr*". 2015-04-03 18:42:08 +03:00
Stephen Kelly
44c72a10dc Wave: Remove obsolete MSVC version checks.
[SVN r85933]
2013-09-26 09:41:18 +00:00
Hartmut Kaiser
2a434c1b91 Wave: merging from trunk
[SVN r85646]
2013-09-10 22:33:02 +00:00
Hartmut Kaiser
cbefee7438 Wave: removed code under SGI's license as this is incompatible with Boost
[SVN r85645]
2013-09-10 22:29:46 +00:00
Hartmut Kaiser
efbf08fab4 Wave: Merging from trunk
[SVN r85641]
2013-09-10 12:47:28 +00:00
Hartmut Kaiser
1a2c4952c8 Wave: merging from trunk
[SVN r84014]
2013-04-22 17:17:10 +00:00
Hartmut Kaiser
4c9bdad5d0 Wave: Removing last BOOST_FALLTHROUGH
[SVN r84013]
2013-04-22 17:13:14 +00:00
Hartmut Kaiser
8224ab9eaf Fixed #8478: Make Boost.wave compatible with Clang's -Wimplicit-fallthrough diagnostic.
[SVN r84012]
2013-04-22 17:01:51 +00:00
Hartmut Kaiser
2084ba549b Wave: merging from trunk
[SVN r83839]
2013-04-10 22:37:31 +00:00
Hartmut Kaiser
e44608b15f Wave: fix #8416: Boost 1.53.0: Wave fails to build in C++11 mode
[SVN r83838]
2013-04-10 22:34:12 +00:00
Hartmut Kaiser
2dbc24f686 Merge Wave fixes
[SVN r83464]
2013-03-16 14:50:42 +00:00
Hartmut Kaiser
06d384dec3 Fix #8255: Wave build warnings are probably errors on 64-bit
[SVN r83345]
2013-03-07 13:34:56 +00:00
Hartmut Kaiser
95faf57f5b Fix #8056: compiling wave custom_directives sample yields compile errors
[SVN r82862]
2013-02-14 00:07:55 +00:00