c++ - How to deal with third party headers that don't pass compiler flags -


for project @ university, need work opencv. in order learning c++ (also because wanted anyway). having learned c last term, provided set of flags increase strictness , verbosity of compiler. having done searching on flags can use g++ in order make compiler strict possible, came across this question. have found though in order empty main() compile opencv headers without warnings need switch off number of flags including -wall , -wextra required on course c programs.

is there way of using opencv headers applying warning headers code i write?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -