Re: some weird proprocessor directives

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

 



On Thu, 19 Jul 2007, Erik Mouw wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, Jul 19, 2007 at 09:04:30AM -0400, Robert P. J. Day wrote:
> >
> >   is there some rationale to this convolution from compiler.h?
> >
> > ...
> > #ifndef __must_check
> > #define __must_check
> > #endif
> >
> > #ifndef CONFIG_ENABLE_MUST_CHECK
> > #undef __must_check
> > #define __must_check
> > #endif
> > ...
> >
> >   that seems awfully and unnecessarily complicated.
>
> Check out compiler-gcc3.h or compiler-gcc4.h which are included
> above the lines you just referenced.

ah ... even without looking at those files, i can guess what's going
on now.  thanks.

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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