Le 01/12/2012 22:31, Philip Guenther a écrit :
> Neither. The OpenBSD developers think that that's a useless** warning
> and aren't interested in making the system header files that much
> harder to read just to make it go away.
>
> What problem are you trying to solve by using -Wredundant-decls?
On Sat, Dec 1, 2012 at 10:32 AM, rustyBSD wrote:
...
> Icompile it with
>
>$ g++ -Wredundant-decls -o test test.cpp
>
> And I get
>
> In file included from
> /usr/include/g++/amd64-unknown-openbsd5.2/bits/gthr-default.h:44,
...
> /usr/include/unistd.h:333: warning: redundant redeclaration of
Hi,
I have the file test.cpp, containingonly:
#include
int main()
{
}
Icompile it with
$ g++ -Wredundant-decls -o test test.cpp
And I get
In file included from
/usr/include/g++/amd64-unknown-openbsd5.2/bits/gthr-default.h:44,
from
/usr/include/g++/amd64-unknown
3 matches
Mail list logo