This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: AIX atomicity.h support


	_G_config.h is complaining about:

1) mbstate_t typedef not defined.
   This is defined in AIX wchar.h if _XOPEN_SOURCE=500, which is the
   default.  Somehow the build is causing _XOPEN_SOURCE to be defined to
   something else.

2) __off_t and __off64_t typedefs not defined.
   I cannot see where these typedefs would be defined.  This appears to be
   a glibc extension in bits/types.h.

   I would have expected __off_t and __off64_t to be defined in terms of
   off_t and off64_t, as with __mbstate_t.

	libio.h is complaining about:

1) _IO_lock_t undefined:

/* Handle lock.  */
#ifdef _IO_MTSAFE_IO
# if defined __GLIBC__ && __GLIBC__ >= 2
#  include <bits/stdio-lock.h>
# else
/*# include <comthread.h>*/
# endif
#else
typedef void _IO_lock_t;
#endif


_IO_MTSAFE_IO is defined by _G_config.h and the system is not using glibc,
therefore _IO_lock_t never is defined.

	Those are the failures that I have tracked down so far.

David

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