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

Re: __FUNCTION__


On Tue, Jan 08, 2002 at 03:11:47PM -0800, Greg KH wrote:
> 
> Any reason _why_ they would want to break tons of existing code in this
> manner?  Just the fact that the __func__ symbol is there to use?
 
At a guess, it probably gives the gcc folks some more leeway as to where 
they implement the feature relative to string constant concatenation and 
such.  If that is indeed the case, it could lead to cleaner code.


> Since the C99 spec does not state anything about __FUNCTION__, changing
> it from the current behavior does not seem like a wise thing to do.

I'm pretty sure it's got to be in there somewhere--it was in the summary I 
read at the time.  :)


Jeroen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: