| Summary: | compiling machine/setjmp.h with g++ | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Max Khon <fjoe> | ||||
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->closed Suggested patch applied in -current and RELENG_4 (just before 4.2-RELEASE). Problem doesn't affect RELENG_3 (with non-ports gcc). |
C++ does not like tagless symbols How-To-Repeat: sample program: --- cut here --- #include <setjmp.h> int foo(jmp_buf *j) { } --- cut here --- lark:~$g++ -c foo.cc foo.cc:4: non-local function `int foo({anonymous struct} (*)[1])' uses anonymous type lark:~$