xcode关闭 overrides a member function but is not marked 'override'

原文地址:https://stackoverflow.com/questions/32626171/xcode-7-how-to-suppress-warning-overrides-a-member-function-but-is-not-marked/32627021

22
 

You need to turn off the -Winconsistent-missing-override flag which automatically gets added with -Wall on recent versions of clang. You can do this by passing the -Wno-inconsistent-missing-override flag. See.

 
  •  
    its not helping me m still facing same error, any suggestions what should i do? – Swati Oct 17 '16 at 11:01
  •  
    Go into Xcode build settings in "Other C++ Flags" and add "-Wno-inconsistent-missing-override" – brant Jun 21 '17 at 20:05

posted on 2019-11-18 11:02  ZhYQ_note  阅读(2673)  评论(0)    收藏  举报

导航