File: gcc-15.patch

package info (click to toggle)
iqtree 2.0.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,700 kB
  • sloc: cpp: 142,571; ansic: 57,789; sh: 275; python: 242; makefile: 95
file content (27 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download
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();