[llvm-commits] Build failure with musl libc
joerg at britannica.bec.de
Sun Jan 6 15:31:03 PST 2013
On Sun, Jan 06, 2013 at 02:15:50PM +0400, ojab wrote:
> Joerg Sonnenberger <joerg at ...> writes:
> > On Tue, Jan 01, 2013 at 11:12:34PM +0400, ojab wrote:
> > > Hello list,
> > >
> > > currently LLVM fails to build on linux with musl libc  due to two
> > > issues, patch can be found in the attached file:
> > >
> > > 1) stderr/out/in are 'const void*' in musl, which leads to:
> > That doesn't make sense from a standard perspective.
> > Joerg
> According to POSIX stderr/out/in are defined  as
> >extern FILE *stderr, *stdin, *stdout;
> and FILE is "A structure containing information about a file."
> (<stdio.h> ), so AFAIU it isn't necessary 'void*'.
> Which exactly standard do you meaning?
The const part specifically.
More information about the llvm-commits