Re: some weird proprocessor directives

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

 



-----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.


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGn2Ni/PlVHJtIto0RAvI+AJ4+fEPpsCpmlJExHiNdMUzbQMS7QwCePRtt
3GCEeUVzADIN/rXe6LI1LFQ=
=upk5
-----END PGP SIGNATURE-----

--
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