Re: BUG()

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

 



On Fri, Jul 02, 2004 at 22:50:25 +0530, Anupam Kapoor wrote:
> > 2. Where does the compiler get those __LINE__ and __FILE__ from?
> they are gcc specific. i know of __FUNCTION__ which provides the
> function name. i am sure there are others too...

NO! They are ANSI C!

__FUNCTION__ is a GCC extension. __func__ is similar extension in C99.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux