The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Ch3, reference 4.3.0 (defe61), with Swift 6.0 for macOS (SPM) on 29 Jul 2025 07:04:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pawelmajcher/Ch3.git
Reference: 4.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pawelmajcher/Ch3
 * tag               4.3.0      -> FETCH_HEAD
HEAD is now at defe61b v4.3.0 of uber h3 lib
Cloned https://github.com/pawelmajcher/Ch3.git
Revision (git rev-parse @):
defe61b18c4f5fc024a3ff6bd5b6c3a9562f5e09
SUCCESS checkout https://github.com/pawelmajcher/Ch3.git at 4.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pawelmajcher/Ch3.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/21] Compiling h3Assert.c
[1/21] Compiling iterators.c
[2/21] Compiling baseCells.c
In file included from /Users/admin/builder/spi-builder-workspace/Ch3/linkedGeo.c:375:
/Users/admin/builder/spi-builder-workspace/Ch3/include/polygonAlgos.h:187:36: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  187 |         if (fabs(lng - next.lng) > M_PI) {
      |                                    ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
In file included from /Users/admin/builder/spi-builder-workspace/Ch3/linkedGeo.c:375:
/Users/admin/builder/spi-builder-workspace/Ch3/include/polygonAlgos.h:216:55: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  216 |         if (!isTransmeridian && fabs(a.lng - b.lng) > M_PI) {
      |                                                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
2 warnings generated.
[3/21] Compiling directedEdge.c
[4/21] Compiling linkedGeo.c
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:118:18: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  118 |     while (lat > M_PI_2) {
      |                  ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:119:21: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  119 |         lat = lat - M_PI;
      |                     ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:131:18: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  131 |     while (lng > M_PI) {
      |                  ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:132:26: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  132 |         lng = lng - (2 * M_PI);
      |                          ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:134:19: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  134 |     while (lng < -M_PI) {
      |                   ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:135:26: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  135 |         lng = lng + (2 * M_PI);
      |                          ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:239:35: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  239 |     if (az < EPSILON || fabs(az - M_PI) < EPSILON) {
      |                                   ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:245:28: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  245 |         if (fabs(p2->lat - M_PI_2) < EPSILON)  // north pole
      |                            ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:247:23: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  247 |             p2->lat = M_PI_2;
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:249:35: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  249 |         } else if (fabs(p2->lat + M_PI_2) < EPSILON)  // south pole
      |                                   ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:251:24: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  251 |             p2->lat = -M_PI_2;
      |                        ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:262:28: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  262 |         if (fabs(p2->lat - M_PI_2) < EPSILON)  // north pole
      |                            ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:264:23: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  264 |             p2->lat = M_PI_2;
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:266:35: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  266 |         } else if (fabs(p2->lat + M_PI_2) < EPSILON)  // south pole
      |                                   ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/latLng.c:268:24: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  268 |             p2->lat = -M_PI_2;
      |                        ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
15 warnings generated.
[5/21] Compiling latLng.c
[6/21] Compiling vertexGraph.c
[7/21] Compiling faceijk.c
[8/21] Compiling vec3d.c
[9/21] Compiling vertex.c
[10/21] Compiling vec2d.c
[11/21] Compiling mathExtensions.c
[12/21] Compiling h3Index.c
In file included from /Users/admin/builder/spi-builder-workspace/Ch3/polygon.c:38:
/Users/admin/builder/spi-builder-workspace/Ch3/include/polygonAlgos.h:187:36: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  187 |         if (fabs(lng - next.lng) > M_PI) {
      |                                    ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
In file included from /Users/admin/builder/spi-builder-workspace/Ch3/polygon.c:38:
/Users/admin/builder/spi-builder-workspace/Ch3/include/polygonAlgos.h:216:55: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  216 |         if (!isTransmeridian && fabs(a.lng - b.lng) > M_PI) {
      |                                                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
2 warnings generated.
[13/21] Compiling polygon.c
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:210:33: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  210 | static BBox VALID_RANGE_BBOX = {M_PI_2, -M_PI_2, M_PI, -M_PI};
      |                                 ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:210:42: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  210 | static BBox VALID_RANGE_BBOX = {M_PI_2, -M_PI_2, M_PI, -M_PI};
      |                                          ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:210:50: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  210 | static BBox VALID_RANGE_BBOX = {M_PI_2, -M_PI_2, M_PI, -M_PI};
      |                                                  ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:210:57: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  210 | static BBox VALID_RANGE_BBOX = {M_PI_2, -M_PI_2, M_PI, -M_PI};
      |                                                         ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:250:22: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  250 |         out->north = M_PI_2;
      |                      ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:255:23: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  255 |         out->south = -M_PI_2;
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:260:23: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  260 |     if (out->north == M_PI_2 || out->south == -M_PI_2) {
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:260:48: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  260 |     if (out->north == M_PI_2 || out->south == -M_PI_2) {
      |                                                ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:261:21: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  261 |         out->east = M_PI;
      |                     ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/polyfill.c:262:22: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  262 |         out->west = -M_PI;
      |                      ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
10 warnings generated.
[14/21] Compiling polyfill.c
[15/21] Compiling localij.c
[16/21] Compiling algos.c
[17/21] Compiling coordijk.c
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:272:23: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  272 |     if (bbox->north > M_PI_2) bbox->north = M_PI_2;
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:272:45: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  272 |     if (bbox->north > M_PI_2) bbox->north = M_PI_2;
      |                                             ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:274:24: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  274 |     if (bbox->south < -M_PI_2) bbox->south = -M_PI_2;
      |                        ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:274:47: warning: ambiguous expansion of macro 'M_PI_2' [-Wambiguous-macro]
  274 |     if (bbox->south < -M_PI_2) bbox->south = -M_PI_2;
      |                                               ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:711:9: note: expanding this definition of 'M_PI_2'
  711 | #define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:30:9: note: other definition of 'M_PI_2'
   30 | #define M_PI_2 1.5707963267948966
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:277:22: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  277 |     if (bbox->east > M_PI) bbox->east -= M_2PI;
      |                      ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:278:23: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  278 |     if (bbox->east < -M_PI) bbox->east += M_2PI;
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:280:22: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  280 |     if (bbox->west > M_PI) bbox->west -= M_2PI;
      |                      ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/bbox.c:281:23: warning: ambiguous expansion of macro 'M_PI' [-Wambiguous-macro]
  281 |     if (bbox->west < -M_PI) bbox->west += M_2PI;
      |                       ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:710:9: note: expanding this definition of 'M_PI'
  710 | #define M_PI        3.14159265358979323846264338327950288   /* pi             */
      |         ^
/Users/admin/builder/spi-builder-workspace/Ch3/include/constants.h:25:9: note: other definition of 'M_PI'
   25 | #define M_PI 3.14159265358979323846
      |         ^
8 warnings generated.
[18/21] Compiling bbox.c
[19/21] Write Objects.LinkFileList
[20/21] Archiving libCh3.a
Build complete! (0.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Ch3",
  "name" : "Ch3",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Ch3",
      "targets" : [
        "Ch3"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Ch3",
      "module_type" : "ClangTarget",
      "name" : "Ch3",
      "path" : ".",
      "product_memberships" : [
        "Ch3"
      ],
      "sources" : [
        "Ch3/algos.c",
        "Ch3/baseCells.c",
        "Ch3/bbox.c",
        "Ch3/coordijk.c",
        "Ch3/directedEdge.c",
        "Ch3/faceijk.c",
        "Ch3/h3Assert.c",
        "Ch3/h3Index.c",
        "Ch3/iterators.c",
        "Ch3/latLng.c",
        "Ch3/linkedGeo.c",
        "Ch3/localij.c",
        "Ch3/mathExtensions.c",
        "Ch3/polyfill.c",
        "Ch3/polygon.c",
        "Ch3/vec2d.c",
        "Ch3/vec3d.c",
        "Ch3/vertex.c",
        "Ch3/vertexGraph.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.