Is there a replacement for pi const on OS X 10.8?
pi
When I use it, I get the following warning:
'pi' is deprecated: first deprecated on Mac OS X 10.8
This works, but I want to get rid of this warning.
Try to include math.h , which defines the macro of the standard C library M_PI .
math.h
M_PI
Source: https://habr.com/ru/post/927253/More articles:qDebug does not display anything - c ++Javascript 'this' compared to object name - javascriptDistance Using WGS84 Ellipsoid - GPSPython multiline regex - pythonChange color to title attribute in UIRefreshControl - ioshttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/927254/transactionalreadonly-true-leads-to-lazyinitializationexception&usg=ALkJrhjc_nbmWaumrAdKygY43pZ9bb-05wHow to apply changes in angularjs (ng-show)? - angularjsDynamically set width and height of TextView in Android - widthrails routing show action nested resources - ruby-on-railsC # as a scripting language - c ++All Articles