I have a nice clean standards-compliant codebase that I can compile with GCC's "-ansi -pedantic-errors -Wextra", etc.
But now I need to use a source library with associated headers that is decidedly NOT clean code.
What's the best way to isolate this code from my own so that I can still compile mine strictly, but can allow leniency with the third-party code?