Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 1996 17:10:41 +0100 (MET)
From:      Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/2189: /usr/include/netdb.h
Message-ID:  <199612101610.RAA01172@odie.physik2.uni-rostock.de>
Resent-Message-ID: <199612101620.IAA10589@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2189
>Category:       misc
>Synopsis:       netdb.h works not with -traditonal cc flag
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 10 08:20:01 PST 1996
>Last-Modified:
>Originator:     Lars Koeller
>Organization:
Department of Physics, University of Rostock, Germany
>Release:        FreeBSD 2.1.6-RELEASE i386
>Environment:

	FreeBSD 2.1.6.1 RELEASE

>Description:

	gcc/cc -traditional on an file which uses netdb.h gives the
	following error:
	
	/usr/include/netdb.h:139: parse error before `)'


>How-To-Repeat:

	Compile a file which uses netdb.h with the -traditional flag.

>Fix:
	
	Change the line

	const char	*hstrerror __P((int));

	in /usr/include/netdb.h into

	__const char	*hstrerror __P((int));

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612101610.RAA01172>