[cfe-commits] [PATCH] Problem with clang's limits.h

Argiris Kirtzidis akyrtzi at gmail.com
Thu Feb 12 12:33:32 PST 2009


On my linux system, limits.h #include_nexts limits.h again, trying to 
get the GCC one.
So this is what happens with clang's limits.h

#include <limits.h>
 ->  clang's limits.h
   -> #include_next <limits.h>
      -> system's limits.h
         -> #include_next <limits.h>
             -> error: 'limits.h' file not found

Attached is a possible fix, for your reviewing pleasure.

-Argiris


-------------- next part --------------
A non-text attachment was scrubbed...
Name: limits.patch
Type: text/x-diff
Size: 819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090212/fb4a66bd/attachment.patch>


More information about the cfe-commits mailing list