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
Post a Comment