From: Weddington, E. <Eri...@at...> - 2012-03-18 14:23:11
|
> -----Original Message----- > From: Anton Staaf [mailto:an...@so...] > Sent: Saturday, March 17, 2012 2:15 PM > To: Borja Ferrer > Cc: avr...@li... > Subject: Re: [avr-llvm-devel] Flash data > > Hmm, if __flash acts in the same way as const, as in it's a qualifier. > Then could you make it a super set of const? In other words __flash > implies const? No, no, no and no. One can have const data, but not want it in flash. And having const imply a particular address space really does violate the C standard. However, what I do question is if the user writes __flash, are they really required to use const? It seems implicit in the use of __flash. Eric Weddington |