🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6344

Bug in -Wredundant-decls

#6344
From: Jerry Waldorf
Date: Fri, 01 Dec 1995 00:00
34 lines
1108 bytes
VERSION

cronus 95 % gcc -v
Reading specs from /opt/gnu/lib/gcc-lib/alpha-dec-osf3.2/2.7.1/specs
gcc version 2.7.1


INPUTFILE=test1.c

#include <string.h>

COMMAND

gcc -c -Wredundant-decls test1.c

MACHINE

cronus 96 % uname -a
OSF1 cronus V3.2 17 alpha
cronus 97 % 

CONFIG

./configure --prefix=/opt/gnu --local-prefix=/opt

NO MODIFICATIONS

OUTPUT

cronus 97 % cronus 97 % gcc -c -Wredundant-decls test1.c
In file included from test1.c:1:
/opt/gnu/lib/gcc-lib/alpha-dec-osf3.2/2.7.1/include/string.h:216: warning: redundant redeclaration of `bzero' in same scope
/usr/include/sys/select.h:156: warning: previous declaration of `bzero'
cronus 98 % 
Technical Details
Message-ID: <9512020033.AA20428@cronus.stc.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,d143ee23ba37c59e,start
X-Google-Attributes: gid113d02,public
From: waldorf@stc.com (Jerry Waldorf)
Subject: Bug in -Wredundant-decls
Date: 1995/12/01
Message-ID: <9512020033.AA20428@cronus.stc.com>
X-Deja-AN: 120615973
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: Software Technologies Corporation
newsgroups: gnu.gcc.bug