[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] fix build failure in gawk-3.1.5 (xmalloc in hard-locale.h)

From: Mike Frysinger
Subject: [patch] fix build failure in gawk-3.1.5 (xmalloc in hard-locale.h)
Date: Sat, 3 Sep 2005 16:06:39 -0400
User-agent: KMail/1.8.2

attempts to build gawk-3.1.5 on non-glibc systems with nls support enabled and 
newer compilers results in a build failure:

hard-locale.h: In function 'hard_locale':
hard-locale.h:43: error: invalid storage class for function 'xmalloc'

this is due to declaring the prototype for the xmalloc function inline in the 
hard_locale function ... simply moving it outside of the function allows the 
build to complete successfully ...

patch attached

Attachment: gawk-3.1.5-gcc4.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]