Reputation: 1548
This program doesn't actually do anything, but it builds with 182 warnings, all of which seem to be issues in boost
code. Should I do anything about this, maybe use a different library, or should I just use boost::asio
and ignore all the warnings?
// main.cpp
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
int main() {
exit(0) ;
}
Upvotes: 2
Views: 389
Reputation: 52365
This is common for many boost (and third-party) libraries. I would have them treated as system headers. For example, with gcc pass the -isystem
command line option or move the boost headers to directory which is considered a system header directory.
Boost also has a warnings guidelines page which might be helpful. See Suppressing Warnings in GCC
.
Upvotes: 4