avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] memcpy() : problem when passing destination pointer


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] memcpy() : problem when passing destination pointer
Date: Tue, 10 Feb 2009 21:56:39 +0100 (MET)

Graham Davies <address@hidden> wrote:

> How you fix this depends on whether you care or not.  If you need to
> preserve the volatile treatment, you'll have to write a replacement
> for memcpy.

As the code works as is (with the warning), I bet the volatile
qualification wasn't needed at all in the first place, and could as
well be omitted.

-- 
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]