Dealing with deprecation warnings by simply ignoring the warnings

312 Views Asked by At

The developers of gcdwebserver version 3.5.4 added #pragma clang diagnostic ignored "-Wdeprecated-declarations" around lines that were causing deprecation warnings in iOS 15. Specifically, lines having to do with CC_MD5 and CFURLCreateStringByAddingPercentEscapes generated warnings before. I'm concerned that the #pragma lines were added rather than dealing with the actual deprecated code. Won't Apple eventually remove those deprecated functions?

When it is okay to ignore deprecation warnings (and other warnings) rather than changing the code? What will happen later?

0

There are 0 best solutions below