Author: antonp
Date: Mon May 29 08:20:41 2006
New Revision: 410106
URL: http://svn.apache.org/viewvc?rev=410106&view=rev
Log:
2006-05-29 Anton Pevtsov <[EMAIL PROTECTED]>
* 21.strings.cpp (_rw_sigcat, _rw_setvars): Added
workaround for STDCXX-190 - warning silenced.
Modified:
incubator/stdcxx/trunk/tests/src/21.strings.cpp
Modified: incubator/stdcxx/trunk/tests/src/21.strings.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/21.strings.cpp?rev=410106&r1=410105&r2=410106&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/21.strings.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/21.strings.cpp Mon May 29 08:20:41 2006
@@ -190,7 +190,7 @@
which = func->which_;
// determine whether the function is a member function
- const bool is_member = Ids::bit_member & which;
+ const bool is_member = 0 != (Ids::bit_member & which);
// get the bitmap describing the function's argument types
int argmap = (which & ~Ids::bit_member) >> Ids::fid_bits;
@@ -422,7 +422,7 @@
_rw_func_names [funcinx] : class_name;
// determine whether the function is a member function
- const bool is_member = func.which_ & StringIds::bit_member;
+ const bool is_member = 0 != (func.which_ & StringIds::bit_member);
// set the {FUNC} variable to the unqualified/undecorated
// name of the string function (member or otherwise)
@@ -465,7 +465,7 @@
arg = 0;
// determine whether the function is a member function
- const bool is_member = func.which_ & StringIds::bit_member;
+ const bool is_member = 0 != (func.which_ & StringIds::bit_member);
// determine whether the function is a ctor
bool is_ctor = StringIds::fid_ctor == (func.which_ & StringIds::fid_mask);
@@ -1224,7 +1224,7 @@
_rw_setvars (func);
// determine whether the function is a member function
- const bool is_member = StringIds::bit_member & test.which;
+ const bool is_member = 0 != (StringIds::bit_member &
test.which);
// compute the function overload's 0-based index
const size_t siginx = _rw_get_func_inx (test.which);