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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
atexit_arm.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bad_alloc.cc re PR libstdc++/44647 (std::nothrow and std::bad_alloc are coupled) 2010-10-05 09:41:57 +00:00
bad_cast.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bad_typeid.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
class_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cxxabi_forced.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
cxxabi.h * libsupc++/cxxabi.h: Adjust link to FAQ entry. 2011-04-24 10:51:00 +00:00
del_op.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
del_opnt.cc remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
del_opv.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
del_opvnt.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
dyncast.cc vmi_class_type_info.cc (__do_dyncast): Use src2dst hint to defer searching bases that don't overlap the desired address. 2009-07-06 18:13:51 -04:00
eh_alloc.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_arm.cc unwind-arm.c (enum __cxa_type_match_result): New. 2011-06-29 14:18:48 +00:00
eh_aux_runtime.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_call.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_catch.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_exception.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_globals.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_personality.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_ptr.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_term_handler.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_terminate.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_throw.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_type.cc * eh_type.cc (__cxa_current_exception_type) Mark throw(). 2009-04-18 22:18:21 +00:00
eh_unex_handler.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
enum_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
exception PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
exception_defines.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
fundamental_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
guard_error.cc re PR libstdc++/43863 (Unused recursive_init_error class defined with -fno-exceptions) 2011-02-09 23:22:27 +00:00
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 PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hash_bytes.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
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 c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
new_handler.cc re PR libstdc++/44647 (std::nothrow and std::bad_alloc are coupled) 2010-10-05 09:41:57 +00:00
new_op.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
new_opnt.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
new_opv.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
new_opvnt.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pbase_type_info.cc ios_locale.cc: Fixes for -pedantic. 2010-02-17 05:43:24 +00:00
pmem_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pointer_type_info.cc ios_locale.cc: Fixes for -pedantic. 2010-02-17 05:43:24 +00:00
pure.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
si_class_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tinfo2.cc mangle.c (mangle_type_string_for_rtti): Reapply 153734. 2009-10-30 22:23:59 +00:00
tinfo.cc mangle.c (mangle_type_string_for_rtti): Reapply 153734. 2009-10-30 22:23:59 +00:00
tinfo.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
typeinfo re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
unwind-cxx.h [multiple changes] 2010-07-20 09:44:01 +00:00
vec.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
vmi_class_type_info.cc vmi_class_type_info.cc (__do_dyncast): Use src2dst hint to defer searching bases that don't overlap the desired address. 2009-07-06 18:13:51 -04:00
vterminate.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00