Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #350

Open
BullyWiiPlaza opened this issue Dec 31, 2023 · 0 comments

Comments

@BullyWiiPlaza
Copy link

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<char,std::char_traits<char>>::~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<char,std::char_traits<char>>' 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<char,std::char_traits<char>>' 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<char,std::char_traits<char>>::~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<char,std::char_traits<char>>::~basic_pipebuf' in 'boost::process::basic_ipstream<char,std::char_traits<char>>::~basic_ipstream'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant