Jeff Trull
d8474c3e2d
Handle some previously deprecated, now removed, filesystem code
...
- convenience.hpp is removed
- no_push and branch_path are removed
2024-01-14 15:06:47 -08:00
Jeff Trull
9382ac9e8b
MSVC-related cleanups ( #150 )
...
* Replace several sprintf's with boost::format or std::to_string
* Clean up MSVC builds by removing pre-C++11 toolsets
* Update build badges
2022-02-20 17:54:26 -08:00
Jeff Trull
9a043482a9
Use portable filesystem string conversion instead of native() ( #149 )
...
* use string(), not native(), for Filesystem string conversion
2022-02-09 11:53:31 -08:00
Jeff Trull
1db25211a4
Fix various warnings ( #148 )
...
* The comma operator is deprecated inside of square brackets
solution: add parentheses
* Bitwise operations are deprecated between different enum types
solution: add user-defined operators for the combinations we use
* std::tmpnam usage gets a linker warning identifying security issues, recommends mkstemp()
solution: use Boost.Filesystem temporary filename functions
2022-02-05 15:44:11 -08:00
Jeff Trull
88369abfd5
Remove long-deprecated hooks API
...
Removal in 1.76 was noted in the docs and warned about since 1.74.
2020-12-13 15:53:32 -08:00
Jeff Trull
f1ec8fd22c
Make indentation consistent with code nesting
...
These changes, a subset of what clang-format generates, ensure code
and comments are aligned properly for the level of the code. There
were a number of places where comments (many) and code (some) were
four spaces to the left of where they should be. This will make the
code easier to read.
One advantage of separating out these changes is they can be verified
to be whitespace-only with a simple diff.
2020-10-23 15:05:00 -07:00
Jeff Trull
6fd0da8780
Rename include guard macros that don't begin with BOOST_
2020-06-15 10:52:30 -07:00
Jeff Trull
2e8eeeeb4d
Add BOOST_OVERRIDE to virtual functions in derived classes ( #89 )
2020-04-13 21:12:34 -07:00
Jeff Trull
ec83deadf7
Use new API of Boost.Timer ( #76 )
2020-03-06 15:39:36 -08:00
Jeff Trull
ec0c8c8603
Implement C++20 features ( #75 )
...
* Introduce support for C++20 preprocessor features
- add __VA_OPT__ feature to variadic macros
- allow supplying 0 variadic arguments in more cases
- add related unit tests
2020-03-06 11:48:50 -08:00
Hartmut Kaiser
e7cadc39df
Fixed sprintf warnings
2017-09-02 13:05:03 -05: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
0f064c7faf
Wave: fixing a couple of warnings
...
[SVN r80761]
2012-09-29 20:13:28 +00:00
Hartmut Kaiser
82aee622a6
Wave:
...
- Added util::create_directories() wrapper to account for new behavior of boost::filesystem::create_directories().
- Added a new command line option --license=<file> to the Wave driver tool which allows to pre-pend the content of a (license) file to every newly created file. This option simplifies the implementation of partial preprocessing as done on Phoenix, Fusion, etc.
[SVN r79786]
2012-07-28 14:16:37 +00:00
Hartmut Kaiser
e5ac1ca3b3
Wave: updating copyrights, minor fixes, bumping version number for release
...
[SVN r78555]
2012-05-23 14:41:35 +00:00
Hartmut Kaiser
e1d1f933eb
Wave: allowing to force interpretation of wchar_t as signed/unsigned, fixed a problem in #pragma option_str(output)
...
[SVN r72162]
2011-05-25 18:32:51 +00:00
Hartmut Kaiser
040c4d33d6
Wave: added new command line option --noexpand/-N
...
[SVN r71779]
2011-05-07 15:13:45 +00:00
Hartmut Kaiser
ab2fdf61e7
Wave: After preprocessing the body of any #pragma wave option() the wave tool now concatenates all adjacent string literals into a single string literal.
...
[SVN r68146]
2011-01-14 03:35:24 +00:00
Hartmut Kaiser
feb1e9ccdb
Wave: updated copyrights, added C++0x mode to docs, added predefined macros for C++0x mode
...
[SVN r67894]
2011-01-09 22:19:16 +00:00
Hartmut Kaiser
dc832745b7
Wave: fixing Wave for Boost Filesystem V3, which is now the default, changed build system for Wave tool to disable threading
...
[SVN r67093]
2010-12-08 01:29:47 +00:00
Hartmut Kaiser
e563eaca2e
Wave: fixing exception handling
...
[SVN r66155]
2010-10-23 23:12:06 +00:00
Hartmut Kaiser
2c34ab5d57
Wave: added new preprocessing hook: emit_line_directive, added corresponding functionality to wave driver
...
[SVN r60819]
2010-03-24 23:38:12 +00:00
Hartmut Kaiser
b61ae31acc
Wave: updating copyrights, fixing issues introduced by latest changes to multi_pass.
...
[SVN r58715]
2010-01-05 17:30:27 +00:00
Hartmut Kaiser
5146cbbe2a
Wave: more work on pragma once pp hooks, added test case
...
[SVN r56312]
2009-09-19 19:57:09 +00:00
Hartmut Kaiser
aa8030e5f1
Wave: added preprocessing hook to detect #pragma once directives or include guards
...
[SVN r56276]
2009-09-17 17:54:07 +00:00
Hartmut Kaiser
63aaed85fa
Wave: minor edit
...
[SVN r54223]
2009-06-22 19:46:43 +00:00
Hartmut Kaiser
72b796a248
Wave: added --macrocounts/-c command line option to wave driver tool allowing to collect macro invocation counts
...
[SVN r53586]
2009-06-03 01:06:42 +00:00
Hartmut Kaiser
122915b95f
Wave: fixed examples
...
[SVN r53192]
2009-05-22 23:40:53 +00:00
Hartmut Kaiser
4cc8bb6365
Wave: now compiles even with BOOST_FILESYSTEM_NO_DEPRECATED defined
...
[SVN r51679]
2009-03-10 01:35:54 +00:00
Hartmut Kaiser
d63da08b41
Wave: updating copyrights
...
[SVN r50638]
2009-01-16 18:34:31 +00:00
Hartmut Kaiser
23bbed3024
Wave: updated copyright messages to include the year 2008 (merged from release branch).
...
[SVN r42502]
2008-01-05 22:44:28 +00:00
Hartmut Kaiser
e5f489787d
Wave: Changed return type of some preprocessing hooks to allow to skip the corresponding preprocessor action.
...
[SVN r38143]
2007-07-04 21:56:56 +00:00
Hartmut Kaiser
0e9ebd8223
Wave: added handling of #import directives, fixed a problem in the Wave driver.
...
[SVN r38100]
2007-06-26 19:40:04 +00:00
Hartmut Kaiser
56f71426da
Wave: fixed to minor problems related to whitespace generation and #pragma option(output: push).
...
[SVN r36723]
2007-01-13 21:11:06 +00:00
Hartmut Kaiser
be7fed080b
Fixed a problem in #pragma wave option(output: pop) when -o- was specified on the command line.
...
[SVN r36712]
2007-01-12 20:35:30 +00:00
Hartmut Kaiser
836feceeb1
Improved error handling for #pragma option push/pop.
...
[SVN r36705]
2007-01-12 13:43:13 +00:00
Hartmut Kaiser
dc8846cbf5
Added pragma option values push and pop to the options line, preserve and output.
...
[SVN r36698]
2007-01-12 02:04:19 +00:00
Hartmut Kaiser
3cf132c4d0
Wave: Extended the copyright notice to include the year 2007.
...
[SVN r36469]
2006-12-20 16:58:16 +00:00
Hartmut Kaiser
6bd6cd8ef7
Wave: Added error handler hook.
...
[SVN r35630]
2006-10-16 14:39:59 +00:00
Hartmut Kaiser
9145802cc6
Added found_warning_directive() and found_error_directive() pp hook functions.
...
[SVN r34326]
2006-06-17 15:48:01 +00:00
Hartmut Kaiser
d1f4c7c8b1
Fixed compilation errors with gcc.
...
[SVN r34107]
2006-05-27 01:38:37 +00:00
Hartmut Kaiser
ff02969b74
Fixed usability of true/false as macro names.
...
[SVN r34075]
2006-05-24 01:34:24 +00:00
Hartmut Kaiser
1c153e7ed5
Fixed Wave compilation errors on gcc.
...
[SVN r33744]
2006-04-19 14:56:33 +00:00
Hartmut Kaiser
c959794650
Wave V1.2.4
...
[SVN r33362]
2006-03-17 22:40:02 +00:00
Hartmut Kaiser
a3f6f97ae1
Added a diagnostic message to the wave driver if a #pragma wave system() is found without the -x command line option.
...
[SVN r32346]
2006-01-18 01:53:24 +00:00
Hartmut Kaiser
be57d3db18
Added -x [--extended] command line argument to enable the #pragma wave system() directive.
...
[SVN r32345]
2006-01-18 00:01:38 +00:00
Hartmut Kaiser
5115faf51e
Updated the Wave copyright notice to include the year 2006.
...
[SVN r32154]
2005-12-24 19:50:47 +00:00
Hartmut Kaiser
a8880c23de
Merged the new whitespca handling policy with the existing preprocessing hooks.
...
[SVN r31864]
2005-12-01 17:58:43 +00:00
Hartmut Kaiser
ddf3523acf
Added the first part of the MCPP validation suite to the Wave unit tests.
...
[SVN r28005]
2005-04-06 07:28:34 +00:00
Hartmut Kaiser
1c2ca265ea
Added lot of unit tests, fixed a couple of minor bugs.
...
[SVN r27950]
2005-04-04 11:03:51 +00:00