Subject: bin/13336: ``warning: deprecated symbol "unix" ...'' makes -Werror useless
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ac131313@localhost.cygnus.com>
List: netbsd-bugs
Date: 06/28/2001 20:52:35
>Number:         13336
>Category:       bin
>Synopsis:       ``warning: deprecated symbol "unix" ...'' makes -Werror useless
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 28 17:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5.1 beta-2
>Organization:
	
>Environment:

System: NetBSD localhost 1.5W NetBSD 1.5W (NETLUX) #0: Tue Jun 12 11:01:34 EDT 2001 boor@localhost:/usr/trunk.src/sys/arch/macppc/compile/NETLUX macppc


>Description:

The warning:

gcc -c -g -O    -I. -I/home/scratch/GDB/src/gdb -I/home/scratch/GDB/src/gdb/config -DHAVE_CONFIG_H -I/home/scratch/GDB/src/gdb/../include/opcode -I/home/scratch/GDB/src/gdb/../readline/.. -I../bfd -I/home/scratch/GDB/src/gdb/../bfd  -I/home/scratch/GDB/src/gdb/../include -I../intl -I/home/scratch/GDB/src/gdb/../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Werror /home/scratch/GDB/src/gdb/remote-rdi.c
In file included from /home/scratch/GDB/src/gdb/rdi-share/ardi.h:17,
                 from /home/scratch/GDB/src/gdb/remote-rdi.c:44:
/home/scratch/GDB/src/gdb/rdi-share/host.h:40: warning: deprecated symbol "unix" is no longer predefined
gmake: *** [remote-rdi.o] Error 1

is issued when it wasn't selected on the command line.  This in turn
leads to a -Werror compile failing and hence makes using this system
useless for -Werror builds of ``portable'' code.

is reported 
>How-To-Repeat:

>Fix:

Suggest making this user controlable.
>Release-Note:
>Audit-Trail:
>Unformatted: