Frank Erens wrote:
> ---------------------------------------------------------------------------------------------
> #include <stdbool.h>
> #include <string.h>
>
> #include <stdio.h>
> #include <time.h>
> #include <wchar.h>
> #include <wctype.h>
>
> void test(wint_t _wc) {}
>
> int main() {}
>
> ---------------------------------------------------------------------------------------------
> When I'm compiling without -I., it works just fine. With -I., i'm getting the
> error I've posted in my first mail.
Good. That's some progress. Now:
1) Can you reduce the set of #includes in your testcase? What is the minimal
set
of #includes that provokes the error?
2) Can you send us (in a tar.gz or zip, as an attachment)
- the results of preprocessing your test case (gcc -E), once without "-I.",
once with "-I.",
- the relevant system include files /tools/wchar.h, /tools/wctype.h, etc.
- the gnulib-generated wchar.h and wctype.h,
- the gnulib-generated config.h,
- the config.status in the parent directory?
If you send this complete set, I'll take a look at it.
Bruno