1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: fix build failure with gcc-15
This change fixes the following build failure with gcc-15:
.
/build/reproducible-path/iqtree-2.0.7+dfsg/whtest/whtest_sub.h:56:6: error: conflicting types for ‘ReadDataSize’; have ‘void(char *)’
56 | void ReadDataSize ( char *datafile );
| ^~~~~~~~~~~~
In file included from /build/reproducible-path/iqtree-2.0.7+dfsg/whtest/whtest.c:34:
/build/reproducible-path/iqtree-2.0.7+dfsg/whtest/weisslambda_sub.h:39:6: note: previous declaration of ‘ReadDataSize’ with type ‘void(void)’
39 | void ReadDataSize();
| ^~~~~~~~~~~~
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096850
Forwarded: no
Last-Update: 2025-10-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- iqtree.orig/whtest/weisslambda_sub.h
+++ iqtree/whtest/weisslambda_sub.h
@@ -36,7 +36,7 @@
/*********************************/
-void ReadDataSize();
+void ReadDataSize(char *);
void AllocateMemory();
|