[PATCH] Fix some of the mt_allocator testcases on darwin

Andrew Pinski pinskia@physics.uc.edu
Sat Oct 23 16:29:00 GMT 2004


The problem is that the testcases use *_t as typedef which is reserved 
by
POSIX and one of them conflicts with Darwin's headers, policy_t.  I 
changed
all the *_t to be named *_type which is consistent with other libstdc++
tests and other mt_allocator tests.

OK?

Thanks,
Andrew Pinski

ChangeLog:

	* testsuite/ext/mt_allocator/deallocate_global-2.c:
	s/value_t/value_type/. s/traits_t/traits_type/.
	s/policy_t/policy_type/. s/allocator_t/allocator_type/.
	s/string_t/string_type/. s/list_t/list_type/.
	* testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
	* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
	* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
	* testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
	* testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
	* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
	* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
	

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: temp.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041023/797c9002/attachment.txt>


More information about the Gcc-patches mailing list