Opened 15 years ago
Closed 12 years ago
#1619 closed Bugs (fixed)
[Fusion] C4512 warnings from VC9 (Visual Studio 2008)
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | fusion |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | Cc: |
Description
I've got some code which makes some simple use of fusion/tuple, and building it on VC9 with warning level 4 produces a large list of 4512 warnings from vector_iterator:
boost\fusion\container\vector\vector_iterator.hpp(42) : warning C4512: 'boost::fusion::vector_iterator<Vector,N>' : assignment operator could not be generated
It would be useful if this could be silenced, possibly by either disabling the warning with a pragma or by adding a private assignment operator.
Attachments (1)
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Two more that i see when running the tests for xpressive:
boost/fusion/view/iterator_range/iterator_range.hpp(45) : warning C4512: 'boost::fusion::iterator_range<First,Last>' : assignment operator could not be generated boost/fusion/view/transform_view/transform_view_iterator.hpp(42) : warning C4512: 'boost::fusion::transform_view_iterator<First,F>' : assignment operator could not be generated
by , 13 years ago
Attachment: | fusion_param.diff added |
---|
comment:4 by , 13 years ago
The attached patch silences a bunch of unreferenced parameter warnings from VC9.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Running the Fusion tests On VC9 with level 4 warnings results in a significant number of 4512 warnings:
In addition to this, there are also quite a few unreferenced parameter warnings: