Bug 16170

Summary: compiling machine/setjmp.h with g++
Product: Base System Reporter: Max Khon <fjoe>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Max Khon 2000-01-18 09:10:01 UTC
	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:~$
Comment 1 Bruce Evans freebsd_committer freebsd_triage 2000-10-27 10:20:12 UTC
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).