[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


Any suggestions

Thanks in advance
+++ 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

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]