[cfe-dev] Disable Header Search Option and errors related to it

Sean Silva silvas at purdue.edu
Tue Jul 10 14:41:26 PDT 2012


It looks like the problem is that your C++ header directory isn't
being added to your include paths.

This appears to be happening even though you are setting
`HS.UseStandardCXXIncludes = 1;`. It looks like the conditional on
line 457 of lib/Frontend/InitHeaderSearch.cpp might be thwarting you.
That conditional is:
  if (Lang.CPlusPlus && HSOpts.UseStandardCXXIncludes &&
      HSOpts.UseStandardSystemIncludes) {
    /* ... add default C++ includes ...*/
  }

Given your code, the only possibility is that Lang.CPlusPlus is false.

One way to fix this is to do
`CI.getInvocation().setLangDefaults(IK_CXX);`. I think this needs to
be done before touching the HeaderSearchOptions, or at least before
that conditional in InitHeaderSearch.cpp is reached. `IK_CXX` is the
"C++ input type", and setLangDefaults() applies the "usual"
LangOptions and LangStandard for inputs of that kind. This corresponds
to the `-x c++` option of `clang -cc1` (don't worry if you don't know
what that is).

--Sean Silva

On Tue, Jul 10, 2012 at 3:12 AM, Satya Prakash Prasad
<satyaprakash.prasad at gmail.com> wrote:
> I managed to solve an include path issue but the below one I am unable
> to resolve it completely:
>
> In file included from Test.cpp1:
> In file included from /code/Tools.h:9:
> In file included from /usr/include/boost/shared_ptr.hpp:17:
> In file included from /usr/include/boost/config.hpp:40:
> /usr/include/boost/config/select_stdlib_config.hpp:20:10: fatal error:
> 'utility' file not found
> #include <utility>
>          ^
> Stack dump:
> 0.      utility/core/lang/Object.h:7:1: current parser token 'class'
> Segmentation fault
>
> box> locate utility.h
> /usr/include/boost/utility.hpp
> /usr/include/boost/graph/graph_utility.hpp
> /usr/include/boost/numeric/interval/utility.hpp
> /usr/include/boost/serialization/utility.hpp
> /usr/include/boost/spirit/utility.hpp
> /usr/include/glibmm-2.4/glibmm/utility.h
> /usr/share/doc/db4-devel-4.3.29/ref/dumpload/utility.html
>
> So I have within my code:
>
> HS.AddPath("/usr/include/boost/", frontend::Angled, true, false, true);
> HS.UseBuiltinIncludes = 1;
> HS.UseStandardCXXIncludes = 1;
> HS.UseStandardSystemIncludes = 1;
> HS.Verbose = 1;
>
> Please let me know how can I resolve the same? Am I missing something here?
>
> Regards,
> Prakash
>
>
> On Tue, Jul 10, 2012 at 3:10 PM, Satya Prakash Prasad
> <satyaprakash.prasad at gmail.com> wrote:
>> The issue is that if I try to parse an CPP file after removing header
>> includes directive the parser is unable to resolve class and
>> identifiers variables declared in headers. Hence again the parsing
>> breaks.
>>
>> The issue while other hand having the headers file included in CPP
>> file is that CLANG takes a deep dive of self-recursive header file and
>> gives error:
>>
>> box>llvm/build/Release+Asserts/examples 1152> rewritersample Test.cpp
>> ignoring duplicate directory "/usr/include/c++/4.1.2"
>> #include "..." search starts here:
>> #include <...> search starts here:
>>  /usr/include/c++/4.1.2/backward
>>  /usr/include/c++/4.1.2
>>  /usr/include/c++
>>  /usr/include
>>  /usr/include/linux
>>  /x/local/gcc-4.1.2/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/include
>>  /x/local/gimp_1/code
>>  /usr/include/c++/4.1.1/x86_64-redhat-linux
>> End of search list.
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:50:
>> /usr/include/c++/4.1.2/cstddef:53:11: error: no member named
>> 'ptrdiff_t' in the global namespace
>>   using ::ptrdiff_t;
>>         ~~^
>> /usr/include/c++/4.1.2/cstddef:54:11: error: no member named 'size_t'
>> in the global namespace
>>   using ::size_t;
>>         ~~^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:140:8: error: unknown type name 'size_t'
>> extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
>>        ^
>> /usr/include/stdlib.h:455:4: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                         size_t __statelen) __THROW __nonnull ((2));
>>                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:485:4: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                         size_t __statelen,
>>                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:589:22: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:591:22: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *calloc (size_t __nmemb, size_t __size)
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:591:38: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *calloc (size_t __nmemb, size_t __size)
>>                                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:600:36: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *realloc (void *__ptr, size_t __size)
>>                                    ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> In file included from /usr/include/stdlib.h:612:
>> /usr/include/alloca.h:33:22: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *alloca (size_t __size) __THROW;
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:617:22: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:622:45: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
>>                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:622:65: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
>>                                                                 ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:775:9: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                       size_t __nmemb, size_t __size, __compar_fn_t __compar)
>>                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:775:25: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                       size_t __nmemb, size_t __size, __compar_fn_t __compar)
>>                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:780:34: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void qsort (void *__base, size_t __nmemb, size_t __size,
>>                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:780:50: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void qsort (void *__base, size_t __nmemb, size_t __size,
>>                                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:853:6: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                    size_t __len) __THROW __nonnull ((3, 4, 5));
>>                    ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:856:6: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                    size_t __len) __THROW __nonnull ((3, 4, 5));
>>                    ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:860:31: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                     char *__restrict __buf, size_t __len)
>>                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:864:31: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                     char *__restrict __buf, size_t __len)
>>                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:873:38: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int mblen (__const char *__s, size_t __n) __THROW __wur;
>>                                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:877:36: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                    __const char *__restrict __s, size_t __n) __THROW __wur;
>>                                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:884:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t mbstowcs (wchar_t *__restrict  __pwcs,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:885:34: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                         __const char *__restrict __s, size_t __n) __THROW;
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:887:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t wcstombs (char *__restrict __s,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:888:40: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                         __const wchar_t *__restrict __pwcs, size_t __n)
>>                                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:14:
>> In file included from /usr/include/c++/4.1.2/cstdlib:70:
>> /usr/include/stdlib.h:950:46: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
>>                                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:327:45: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;
>>                                             ^~~~~~
>>                                             ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:333:54: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern ssize_t write (int __fd, __const void *__buf, size_t __n) __wur;
>>                                                      ^~~~~~
>>                                                      ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:343:46: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
>>                                              ^~~~~~
>>                                              ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:351:55: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
>>                                                       ^~~~~~
>>                                                       ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:371:48: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
>>                                                ^~~~~~
>>                                                ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:375:57: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
>>                                                         ^~~~~~
>>                                                         ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:471:35: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
>>                                   ^~~~~~
>>                                   ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:568:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t confstr (int __name, char *__buf, size_t __len) __THROW;
>>        ^~~~~~
>>        ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:568:49: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t confstr (int __name, char *__buf, size_t __len) __THROW;
>>                                                 ^~~~~~
>>                                                 ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:740:46: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
>>                                              ^~~~~~
>>                                              ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:776:29: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                          char *__restrict __buf, size_t __len)
>>                                                  ^~~~~~
>>                                                  ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:787:31: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                            char *__restrict __buf, size_t __len)
>>                                                    ^~~~~~
>>                                                    ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:823:38: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int getlogin_r (char *__name, size_t __name_len) __nonnull ((1));
>>                                      ^~~~~~
>>                                      ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:845:39: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
>>                                       ^~~~~~
>>                                       ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:852:47: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int sethostname (__const char *__name, size_t __len)
>>                                               ^~~~~~
>>                                               ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:863:41: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int getdomainname (char *__name, size_t __len)
>>                                         ^~~~~~
>>                                         ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:865:49: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int setdomainname (__const char *__name, size_t __len)
>>                                                 ^~~~~~
>>                                                 ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:883:57: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int profil (unsigned short int *__sample_buffer, size_t __size,
>>                                                         ^~~~~~
>>                                                         ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:17:
>> In file included from /usr/include/boost/config.hpp:53:
>> In file included from /usr/include/boost/config/platform/linux.hpp:70:
>> In file included from /usr/include/boost/config/posix_features.hpp:18:
>> /usr/include/unistd.h:884:6: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                    size_t __offset, unsigned int __scale)
>>                    ^~~~~~
>>                    ssize_t
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:39:40: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                      __const void *__restrict __src, size_t __n)
>>                                                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:43:58: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *memmove (void *__dest, __const void *__src, size_t __n)
>>                                                          ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:52:18: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                       int __c, size_t __n)
>>                                ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:59:42: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
>>                                          ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:62:60: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
>>                                                            ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:66:50: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *memchr (__const void *__s, int __c, size_t __n)
>>                                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:77:51: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *memrchr (__const void *__s, int __c, size_t __n)
>>                                                   ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:88:41: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                       __const char *__restrict __src, size_t __n)
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:96:9: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                       size_t __n) __THROW __nonnull ((1, 2));
>>                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:102:61: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
>>                                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:109:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strxfrm (char *__restrict __dest,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:110:42: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                        __const char *__restrict __src, size_t __n)
>>                                                        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:124:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:124:61: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
>>                                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:138:47: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern char *strndup (__const char *__string, size_t __n)
>>                                               ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:184:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strcspn (__const char *__s, __const char *__reject)
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:188:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strspn (__const char *__s, __const char *__accept)
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:225:48: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *memmem (__const void *__haystack, size_t __haystacklen,
>>                                                ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:226:32: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                      __const void *__needle, size_t __needlelen)
>>                                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:232:36: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                         __const void *__restrict __src, size_t __n)
>>                                                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:235:41: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                       __const void *__restrict __src, size_t __n)
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:242:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strlen (__const char *__s)
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:249:8: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strnlen (__const char *__string, size_t __maxlen)
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:249:48: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t strnlen (__const char *__string, size_t __maxlen)
>>                                                ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:281:53: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
>>                                                     ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:288:33: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void __bzero (void *__s, size_t __n) __THROW __nonnull ((1));
>>                                 ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:292:55: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void bcopy (__const void *__src, void *__dest, size_t __n)
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:296:31: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void bzero (void *__s, size_t __n) __THROW __nonnull ((1));
>>                               ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:299:58: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
>>                                                          ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:329:65: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
>>                                                                 ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:341:6: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                           size_t __n, __locale_t __loc)
>>                           ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:370:36: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                         __const char *__restrict __src, size_t __n)
>>                                                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:373:41: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                       __const char *__restrict __src, size_t __n)
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> In file included from /usr/include/c++/4.1.2/cstring:51:
>> /usr/include/string.h:380:34: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern void *memfrob (void *__s, size_t __n) __THROW __nonnull ((1));
>>                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:65:
>> /usr/include/c++/4.1.2/cstring:100:30: error: unknown type name
>> 'size_t'; did you mean 'ssize_t'?
>>   memchr(void* __p, int __c, size_t __n)
>>                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> In file included from /usr/include/libio.h:32:
>> In file included from /usr/include/_G_config.h:44:
>> /usr/include/gconv.h:72:26: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                             unsigned char **, size_t *, int, int);
>>                                               ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> In file included from /usr/include/libio.h:32:
>> In file included from /usr/include/_G_config.h:44:
>> /usr/include/gconv.h:88:7: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                                   size_t *);
>>                                   ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> In file included from /usr/include/libio.h:32:
>> In file included from /usr/include/_G_config.h:44:
>> /usr/include/gconv.h:97:6: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                                         size_t *);
>>                                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> In file included from /usr/include/libio.h:32:
>> In file included from /usr/include/_G_config.h:44:
>> /usr/include/gconv.h:174:3: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>   size_t __nsteps;
>>   ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> /usr/include/libio.h:329:3: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>   size_t __pad5;
>>   ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> /usr/include/libio.h:333:67: error: use of undeclared identifier
>> 'size_t'; did you mean 'ssize_t'?
>>   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
>>                                                                   ^
>> /usr/include/libio.h:361:62: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
>>                                                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> /usr/include/libio.h:370:6: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                                  size_t __n);
>>                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> /usr/include/libio.h:486:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
>>        ^
>> /usr/include/libio.h:37:20: note: expanded from macro '_IO_size_t'
>> #define _IO_size_t _G_size_t
>>                    ^
>> /usr/include/_G_config.h:25:19: note: expanded from macro '_G_size_t'
>> #define _G_size_t       size_t
>>                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> In file included from /usr/include/stdio.h:72:
>> /usr/include/libio.h:486:50: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
>>                                                  ^
>> /usr/include/libio.h:37:20: note: expanded from macro '_IO_size_t'
>> #define _IO_size_t _G_size_t
>>                    ^
>> /usr/include/_G_config.h:25:19: note: expanded from macro '_G_size_t'
>> #define _G_size_t       size_t
>>                         ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:291:35: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __THROW;
>>                                   ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:296:47: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW;
>>                                               ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:308:20: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                     int __modes, size_t __n) __THROW;
>>                                  ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:315:10: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                        size_t __size) __THROW;
>>                        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:357:44: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int snprintf (char *__restrict __s, size_t __maxlen,
>>                                            ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:361:45: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern int vsnprintf (char *__restrict __s, size_t __maxlen,
>>                                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:567:11: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                                size_t *__restrict __n, int __delimiter,
>>                                ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:570:9: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                              size_t *__restrict __n, int __delimiter,
>>                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:580:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                             size_t *__restrict __n,
>>                             ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:610:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern size_t fread (void *__restrict __ptr, size_t __size,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:610:46: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t fread (void *__restrict __ptr, size_t __size,
>>                                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:611:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                      size_t __n, FILE *__restrict __stream) __wur;
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:616:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:616:55: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:617:9: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                       size_t __n, FILE *__restrict __s) __wur;
>>                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:638:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:638:55: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
>>                                                       ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:639:10: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                               size_t __n, FILE *__restrict __stream) __wur;
>>                               ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:640:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:640:64: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>> extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
>>                                                                ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:41:
>> In file included from /usr/include/c++/4.1.2/cstdio:52:
>> /usr/include/stdio.h:641:11: error: unknown type name 'size_t'; did
>> you mean 'ssize_t'?
>>                                size_t __n, FILE *__restrict __stream) __wur;
>>                                ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:44:
>> /usr/include/iconv.h:43:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
>>        ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:44:
>> /usr/include/iconv.h:44:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                      size_t *__restrict __inbytesleft,
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:44:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h:44:
>> /usr/include/iconv.h:46:8: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>>                      size_t *__restrict __outbytesleft);
>>                      ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> In file included from Test.cpp:1:
>> In file included from ./Testing.h:9:
>> In file included from /usr/include/boost/shared_ptr.hpp:26:
>> In file included from /usr/include/boost/detail/shared_count.hpp:30:
>> In file included from /usr/include/boost/detail/sp_counted_impl.hpp:34:
>> In file included from /usr/include/c++/4.1.2/memory:52:
>> In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69:
>> In file included from /usr/include/c++/4.1.2/iosfwd:45:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++io.h:38:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/gthr.h:132:
>> In file included from
>> /usr/include/c++/4.1.1/x86_64-redhat-linux/bits/gthr-default.h:43:
>> In file included from /usr/include/pthread.h:24:
>> /usr/include/sched.h:76:46: error: unknown type name 'size_t'; did you
>> mean 'ssize_t'?
>> extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
>>                                              ^
>> /usr/include/sys/types.h:110:19: note: 'ssize_t' declared here
>> typedef __ssize_t ssize_t;
>>                   ^
>> ................................................................
>>
>> Regards,
>> Prakash
>>
>> On Tue, Jul 10, 2012 at 2:22 PM, Sean Silva <silvas at purdue.edu> wrote:
>>> Just ran into this today :)
>>>
>>> The builtins are not getting registered. Use
>>>
>>>     Preprocessor &PP = CI.getPreprocessor();
>>>     PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(),
>>>                                            PP.getLangOpts());
>>>
>>> Check out FrontendAction::BeginSourceFile in
>>> lib/Frontend/FrontendAction.cpp for some of the other setup that makes
>>> clang behave "as usual".
>>>
>>>> So I require my code to be made such that it should skip validating
>>>> the includes and process the file.
>>> This is not really possible, unfortunately. It is literally impossible
>>> to correctly parse C++ without knowing all the types and other
>>> declarations (which come from the headers). So unless your source file
>>> doesn't use anything from the header (if so, why does it include it in
>>> the first place?), you *have* to deal with the includes. You might
>>> find HeaderSearchOptions::UseBuiltinIncludes,
>>> HeaderSearchOptions::UseStandardSystemIncludes, and
>>> HeaderSearchOptions::UseStandardCXXIncludes helpful. The logic for
>>> finding the "default" includes is in lib/Frontend/InitHeaderSearch.cpp
>>>
>>> --Sean Silva
>>>
>>> On Tue, Jul 10, 2012 at 12:12 AM, Satya Prakash Prasad
>>> <satyaprakash.prasad at gmail.com> wrote:
>>>> My issue is that when my program tries to keep including header files
>>>> it gives issues which I cannot resolve. Like as mentioned below:
>>>>
>>>>     HeaderSearchOptions &HS = TheCompInst.getHeaderSearchOpts();
>>>>     HS.AddPath("/usr/include/c++/4.1.2/backward/", frontend::Angled,
>>>> true, false, true);
>>>>     HS.AddPath("/usr/include/c++/4.1.2/", frontend::Angled, true, false, true);
>>>>     HS.AddPath("/usr/include/c++/", frontend::Angled, true, false, true);
>>>>     HS.AddPath("/usr/include/", frontend::Angled, true, false, true);
>>>>     HS.AddPath("/usr/include/linux/", frontend::Angled, true, false, true);
>>>>     HS.AddPath("/x/local/satprasad/gcc-4.1.2/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/include/",
>>>> frontend::Angled, true, false, true);
>>>>     HS.AddPath("/usr/include/c++/4.1.1/", frontend::Angled, true, false, true);
>>>>     HS.AddPath("/usr/include/c++/4.1.1/x86_64-redhat-linux/",
>>>> frontend::Angled, true, false, true);
>>>>
>>>>
>>>> When I run the program to parse a .cpp file which has multiple
>>>> #include directive I get below error:
>>>> ……………………………………………………………………………………………………………
>>>> /usr/include/c++/4.1.2/limits:1013:16: error: use of undeclared
>>>> identifier '__builtin_huge_valf'
>>>>       { return __builtin_huge_valf (); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1015:16: error: use of undeclared
>>>> identifier '__builtin_nanf'
>>>>       { return __builtin_nanf (""); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1017:16: error: use of undeclared
>>>> identifier '__builtin_nansf'
>>>>       { return __builtin_nansf (""); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1070:16: error: use of undeclared
>>>> identifier '__builtin_huge_val'
>>>>       { return __builtin_huge_val(); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1072:16: error: use of undeclared
>>>> identifier '__builtin_nan'
>>>>       { return __builtin_nan (""); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1074:16: error: use of undeclared
>>>> identifier '__builtin_nans'
>>>>       { return __builtin_nans (""); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1128:16: error: use of undeclared
>>>> identifier '__builtin_huge_vall'
>>>>       { return __builtin_huge_vall (); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1130:16: error: use of undeclared
>>>> identifier '__builtin_nanl'
>>>>       { return __builtin_nanl (""); }
>>>>                ^
>>>> /usr/include/c++/4.1.2/limits:1132:16: error: use of undeclared
>>>> identifier '__builtin_nansl'
>>>>       { return __builtin_nansl (""); }
>>>>                ^
>>>> Stack dump:
>>>> 0.      /usr/include/c++/4.1.2/memory:61:1: current parser token 'namespace'
>>>> Segmentation fault
>>>>
>>>> After rectifying a few I still get many of those.
>>>>
>>>> Since my program is to process statements of an input .cpp file - i am
>>>> not in need to really include header files and do validation a)
>>>> whether it is there or not in system path b)if all declarations are
>>>> there
>>>>
>>>> So I require my code to be made such that it should skip validating
>>>> the includes and process the file. When I comment the HeaderSearch
>>>> Option I get :
>>>>
>>>> W.cpp:1:10: fatal error: 'system/Tools.h' file not found
>>>> #include "system/Tools.h"
>>>>              ^
>>>> The program runs via a command line
>>>>
>>>> rewrite test.cpp
>>>>
>>>> And the program logic breaks.
>>>>
>>>> Please advise how can I overrule these header search options?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Regards,
>>>> Prakash
>>>>
>>>> _______________________________________________
>>>> cfe-dev mailing list
>>>> cfe-dev at cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list