Bugs item #755763, was opened at 2003-06-17 12:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=755763&group_id=7586

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Slava Sysoltsev (vsysolts)
Assigned to: Nobody/Anonymous (nobody)
Summary: Doubtful test libs/multi_array/test/fail_cdata.cpp

Initial Comment:
This test checks data() member function "constness". It 
tries to assign int * variable with value returned by data(), 
that must have the type const int*. Gcc permits that and 
produce an error. But Intel compiler allows that 
producing an error only in -ansi mode. I suspect there 
are another compilers that permit such assignment.

To get wider test acceptance I would 
enforce "constness" testing by writing to this array. 
Assignment to const restricted both with gcc 3.2 and 
Intel compilers. I'll attach the patch that modify the test 
to be more correct.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=755763&group_id=7586


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Boost-bugs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/boost-bugs
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to