This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to pass function names as parameter?
- From: Walter Kasberg <Walter dot Kasberg at web dot de>
- To: John Love-Jensen <eljay at adobe dot com>
- Cc: MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Thu, 1 Mar 2007 09:28:35 +0100
- Subject: Re: How to pass function names as parameter?
- References: <C20B2A85.1CEC0%eljay@adobe.com>
On Wednesday 28 February 2007 19:48, John Love-Jensen wrote:
> Hi Walter,
>
> This isn't doing what you think it is doing:
>
> rufen ( feins () );
> rufen ( fzwei () );
>
> You probably wanted:
>
> rufen ( feins );
> rufen ( fzwei );
>
> HTH,
> --Eljay
sorry, discard my previous mail.
I made a mistake: I changed the code but did not save the changes and compiled
the old version.
Thanks, you are right, now it works.
Walter