[llvm-commits] Build failure with musl libc
ojab
ojab at ojab.ru
Sun Jan 6 02:15:50 PST 2013
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 [1] 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 [1] as
> extern FILE *stderr, *stdin, *stdout;
and FILE is "A structure containing information about a file."
(<stdio.h> [2]), so AFAIU it isn't necessary 'void*'.
Which exactly standard do you meaning?
Please add me to CC, since I'm not subscribed to llvm-commits at .
[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/stdin.html
[2] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html
//wbr ojab
More information about the llvm-commits
mailing list