avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [bug #28837] using PSTR with c++ produces warnings


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bug #28837] using PSTR with c++ produces warnings
Date: Sat, 29 Oct 2011 19:17:38 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

As Bob Paddock wrote:

> > As it's a GCC bug which has already been fixed there, and it only
> > produces a warning

> It makes C++ code unusable if the local policy is zero tolerance for
> warnings.

Then either don't use C++, or change that policy (it would suffice to
allow "blessed" warnings, based on some peer review), or simply use a
compiler version that has the fix applied.

No reason for an avr-libc hack.  OK, if you are in such an
environment, and really feel a hack like this were appropriate, go
ahead, and hack up your local avr-libc tree.  Your fictitious local
zero tolerance policy is not enough convincing to me to poison the
official avr-libc with such a hack.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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