If your compiler supports the pragma disable warning #number then you can surround the BGL code with pragma disable ... and pragma enable ...
Disable unused variable warning from Boost graph library within CMake
-
23-06-2022 - |
Domanda
I only want to disable unused variable warnings from BGL, and keep such warnings for my own code. I have read similar answers suggesting include boost as system header, but I don't know how to do that in CMake...
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow