This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: limits.h fix


On Apr 2, 2007, at 2:11 PM, Mike Stump wrote:
Currently, if a user has their own "limits.h", the:

#include_next <limits.h>

in syslimits.h can find it, this is wrong.  Instead, we want that file
to find the system limits.h.  The below patch fixes this.

In addition, I think the patch also fixes:


#import <limits.h>

int main(int argc, char **argv)
{
  char path [PATH_MAX];
  path[0] = '\0';
  return 0;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]