[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSOutlineView compilation error
From: |
Gregory Casamento |
Subject: |
Re: NSOutlineView compilation error |
Date: |
Sat, 21 Sep 2002 15:39:20 -0700 (PDT) |
I have tested this and found it to be the case. :) I guess you learn something
new every day. I am in the process of fixing the problem in both places. The
correction should be committed momentarily.
GJC
--- Alexander Malmberg <alexander@malmberg.org> wrote:
> > The ## is needed to paste the name of the method being checked for. Simply
> > replacing it as you have done *will not work* as now it is looking for a
> method
> > named "selector_name". The "errors" you mention are preprocessor warnings
> and
> > are harmless.
>
> This is wrong. ## is used to do token concatenation, ie. forming one
> token from two tokens. This is not what you want to do here, and gcc is
> telling you that it isn't doing it. A simple replacement is correct.
>
> Also, @"data source does not respond to ##selector_name" likely does not
> do what it's intended to do, since it's just a normal string constant.
> The intention is probably to stringify the selector name, like:
>
> @"data source does not respond to" @ #selector_name
>
> The cpp manual has all the details.
>
> - Alexander Malmberg
>
>
> _______________________________________________
> Bug-gnustep mailing list
> Bug-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-gnustep
=====
Gregory John Casamento
------------------------------------------------------
Please sign the petition against software patents at:
http://www.petitiononline.com/pasp01/petition.html
------------------------------------------------------
IM handles: yahoo: greg_casamento aim: gjcasa
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com