Page MenuHome GnuPG

gcc4 build failure introduced in 1.9.17
Closed, ResolvedPublic

Description

Release: 1.9.17

Environment

Fedora Core 4, gcc4 (4.0.0-8)

Description

1.9.17 won't compile with gcc4:

misc.c: In function 'mpi_print':
misc.c:992: error: invalid lvalue in unary '&'

Fix

This change was introduced in CVS revision 1.41.2.7; reverting that allows the compilation to succeed.
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/gnupg/g10/misc.c?only_with_tag=GNUPG-1-9-BRANCH&r2=1.41.2.7&r1=1.41.2.6

Event Timeline

werner added a subscriber: werner.

Done. However the the g10/ directory is not expected to
build cleany. This is the reason why it won't get build
with the default ./configure invocation. There is not need
for it as gpg 1.4 should be used instead for OpenPGP. As
soon as it is working again, the default will be to build
the g10/ stuff again.