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: [ping 3] New port: Toshiba Media Processor (mep-elf)


On Thu, May 14, 2009 at 2:42 PM, DJ Delorie <dj@redhat.com> wrote:
>
>> Yes you will get a warning if you use something before 4.5 and before
>> the patch which added support of %E to the generic version of
>> diagnostic functions. ÂBut the trunk will not warn about the use of
>> %E.
>
> Do you mean for the host gcc? ÂObviously, I'm building the trunk
> sources, but my host gcc is 4.3.2.

Yes the host GCC since older GCCs don't understand what newer GCCs
support in their diagnostic functions.  This is true for doing a
native bootstrap too but since only stage 2 and 3 are compiled with
-Werror, you will not see the warnings turned into errors as the host
GCC already knows what the diagnostic functions support.  So for
looking at warnings, it is best to use the same version of the
compiler that you are compiling (until extensible format attributes
are added and supported).

Thanks,
Andrew Pinski


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