dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Nested functions

Re: Nested functions

From: Michael Sevakis <>
Date: Wed, 28 Mar 2007 20:18:58 -0500

Oops forgot about the encoders. They're so much better than defining "local"
macros for use by one function because of the type checking and not
polluting the namespace but obviously troublesome. Just giving a quick test
now and I think they should all be gone from any work I did anyway.

----- Original Message -----
From: "Hardeep Sidhu" <>
To: "Rockbox development" <>
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 template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy