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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM