|
From: | David Fernandez |
Subject: | [avr-gcc-list] Is there a reason why avr-gcc does not support constructor priority (both in C and C++ worlds)? |
Date: | Tue, 18 Mar 2014 11:51:33 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hi there,I've been trying to use both the attributes "init_priority" for C++, and "constructor" for C, with priority numbers, in atxmega{16,32}a4u, and the compiler complains saying "error: 'init_priority' attribute is not supported on this platform", or "error: constructor priorities are not supported".
In the linker scripts, the constructors are sorted by filename... I wonder if there is a reason not to support this, or if it is that people have not got to it yet, or if it is because the gcc version I'm using (4.8.1).
Anybody knows anything about that? Regards. David
[Prev in Thread] | Current Thread | [Next in Thread] |