This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to fix PR68349


On Fri, Dec 4, 2015 at 11:26 AM, Vladimir Makarov <vmakarov@redhat.com> wrote:
>   The following patch fixes
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68349
>
>   The patch was tested and bootstrapped on x86/x86-64.
>
>  Committed as rev. 231300.

unsigned long strlen();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I got

./xgcc -B./ -O2
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr68349.c
-S -m32
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr68349.c:6:15:
warning: conflicting types for built-in function âstrlenâ
 unsigned long strlen();

Shouldn't strlen be renamed?

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]