Page MenuHome GnuPG

libgpg-error-0.5 build error
Closed, ResolvedPublic

Description

Release: 0.5

Environment

Solaris 8
Sun ONE Studio 7

Description

Hi,
A warning is emitted while building libgpg-error-0.5 on Solaris 8:

line 114: warning: implicit function declaration: snprintf

That's because strerror.c fails to include <stdio.h> where this function is declared.

Fix

Add to strerror.c:
#include <stdio.h>

Release Note

Fixed as suggested.