GnuTLS | Compilation warnings and documentation generation failures in GnuTLS build (#1754)

Read-only notification of GnuTLS library development activities <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>

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 <[email protected]>
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.

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.