Description
The new C/C++ compiler installed by Xcode 13.2 on macOS introduces a few changes that require adjustments:
The macintosh macro is no longer supported. This macro was used in one of the FITSIO sources included with SKIRT and is now replaced by a more modern mechanism to detect macOS at compile time.
The new compiler issues a warning for variables that are initialized and updated but never actually used. These redundant variables have been removed from the code (in two places).
Motivation
The first issue caused compilation to fail and the second issue caused potentially confusing warnings.
Description The new C/C++ compiler installed by Xcode 13.2 on macOS introduces a few changes that require adjustments:
The
macintosh
macro is no longer supported. This macro was used in one of the FITSIO sources included with SKIRT and is now replaced by a more modern mechanism to detect macOS at compile time.The new compiler issues a warning for variables that are initialized and updated but never actually used. These redundant variables have been removed from the code (in two places).
Motivation The first issue caused compilation to fail and the second issue caused potentially confusing warnings.
Tests All functional tests still work.