Discussion:
[ast-developers] Build failures due to updated glibc
Siteshwar Vashisht
2017-08-01 12:54:35 UTC
Permalink
Hello,

Due to a recent update in glibc[1] ksh builds have started failing with below error :

In file included from /builddir/build/BUILD/ksh-20120801/src/lib/libast/std/stdio.h:22:0,
from ./ast_wchar.h:87,
from /builddir/build/BUILD/ksh-20120801/src/lib/libast/include/regex.h:39,
from /builddir/build/BUILD/ksh-20120801/src/lib/libast/string/chresc.c:38:
./ast_stdio.h:82:15: error: conflicting types for '_sfio_FILE'
#define FILE _sfio_FILE
^
./ast_stdio.h:80:24: note: previous declaration of '_sfio_FILE' was here
typedef struct _sfio_s _sfio_FILE;


Attached patch fixes this build failure.

GitHub PR: https://github.com/att/ast/pull/63

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=199fc19d3aaaf57944ef036e15904febe877fc93
--
--
Siteshwar Vashisht
Loading...