From owner-freebsd-bugs Tue Dec 10 08:20:03 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA10595 for bugs-outgoing; Tue, 10 Dec 1996 08:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA10589; Tue, 10 Dec 1996 08:20:02 -0800 (PST) Resent-Date: Tue, 10 Dec 1996 08:20:02 -0800 (PST) Resent-Message-Id: <199612101620.IAA10589@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, lkoeller@odie.physik2.uni-rostock.de Received: from odie.physik2.uni-rostock.de (odie.physik2.uni-rostock.de [139.30.40.28]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA10018 for ; Tue, 10 Dec 1996 08:11:03 -0800 (PST) Received: (from lkoeller@localhost) by odie.physik2.uni-rostock.de (8.8.3/8.7.3) id RAA01172; Tue, 10 Dec 1996 17:10:41 +0100 (MET) Message-Id: <199612101610.RAA01172@odie.physik2.uni-rostock.de> Date: Tue, 10 Dec 1996 17:10:41 +0100 (MET) From: Lars Koeller Reply-To: lkoeller@odie.physik2.uni-rostock.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/2189: /usr/include/netdb.h Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: