boostorg / boostorg/process

boost\process\pipe.hpp(132,5): warning C4297: 'boost::process::basic_pipebuf<char,std::char_traits<char>>::~basic_pipebuf': function assumed not to throw an exception but does

Open
#350 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
145
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm getting the following compilation warning in Visual Studio (I'm compiling with `/W4`):
```
1>Main.cpp
1>C:\vcpkg\installed\x64-windows\include\boost\process\pipe.hpp(132,5): warning C4297: 'boost::process::basic_pipebuf>::~basic_pipebuf': function assumed not to throw an exception but does
1>(compiling source file 'Main.cpp')
1>C:\vcpkg\installed\x64-windows\include\boost\process\pipe.hpp(132,5):
1>destructor or deallocator has a (possibly implicit) non-throwing exception specification
1>C:\vcpkg\installed\x64-windows\include\boost\process\pipe.hpp(132,5):
1>the template instantiation context (the oldest one first) is
1> ...
1> see reference to class template instantiation 'boost::process::basic_ipstream>' being compiled
1> C:\vcpkg\installed\x64-windows\include\boost\process\pipe.hpp(304,42):
1> see reference to class template instantiation 'boost::process::basic_pipebuf>' being compiled
1> C:\vcpkg\installed\x64-windows\include\boost\process\pipe.hpp(124,6):
1> while compiling class template member function 'boost::process::basic_pipebuf>::~basic_pipebuf(void)'
1> C:\vcpkg\installed\x64-windows\include\boost\process\pipe.hpp(402,1):
1> see the first reference to 'boost::process::basic_pipebuf>::~basic_pipebuf' in 'boost::process::basic_ipstream>::~basic_ipstream'
```

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.