#2797: NRPyElliptic passes incompatible pointer types
Reporter: Roland Haas
Status: new
Milestone:
Version:
Type: bug
Priority: major
Component:
With gcc-14 NRPyElliptic fails with
```
Creating /Users/rhaas/Cactus/configs/sim/lib/libthorn_Meudon_Bin_BH.a
/Users/rhaas/Cactus/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c: In function 'NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase':
/Users/rhaas/Cactus/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c:147:71: error: passing argument 6 of 'NRPyEllipticET_conformally_flat_BBH_interpolate_solution_to_ADMBase' from incompatible pointer type [-Wincompatible-pointer-types]
147 | input_array,
| ^~~~~~~~~~~
| |
| CCTK_REAL8 (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0] {aka double (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0]}
In file included from /Users/rhaas/Cactus/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c:3:
/Users/rhaas/Cactus/arrangements/EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/./conformally_flat_BBH_NRPy_function_prototypes.h:74:92: note: expected 'const CCTK_REAL8 *' {aka 'const double *'} but argument is of type 'CCTK_REAL8 (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0]' {aka 'double (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0]'}
74 | const CCTK_REAL *input_gf,
| ~~~~~~~~~~~~~~~~~^~~~~~~~
```
Basically a `CCTK_REAL*` is not the same as a `CCTK_REAL[][]`.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2797/nrpyelliptic-pass…
#2796: build failure using gcc14 on macOS 23.0.0
Reporter: Roland Haas
Status: new
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Roland Haas):
Should not have been anymore. Some sort of user error one assumes. I found the branch and recompiled.
The branch seems to remove the error.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2796/build-failure-usi…
#2796: build failure using gcc14 on macOS 23.0.0
Reporter: Roland Haas
Status: new
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Roland Haas):
hmm Zach’s apparently, now why does it not pull the branch…
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2796/build-failure-usi…
#2796: build failure using gcc14 on macOS 23.0.0
Reporter: Roland Haas
Status: new
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Samuel Cupp):
@{557058:59e031ba-9bb5-4298-a472-7b99d0ae6f22} can you check if the `macFix` branch fixes your issue? if it does, I can merge it and then try to fix the code gen.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2796/build-failure-usi…