Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2003-06-17 03:31:45

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:

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:

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
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at