lkml.org 
[lkml]   [1996]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: POSIX test suite - including header files
From
Date
Bradley> I guess there is one ugly solution which is still slow and inefficient:
Bradley> ultimate granularity of the ifndefs.

This is not really the place to discuss this (except the kernel
headers and libc are wedded). If it is truly necessary to redefine
errno numbers after multiple inclusions of a header file the correct
solution is to _not_ include them in #if/def/ndefs . This is
excplicitly blessed by the C standard (i.e. two macro definitions that
are exactly the same will not cause an error).

Just in case anyone feels like fixing it....

Eric



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.060 / U:1.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site