Doxygen Book
ignore_warning.sh
Go to the documentation of this file.
1 #!/usr/bin/env bash
2 echo '#pragma GCC diagnostic push' > $2
3 echo '#pragma GCC diagnostic ignored "-Wtype-limits"' >> $2
4 echo '#pragma GCC diagnostic ignored "-Wsign-compare"' >> $2
5 cat $1 >> $2
6 echo '#pragma GCC diagnostic pop' >> $2