Commit 3199102
authored
test/cfg/boost.cpp: added missing include for
Fixes potential syntax checking in cfg tests on `macos-12` as some
runners might now have Boost installed:
```
Boost found and working, checking syntax with g++ now.
/Users/runner/work/cppcheck/cppcheck/test/cfg/boost.cpp:90:49: error: expected ';' after expression
BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_errc) {
^
;
/Users/runner/work/cppcheck/cppcheck/test/cfg/boost.cpp:90:37: error: use of undeclared identifier 'future_errc'
BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_errc) {
^
/Users/runner/work/cppcheck/cppcheck/test/cfg/boost.cpp:92:9: error: use of undeclared identifier 'no_state'
no_state
^
/Users/runner/work/cppcheck/cppcheck/test/cfg/boost.cpp:94:47: error: expected ';' after expression
BOOST_SCOPED_ENUM_DECLARE_END(future_errc)
^
;
/Users/runner/work/cppcheck/cppcheck/test/cfg/boost.cpp:94:35: error: use of undeclared identifier 'future_errc'
BOOST_SCOPED_ENUM_DECLARE_END(future_errc)
^
5 errors generated.
make: *** [checkcfg] Error 1
```BOOST_SCOPED_ENUM_DECLARE_* (#6808)1 parent c3b9131 commit 3199102
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments