#1078336 code-saturne: FTBFS with GCC 14: error: assignment to 'const cs_real_t *' {aka 'const double *'} from incompatible pointer type 'float *'

Package:
code-saturne
Source:
code-saturne
Description:
General purpose Computational Fluid Dynamics (CFD) software
Submitter:
Andreas Beckmann
Date:
2026-05-26 10:13:03 UTC
Severity:
normal
Tags:
#1078336#5
Date:
2024-08-09 16:39:18 UTC
From:
To:
code-saturne/experimental started to FTBFS when GCC 14 was made the
default compiler:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/base -I../.. -I../../../src/alge -I../../../src/cdo -I../../../src/cfbl -I../../../src/ctwr -I../../../src/elec -I../../../src/lagr -I../../../src/mesh -I../../../src/bft -I../../../src/fvm -I../../..
/src/gui -I../../../src/pprt -I../../../src/rayt -I../../../src/turb -I../../../src/atmo -I../../../libple/src -I../../libple -I/usr/include/x86_64-linux-gnu/mpi -DOMPI_SKIP_MPICXX -Wdate-time -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -funroll-l
oops -O2 -Wuninitialized -fexcess-precision=fast -funsigned-char -W -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wunused -Wfloat-equal -Werror=implic
it-function-declaration -Wmisleading-indentation -Wduplicated-cond -fdiagnostics-color=auto -Werror=format-security -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/code-saturne-7.0.2+repack=. -fstack-protector-strong -fstack-clash-prote
ction -Wformat -Werror=format-security -fcf-protection -fopenmp -c ../../../src/base/cs_syr4_coupling.c  -fPIC -DPIC -o .libs/cs_syr4_coupling.o
../../../src/base/cs_syr4_coupling.c: In function '_create_coupled_ent':
../../../src/base/cs_syr4_coupling.c:833:14: error: assignment to 'const cs_real_t *' {aka 'const double *'} from incompatible pointer type 'float *' [-Wincompatible-pointer-types]
  833 |       b_dist = cs_to_syr_dist;
      |              ^
../../../src/base/cs_syr4_coupling.c:835:14: error: assignment to 'const cs_real_t *' {aka 'const double *'} from incompatible pointer type 'float *' [-Wincompatible-pointer-types]
  835 |       v_dist = cs_to_syr_dist;
      |              ^
make[5]: *** [Makefile:1467: cs_syr4_coupling.lo] Error 1


Andreas

#1078336#10
Date:
2026-05-26 10:12:09 UTC
From:
To:
Dear submitter,

as the package code-saturne has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1134416

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)