Your message dated Thu, 26 Aug 2021 20:35:06 +0000
with message-id <[email protected]>
and subject line Bug#798526: fixed in cfortran 20210827-1
has caused the Debian Bug report #798526,
regarding cfortran: PPSTRING arguments give unused parameter warning
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
798526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cfortran
Version: 4.4-14
Severity: minor
Tags: patch
Dear Maintainer,
when compiling sources which use PPSTRING arguments, one receives a warning
about an unused argument. This is because Fortran passes CHARACTER arguments
with a count, but because of the way PPSTRING works, this is discarded.
The following patch solves this problem by replacing the plain passing of only
the pointer by an expression that uses a well established idiom to suppress
unused argument warning while having no other effect.
Regards, Thomas
--- a/cfortran.h 2015-09-10 11:19:38.628955692 +0200
+++ b/cfortran.h 2015-09-10 11:20:46.642443275 +0200
@@ -2218,7 +2218,7 @@
#define STRING_cfT(M,I,A,B,D) TTTTSTR( A,B,D)
#define STRINGV_cfT(M,I,A,B,D) TTTTSTRV(A,B,D,
num_elem(A,D,_3(M,_STRV_A,I)))
#define PSTRING_cfT(M,I,A,B,D) TTSTR( A,B,D)
-#define PPSTRING_cfT(M,I,A,B,D) A
+#define PPSTRING_cfT(M,I,A,B,D) ((void)D, A)
#endif
#endif
#define PNSTRING_cfT(M,I,A,B,D) STRING_cfT(M,I,A,B,D)
-- System Information:
Debian Release: 7.9
APT prefers oldstable
APT policy: (900, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
cfortran depends on no packages.
Versions of packages cfortran recommends:
ii gcc [c-compiler] 4:4.7.2-1
ii gcc-3.4 [c-compiler] 3.4.6-5
ii gcc-4.4 [c-compiler] 4.4.7-2
ii gcc-4.6 [c-compiler] 4.6.3-14
ii gcc-4.7 [c-compiler] 4.7.2-5
ii gfortran [fortran-compiler] 4:4.7.2-1
cfortran suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cfortran
Source-Version: 20210827-1
Done: Bastien Roucariès <[email protected]>
We believe that the bug you reported is fixed in the latest version of
cfortran, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastien Roucariès <[email protected]> (supplier of updated cfortran package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 26 Aug 2021 20:27:42 +0000
Source: cfortran
Architecture: source
Version: 20210827-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Bastien Roucariès <[email protected]>
Closes: 798526
Changes:
cfortran (20210827-1) unstable; urgency=medium
.
* Use nodoc profiles for examples
* Update to newer debian standards.
* New upstream version
* Bug fix: "PPSTRING arguments give unused parameter warning", thanks to
Thomas Jahns (Closes: #798526).
Checksums-Sha1:
59e96cdf1e61d801374e26c0c6ba47ff75ecf261 2061 cfortran_20210827-1.dsc
cf17c08b81e40b3895ac2a8cfca0a31de14b3ec0 94493 cfortran_20210827.orig.tar.gz
8eb7284a4b63f506fb9ed0c47af6050f41151ffe 8096 cfortran_20210827-1.debian.tar.xz
cd01221caaae84c9ef132d20b76b8015da576e52 5643
cfortran_20210827-1_source.buildinfo
Checksums-Sha256:
84a7e41ec44969ab1ec55a84cb59bd9a9901debe98a37c036ca24c2612c1025a 2061
cfortran_20210827-1.dsc
d1e3ce2c1d85fa4854d6a9276df333962a662426c618c4f011a9546bae55afda 94493
cfortran_20210827.orig.tar.gz
4b27f4b70acc4672e554ca254ad510a7237623417c6fc90bce229123a140ce05 8096
cfortran_20210827-1.debian.tar.xz
32da4abd9e124cd370d9ddb864c859cb021b417c3f3bcf31adc0dbc4dd1ff677 5643
cfortran_20210827-1_source.buildinfo
Files:
d702b9ef977d72430a6dd72b1eb59cf6 2061 devel optional cfortran_20210827-1.dsc
68862bde1bc1a2ed1656b1b64068fe03 94493 devel optional
cfortran_20210827.orig.tar.gz
948af9d4b16303e6f56e5d91b4c4c4ee 8096 devel optional
cfortran_20210827-1.debian.tar.xz
4edfc84fa1d734fb3f3c732742654689 5643 devel optional
cfortran_20210827-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmEn+a8RHHJvdWNhQGRl
Ymlhbi5vcmcACgkQADoaLapBCF/VAxAAohIxlDJKTg1B5WvbB1WFzJZZfPWQ3ddZ
EB4s0EAS53ASazh1Exyfp0llZEi+ZuCm4sz83HsQGrTdaNpWZ6hRRKo7Ydtpu+3t
6e8LXVNpi/daY4coRBYroOPnGdfUsgwyIlY2Cwd06ehJ7oKQP7DJ9/jFAvnW7fjO
Pvi2GFHBttBMqsQ2ED6lgwAuYLV7+qUzwE3NiuV4Q2D7QuSFli72M7uG0a579qN6
m//ftidqimFz7o6lCAytk2NYzsEO5mT0cMhydlsPfsG5LuDBaeaKPtQEHkgGY/Om
tiyYboeNZrZ1JbxPY95mXBFbys0rb/AD/cb+b1gKzCfsmsKDna5oK3Z8I+rT8jru
Ovb4qs3qB16PYjiRxaFG+cXrcsgca2i01HyxAJs2Ay8w1Jrku3Q3p6QhmJ5FPu5X
YCiZdhZKem3U4UCicKWIv3AieP2OQuLl1J450dwWlKO74n9ZZRq8N9ka7E55qJ/t
xFSXuWGLLiU4V2kA14zCyzukpA2VsAnKMDnaRM4d/WubUV8hM1jJ+pp5W3zIY1OH
iM9AAOlT69OVSL9V7Vi0BZZzAVICEtxIgIjBaPsRgwF5MRUqGid1qtwrGEltyoLa
gL9NsFG2fwbefMyBHlcaAdhkt35RCbTEokEHXz33HB2r6CVYKuiqCbPY12miSIle
4MT+grcw8D8=
=QaIO
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers