[gnutls-devel] GnuTLS | Compilation warnings and documentation generation failures in GnuTLS build (#1754)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Oct 23 08:55:00 CEST 2025



Karthik Das created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1754



## Description of problem:
GnuTLS compilation produces multiple warnings and documentation generation fails due to:

Function prototype warnings: gnutls_audit_pop_context() and gnutls_audit_current_context() functions lack proper void parameter declarations, causing -Wstrict-prototypes warnings
Documentation generation failures: Missing Doxygen parameter descriptions for gnutls_audit_* functions cause doc build to fail with "Function parameter 'context' not described" errors
Static analyzer warnings: False positive null pointer dereference warnings in ocsp.c

## Version of gnutls used:

commit eb3c9febfa9969792b8ac0ca56ee9fbd9b0bd7ee (HEAD -> master, origin/master, origin/HEAD)
Merge: 714a830af 38c57f41f
Author: Daiki Ueno <ueno at gnu.org>
Date:   Wed Oct 22 20:01:17 2025 +0900

    Merge branch 'wip/dueno/ecc-privkey' into 'master'

    x509: encode ECDSA private key in fixed length

    Closes #1747

    See merge request gnutls/gnutls!2030

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"

## How reproducible:

Clone the GnuTLS repository: 
git clone https://gitlab.com/gnutls/gnutls.git
Run bootstrap script: 
./bootstrap
Configure the build: 
./configure
Attempt to compile: 
make -j$(nproc)
Observe compilation warnings for function prototypes and documentation generation failures

## Actual results:
Clean compilation without warnings and successful documentation generation

## Expected results:
Multiple -Wstrict-prototypes warnings and documentation build failures

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1754
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20251023/df043451/attachment-0001.html>


More information about the Gnutls-devel mailing list