Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Nested functions

Re: Nested functions

From: Michael Sevakis <jethead71_at_sbcglobal.net>
Date: Wed, 28 Mar 2007 19:38:02 -0500

Sure, it's all good. I'll take responsibility for doing this since I put 'em
there in the first place. I can remove them from pcm_record.c too. No other
files should have them that I recall. It can be done within an hour or so.

----- Original Message -----
From: "Hardeep Sidhu" <hardeeps_at_pobox.com>
To: "Rockbox development" <rockbox-dev_at_cool.haxx.se>
Sent: Saturday, March 24, 2007 10:31 PM
Subject: Re: Nested functions

> I just encountered a problem with compiling nested functions for the
> Mac OS X simulator. Xcode disables them by default so you need to
> add the "-fnested-functions" flag. Unfortunately, this flag doesn't
> work well with libtool. I can probably play around with the
> makefiles to get this working but I'm wondering if it would be better/
> easier if we just removed the nested functions? They're only in
> dsp.c and radio.c and it would be trivial to change them.
>
> The less non-standard C we use the better in my opinion.
>
> -Hardeep
>
Received on 2007-03-29


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa