gcc/libstdc++-v3/libsupc++
Paolo Carlini 6545e33e69 re PR libstdc++/49745 (error: ‘int truncate’ redeclared as different kind of symbol)
/gcc
2011-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
	    Jakub Jelinek  <jakub@redhat.com>
	    Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/49745
	* gthr-posix.h: Do not include <unistd.h> unconditionally; use
	_GTHREADS_USE_MUTEX_TIMEDLOCK instead of _POSIX_TIMEOUTS.

/libstdc++-v3
2011-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
	    Jakub Jelinek  <jakub@redhat.com>

	PR libstdc++/49745
	* acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
	_POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
	* libstdc++-v3/libsupc++/guard.cc: Include <unistd.h>.
	* testsuite/17_intro/headers/c++1998/49745.cc: New.
	* configure: Regenerate.
	* config.h.in: Likewise.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>

From-SVN: r176335
2011-07-15 21:52:06 +00:00
..
array_type_info.cc
atexit_arm.cc
bad_alloc.cc
bad_cast.cc
bad_typeid.cc
class_type_info.cc
cxxabi_forced.h
cxxabi.h * libsupc++/cxxabi.h: Adjust link to FAQ entry. 2011-04-24 10:51:00 +00:00
del_op.cc
del_opnt.cc remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
del_opv.cc
del_opvnt.cc
dyncast.cc
eh_alloc.cc
eh_arm.cc unwind-arm.c (enum __cxa_type_match_result): New. 2011-06-29 14:18:48 +00:00
eh_aux_runtime.cc
eh_call.cc
eh_catch.cc
eh_exception.cc
eh_globals.cc
eh_personality.cc
eh_ptr.cc
eh_term_handler.cc
eh_terminate.cc
eh_throw.cc
eh_type.cc
eh_unex_handler.cc
enum_type_info.cc
exception
exception_defines.h
exception_ptr.h * libsupc++/exception_ptr.h: Fix compilation in C++0x mode. 2011-05-23 11:39:48 -04:00
function_type_info.cc
fundamental_type_info.cc
guard_error.cc
guard.cc re PR libstdc++/49745 (error: ‘int truncate’ redeclared as different kind of symbol) 2011-07-15 21:52:06 +00:00
hash_bytes.cc
hash_bytes.h
initializer_list initializer_list: Use noexcept specifier. 2011-05-18 18:05:17 +00:00
Makefile.am Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
Makefile.in configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
nested_exception.cc re PR libstdc++/48130 (build fails on libsupc++/nested_exception.cc) 2011-03-15 06:19:08 +00:00
nested_exception.h exception_ptr.h needs the forward declaration because it's included from... 2011-03-31 23:56:01 +00:00
new
new_handler.cc
new_op.cc
new_opnt.cc
new_opv.cc
new_opvnt.cc
pbase_type_info.cc
pmem_type_info.cc
pointer_type_info.cc
pure.cc
si_class_type_info.cc
tinfo2.cc
tinfo.cc
tinfo.h
typeinfo
unwind-cxx.h
vec.cc
vmi_class_type_info.cc
vterminate.cc