문제

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...

도움이 되었습니까?

해결책

If your compiler supports the pragma disable warning #number then you can surround the BGL code with pragma disable ... and pragma enable ...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top