[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] section not allowed in typedefinition
From: |
Olaf Zenker |
Subject: |
[avr-gcc-list] section not allowed in typedefinition |
Date: |
Wed, 13 Feb 2002 17:20:51 +0100 |
Hi all,
why is it forbidden by avr-gcc to typedef a varable with the attribute
__attribute__((section (".eeprom")))
So - if you use it in
functype func( val __attribute__((section (".eeprom"))) );
typedef val __attribute__((section (".eeprom")));
the compiler prints the following errormessage:
filename:xxx section attribute not allowed for 'val'
In spite of this behavoir these both definitions work with the attribute
__attribute__((__progmem__))
Any suggestions
Thanks in advance
Olaf
+++ neue Adresse +++ neue Adresse +++
HKR Sensorsysteme GmbH
Frauenstr. 22 - 80469 München
Tel.: +49 89 242416-0
Fax: +49 89 242416-55
mail: address@hidden
http://www.hkr-sensor.de
avr-gcc-list at http://avr1.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] section not allowed in typedefinition,
Olaf Zenker <=