Re: [Boost-bugs] [Boost C++ Libraries] #11043: test test_tools_test fails if char is unsigned

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11043: test test_tools_test fails if char is unsigned
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-06 13:39:05


#11043: test test_tools_test fails if char is unsigned
----------------------------------------+---------------------
  Reporter: Ed Vogel <edward.vogel@…> | Owner: rogeeff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: test
   Version: Boost 1.56.0 | Severity: Problem
Resolution: wontfix | Keywords:
----------------------------------------+---------------------

Comment (by Ed Vogel <edward.vogel@…>):

 Thanks for the reply,

 To answer your question, the test is running on HP NonStop.

 With that said, I'm not sure why a configuration macro would be needed.
 It should be rather easy to put a bit of runtime code in the test to see
 if char is signed or unsigned and then use a different pattern file for
 the test based upon the result of the test.

 Or, you could simple follow the example
 boost/libs/test/test/errors_handling_test.cpp and have the user
 compile/set a local macro (in that case a macro called LIMITED_TEST).

 As we've modified the pattern file for our use, fixing this is not
 important to us.

 I just wanted to report this in case some other platform that has unsigned
 char as its default tries to port Boost - They will encounter this issue
 too.

 Again, thanks for the reply.

 Ed Vogel

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11043#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC