Ton van Overbeek wrote:
On 2005-03-02, Chris Olson <[EMAIL PROTECTED]> wrote:
What does this mean in PODS and how do I fix it?
section attribute not allowed for `double blah(double, double)'
The functions all look like this:
#define SECTION __attribute__ ((section (myfns)))
Section names have to be enclosed in quotation marks. So the above should be #define SECTION __attribute__ ((section ("myfns"))) See section 4.23 about attribute syntax in the gcc-2.95.3 docs. (http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_4.html#SEC84)
<Snip of large mistake removed>
Thanx, that was it! Feel stupid ... every example had quotes, but I was thinking "quotes, hmm, nah, we don't need no steeeking quotes!"HTH Ton van Overbeek
Chris Olson
--
chris | Roleplayer, Palm PDA Programmer, Avid Reader, Husband, Wanna-
@pdaguy | be-Writer, Geek, Black Belt, Coder, Father of 2, Cycler, 6'5"
.com | Long, Red, Pony-tailed hair, Bearded, 235pd Teddy Bear
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
