• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PDLPorters / perl5-PGPLOT / 13531520464
42%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2025 09:45PM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Feb 2025 09:41PM UTC coverage: 41.979% (+0.1%) from 41.874%
13531520464

push

github

mohawk2
Fix build failures with standard C 2023.

As initially identified in [Debian bug #1097250], PGPLOT is affected
by build failures caused by mismatching prototypes with Gcc 15:

	In file included from PGPLOT.xs:16:
	pgfun.c: In function ‘pgfun1’:
	pgfun.c:78:7: warning: old-style function definition [-Wold-style-definition]
	   78 | float pgfun1(x)
	      |       ^~~~~~
	pgfun.c:79:4: error: number of arguments doesn’t match prototype
	   79 |    float *x; {
	      |    ^~~~~
	pgfun.c:29:7: error: prototype declaration
	   29 | float pgfun1();
	      |       ^~~~~~
	pgfun.c: In function ‘pgfun2’:
	pgfun.c:120:7: warning: old-style function definition [-Wold-style-definition]
	  120 | float pgfun2(x)
	      |       ^~~~~~
	pgfun.c:121:4: error: number of arguments doesn’t match prototype
	  121 |    float *x; {
	      |    ^~~~~
	pgfun.c:30:7: error: prototype declaration
	   30 | float pgfun2();
	      |       ^~~~~~
	pgfun.c: In function ‘pgfunplot’:
	pgfun.c:161:6: warning: old-style function definition [-Wold-style-definition]
	  161 | void pgfunplot(visible,x,y,z)
	      |      ^~~~~~~~~
	pgfun.c:163:4: error: number of arguments doesn’t match prototype
	  163 |    float *x,*y,*z; {
	      |    ^~~~~
	pgfun.c:31:8: error: prototype declaration
	   31 | void   pgfunplot();
	      |        ^~~~~~~~~

This patch adds missing function argument types in prototypes, and
casts a couple of indirect function calls, to ensure compatibility
with the standard C 2023, now selected by default by gcc 15 and later.

[Debian bug #1097250]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097250

Signed-off-by: Étienne Mollier <emollier@debian.org>

4 of 4 new or added lines in 1 file covered. (100.0%)

1120 of 2668 relevant lines covered (41.98%)

1933.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13531520464.1 25 Feb 2025 09:45PM UTC 10
41.98
GitHub Action Run
Source Files on build 13531520464
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dd37c3ef on github
  • Prev Build on master (#12428822227)
  • Next Build on master (#13531640770)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc