| Summary: | i386 asm/sigcontext.h has union without a name | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Will Moore <will.moore> |
| Component: | Other | Assignee: | Carmelo Amoroso <carmelo.amoroso> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | CC: | uclibc-cvs |
| Priority: | P5 | ||
| Version: | 0.9.31 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Ignore previous comment "Looking at the git tree online this is still present ", I have not a clue how what is in git gets into i386 /asm/sigcontext.h. I saw this in 0.9.31 and it may be fixed later versions... Hi Will, the sigcontext.h you are referring to is part of the kernel headers. You should post a patch to the LKML instead of uCLibc. Cheers, Carmelo This is called anonymous union, and is a normal (IIRC) gnu99 thing. |
i386 /asm/sigcontext.h line 96 has }; when it should be }some_union_name; Gcc coughs at the lack of name for the union when configured -pedantic -pedantic-errors. Looking at the git tree online this is still present though I tripped over it when using uclibc 0.9.31 as a part of buildroot2010.11.