Unlike my previous report *struct_pointer = struct; struct_pointer++; works! But *struct_pointer++ = struct; or memcpy(struct_pointer++, &struct, sizeof(struct)); will not work. I must have mixed up some of my testing results. Thanks to lfmorrison from AVRfreaks. Cajus _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
- [avr-gcc-list] avr-gcc (GCC) 3.4.5 Bug: copying structure thr... cajus . hahn