[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Improving in leaps and skips!

From: E. Weddington
Subject: Re: [avr-gcc-list] Improving in leaps and skips!
Date: Tue, 01 Mar 2005 12:45:18 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Björn Haase wrote:

I'm not familiar with the test suite, and I'm curious: Where do these
"nested functions" tests come from? That's not a C language feature. Is
it C++?


There is an extension to the c-language that is supposed to be supported by all gcc targets. The idea is to support functions inside functions so that e.g. something like

int foo3 ( int func(int), int a)
{ return a + a * func (27);

foo (int a, int b)
    foo2 (int c)
    { return c + b;

    return foo3 (&foo2, a);

is considered to be legal code for gcc. The avr port does presently lack support for this extension.

Bleah. :-P
I wouldn't even know why that would even be used.

But thanks for the explanation.

reply via email to

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