I found out why following things happen and changed G__ci.h and global.h.
> But I get 5 errors:
>
> 1)G__ci.h (line 558): type cannot be defined or declared in return
> type.
> (line 565): same
> Nenad and I tried to define G__ANSI but it did not help. This error
> occurs in all files using this header file.
Problem was that struct G__var_array and struct G__ifunc_table were
defined after this point. This can be cleared if you move these lines to
nearly end of G__ci.h file.
> 2) global.h (line 498): linkage specification is different from
> previous declaration in G__security(line 86)
There were duplicated G__security declaration in global.h and security.h.
Deleting one in global.h will clear the problem.
Masaharu Goto