Mail Archives: djgpp/2001/04/04/16:00:35
Gustavsson Tommy Ext <tomgu434 AT hotmail DOT com> wrote:
> DJ Delorie wrote:
>> > I need help .....
>>
>> No, you need to give us examples.
> volatile ARRAY_(uint16_t) a = (ARRAY_(uint16_t))
> array;
[...]
With all due respect: that's not an example. How is anybody except you
supposed to know what ARRAY_() does?
Or what "uploading pointers", an expression you used in your first
posting, is supposed to mean?
> If I leave out volatile, a is not initialized in function fill (it
> is the same before and after ).
It's absolutely impossible to know how you judge whether it 'is the
same', from your example. At the very least, you'ld have to show us
your cout translation function for type ARRAY_(uint16_t), and/or what
the precise output of this part of your program is.
Better yet: provide a self-contained, compilable example, instead of a
snippet as meaningless as this one.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -