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