[Top][All Lists]

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

Re: Using stpcpy

From: Eli Zaretskii
Subject: Re: Using stpcpy
Date: Sun, 28 Dec 2014 05:36:40 +0200

> From: David Engster <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sat, 27 Dec 2014 21:49:50 +0100
> However, the above release notes also say that it will only switch
> functions "for hosted compilations where stpcpy is available in the
> runtime and headers provide its prototype", so the prototype alone
> should not be enough. Why does GCC think that your runtime provides
> stpcpy when it does not?

It probably assumes that if a system header provides a prototype,
it's a sign that the runtime has it.  And gnulib headers announce
themselves as system headers.

reply via email to

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