Bug#1074988: gerris: ftbfs with GCC-14

Stephane Popinet popinet at basilisk.fr
Sat Nov 23 16:51:58 GMT 2024


Hi again,

Attached is a patch which should fix the (first) problem.

Stephane
-------------- next part --------------
--- configure	2013-12-06 16:51:37.000000000 +0100
+++ /tmp/configure	2024-11-23 17:47:53.023282060 +0100
@@ -12399,7 +12399,7 @@ else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-main () {
+int main () {
   if (sizeof (void *) > sizeof (double))
     return 1;
   return 0;
@@ -12665,7 +12665,7 @@ else
 #include <glib.h>
 #include <gmodule.h>
 
-main () {
+int main () {
   if (!g_module_supported ())
     return 1;
   return 0;
--- configure.ac	2013-12-06 16:51:21.000000000 +0100
+++ /tmp/configure.ac	2024-11-23 17:48:56.634841178 +0100
@@ -146,7 +146,7 @@ AC_HEADER_STDC
 # check that pointers can be stored in doubles
 AC_MSG_CHECKING(whether pointers can be stored in doubles)
 AC_TRY_RUN([
-main () {
+int main () {
   if (sizeof (void *) > sizeof (double))
     return 1;
   return 0;
@@ -184,7 +184,7 @@ AC_TRY_RUN([
 #include <glib.h>
 #include <gmodule.h>
 
-main () {
+int main () {
   if (!g_module_supported ())
     return 1;
   return 0;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x78F22AD6304D74BE.asc
Type: application/pgp-keys
Size: 2452 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20241123/d40147af/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20241123/d40147af/attachment-0001.sig>


More information about the debian-science-maintainers mailing list