stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r671615 - /stdcxx/trunk/etc/config/src/headers.inc
Date Wed, 25 Jun 2008 17:58:17 GMT
Author: vitek
Date: Wed Jun 25 10:58:16 2008
New Revision: 671615

URL: http://svn.apache.org/viewvc?rev=671615&view=rev
Log:
2008-06-25  Travis Vitek  <vitek@roguewave.com>

	Merge revision 659253 from 4.2.x

	2008-05-22  Eric Lemings <eric.lemings@roguewave.com>

	STDCXX-550
	* src/num_put.cpp (__rw_itoa): Silence 64-bit conversion warning
	with explicit cast to `unsigned' type.

	* tests/src/locale.cpp (rw_locales, _rw_all_locales),
	util/runall.cpp (main), util/aliases.cpp (get_installed_locales):
	Silence 64-bit conversion warnings by explicitly casting `size_t'
	result from `sizeof' operator to `int' type expected by second
	size parameter in fgets() function.
	* tests/src/thread.cpp (rw_thread_pool): First parameter in
	rw_alarm() is `unsigned'.  Explicit cast `size_t' timeout value
	to silence warning.
	* tests/src/value.cpp (_rw_fmtxarrayv): Explicitly cast `long'
	return value from strtol() function to `int' to silence warning.
	* tests/src/char.cpp (_rw_fmtstringv): Likewise.
	* tests/src/rand.cpp (rw_seed32): Explicitly cast `clock_t'
	return value from clock() function to `unsigned' value.
	* tests/src/cmdopt.cpp (_rw_getbounds, _rw_getarg): Explicitly
	cast `long' value to `int' type of minval_, maxval_, and pcntr_
	members.
	* tests/src/23.containers.cpp (_rw_sigcat, _rw_argno): Explicitly
	cast `which' value from `size_t' type to `int' type used by
	`argmap' variable.
	* tests/src/opt_lines.cpp (_rw_enable_lines): Explicitly cast
	`first' value from `long' type to `int' type used by first
	parameter of _rw_enable_lines() function.
	* tests/src/process.cpp (rw_waitpid): Explicitly cast PID from
	`rw_pid_t' type to system `pid_t' type used by first parameter
	of waitpid() function.  Also cast `time_t' expression to `int'
	type of local variable `delta'.
	(rw_process_kill): Cast `size_t' expression to `unsigned' type
	of `sigcount' variable.  Cast `rw_pid_t' value to system's
	`pid_t' type used by first parameter of kill() function.
	* tests/src/opt_trace.cpp (_rw_setopt_trace_mask): Changed type
	of loop index from `int' to `long'.

	* tests/algorithms/25.generate.cpp (test_generate_n): Explicitly
	convert `size_t' value to `int' type to silence 64-bit conversion
	warnings.
	* tests/algorithms/25.fill.cpp (test_fill_n): First parameter in
	`Size' constructor should be an `int'.
	* tests/algorithms/25.random.shuffle.cpp (test_random_shuffle):
	Change line parameter from `size_t' type to `int' type.

	* tests/containers/23.deque.modifiers.cpp: Explicitly cast
	expressions involving `UserClass::n_total_copy_ctor_' and
	`UserClass::n_total_op_assign_' members to `int' type of lhs of
	assignment.
	(test_erase): Cast `size_t' argument used as 7th parameter in
	exception_loop() function to `int' type.
	* tests/containers/23.bitset.cons.cpp (test_string_ctor): Cast
	result of pointer arithmetic expression to `int' type of rhs of
	assignment operator.
	* tests/containers/23.vector.cons.cpp (test_ctors): Assign to
	`val' using temporary `T' value constructed from `i' rather than
	directly from `i'.

	* tests/localization/22.locale.synopsis.cpp (test_locale): Change
	loop index type from `unsigned' to `size_t' resulting from
	pointer arithmetic in initializer.
	* tests/localization/22.locale.codecvt.length.cpp
	(test_wcodecvt_byname_libc_based) [TEST]: Next to last parameter
	type in test_length() function is an `int', not `size_t'.
	* tests/localization/22.locale.num.get.cpp (test_errno)
	[TEST_ERRNO]: Fourth from last parameter type in do_test()
	function is an `int'.  Cast `size_t' result of sizeof operator.
	(test_long): Cast `size_t' result from sizeof operator to
	`int' type of local `NC' variable.  Define INTSIZE() macro to
	cast `size_t' result from sizeof operator to `int' type in test
	cases.  (This parameter defaults to negative value or its type
	would be changed to `size_t' type.)
	(test_pvoid) [PVOIDSTR], (test_ldbl): Use INSTIZE() macro.

	* tests/numerics/26.c.math.cpp (check_bits): Changed `unsigned'
	parameter type to `size_t' parameter type.
	(test_behavior):  Remove SIZE() macro and replaced with sizeof
	operator.

	* tests/regress/24.operations.stdcxx-234.cpp (main): Cast
	iterator `difference_type' to return type of main() function.

	* tests/strings/21.string.io.cpp (test_io): Cast rhs of
	assignments to `int' type of `throw_when_' array elements.

	* util/monetary.cpp (Def::write_monetary): Cast expressions in
	rhs of assignments to `unsigned' type of `_RW::__rw_punct_t'
	members.
	* util/time.cpp (Def::write_time): Ditto for `time_out_` members.
	* util/locale.cpp (print_toupper, print_tolower): Cast return
	value of _RW::__rw_ctype_t::wtoupper_s() function to `int'
	return type of function.
	(print_charmap): Change loop index type from `size_t' to
	`unsigned'.
	* util/numeric.cpp (Def::write_numeric): Same change as above
	to monetary and time for `num_punct_out_' members.
	* util/messages.cpp (Def::write_messages): Same change as above
	to monetary, time, and numeric for 'messages_out_' members.
	* util/ctype.cpp (Def::write_ctype): Same change as facets above.
	* util/exec.cpp (get_signo): Cast return type from strtol()
	function to `int' return type of function.
	* util/cmdopt.cpp: Explicitly cast return value of sysconf()
	function to `float' type used by `TICKS_PER_SEC' global.
	(eval_options): Cast return value of strtol() function to
	`unsigned' type.  Second parameter of get_long_val() function
	expects `unsigned' type (go figure).  Cast return value of
	sizeof operator.  exit() function expects `int' status code.
	Parameter type of rw_sleep() function is `int'.
	* util/codecvt.cpp (gen_wchar_tables, gen_xlit_data): Cast
	string::size_type values to `unsigned' type of offset variables.  
	(write_codecvt): Add UINT() macro for casting values to
	`unsigned' type expected by lhs of several assignments. 
	* util/charmap.cp (Charmap::increment_wchar): Cast
	string::size_type values to `int' type of local `last_elm' which
	can be negative.
	(increment_encoding): Cast return value of convert_escape()
	function to `unsigned' type of `last_byte' variable.
	* util/collate.cpp (Def::process_weights): Change loop index
	type from `size_t' to `int'.
	(Def::write_collate): Cast wstring::size_type and size of
	intrinsic types to `unsigned' type.  Also moved definition of
	local variable `i' closer to point of use.
	(Def::get_weight): Changed type of local `c' from `size_t' to
	`unsigned'.  Cast return value of convert_escape() function to
	`unsigned' type of `weight' array elements.

	* examples/manual/strstream.cpp (main): Change local `gcount'
	variable from `int' type to `std::streamsize' type.


Modified:
    stdcxx/trunk/etc/config/src/headers.inc

Modified: stdcxx/trunk/etc/config/src/headers.inc
URL: http://svn.apache.org/viewvc/stdcxx/trunk/etc/config/src/headers.inc?rev=671615&r1=671614&r2=671615&view=diff
==============================================================================
--- stdcxx/trunk/etc/config/src/headers.inc (original)
+++ stdcxx/trunk/etc/config/src/headers.inc Wed Jun 25 10:58:16 2008
@@ -21,10 +21,8 @@
 ##############################################################################
 
 # list of headers
-hdrs="assert complex ctype errno fenv float inttypes iso646 limits locale    \
-      math setjmp signal stdarg stdbool stddef stdio stdint stdlib string    \
-      tgmath time uchar wchar wctype new typeinfo"
-
+hdrs="assert ctype errno float iso646 limits locale math setjmp signal       \
+      stdarg stddef stdio stdlib string time wchar wctype new typeinfo"
 hdrs="$hdrs ieeefp.h pthread.h"
 
 



Mime
View raw message