bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: latest test-string-c++.c causes CXX compilation failure


From: Jim Meyering
Subject: Re: latest test-string-c++.c causes CXX compilation failure
Date: Tue, 09 Mar 2010 12:35:26 +0100

Jim Meyering wrote:
> I tried the latest from gnulib via coreutils,
> and saw this:
>
> In file included from test-string-c++.cc:23:
> ../lib/string.h:301: error: type of 'memchr' is unknown
> ../lib/string.h:301: error: invalid type in declaration before ';' token
> ../lib/string.h:301: error: 'int memchr' redeclared as different kind of 
> symbol
> /usr/include/string.h:76: error: previous declaration of 'const void* 
> memchr(cons

More details:
The above was on F12, with

    $ g++ --version
    g++ (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]