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

Andreas Beckmann anbe at debian.org
Fri Aug 9 17:39:18 BST 2024


Package: code-saturne
Version: 7.0.2+repack-1~exp1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code-saturne_7.0.2+repack-1~exp1.log.gz
Type: application/gzip
Size: 50026 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240809/a28870ee/attachment-0001.gz>


More information about the debian-science-maintainers mailing list