boostorg / boostorg/proto

Mismatch of #pragma warning push/pop

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
23
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Using VS 2019 (16.10.0) there is mismatch of #pragma warning push/pop. The problem is in the given lines (and also 229):
https://github.com/boostorg/proto/blob/7f924934689b940f3a72212ab0f714ec6fd6e34b/include/boost/proto/operators.hpp#L209-L212

I've modified it like below and now it is working ok:
```cpp
BOOST_PROTO_PUSH_WARNINGS \
BOOST_PROTO_DISABLE_MSVC_C4714 \
template \
BOOST_FORCEINLINE \
typename boost::proto::detail::enable_unary< \
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.