silviubogan/ARCHIVED-qt-file-manager

Big and annoying compiler warning when building the project (with MSVC compiler)

Opened this issue · 0 comments

When building the project in Qt Creator (with MSVC) I get the following compiler warning:

G:\Biblioteci software\boost_1_55_0\boost\concept\detail\msvc.hpp:22: warning: C4100: 'x' : unreferenced formal parameter

The full output is very big and this is the actual problem:

..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/msvc.hpp(22) : warning C4100: 'x' : unreferenced formal parameter
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/msvc.hpp(23) : while compiling class template member function 'void boost::concepts::check<Model>::failed(Model *)'
        with
        [
            Model=boost::SignedInteger<int>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/msvc.hpp(61) : see reference to class template instantiation 'boost::concepts::check<Model>' being compiled
        with
        [
            Model=boost::SignedInteger<int>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept_check.hpp(517) : see reference to class template instantiation 'boost::concepts::require<boost::SignedInteger<int>>' being compiled
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept_check.hpp(516) : while compiling class template member function 'boost::InputIterator<T>::~InputIterator(void)'
        with
        [
            T=boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,boost::property<boost::edge_weight_t,double,boost::no_property>>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(883) : see reference to function template instantiation 'boost::InputIterator<T>::~InputIterator(void)' being compiled
        with
        [
            T=boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,boost::property<boost::edge_weight_t,double,boost::no_property>>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/has_constraints.hpp(42) : see reference to class template instantiation 'boost::InputIterator<T>' being compiled
        with
        [
            T=boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,boost::property<boost::edge_weight_t,double,boost::no_property>>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/msvc.hpp(53) : see reference to class template instantiation 'boost::concepts::not_satisfied<Model>' being compiled
        with
        [
            Model=boost::InputIterator<boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,boost::property<boost::edge_weight_t,double,boost::no_property>>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/graph_concepts.hpp(54) : see reference to class template instantiation 'boost::concepts::require<boost::InputIterator<T>>' being compiled
        with
        [
            T=boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,boost::property<boost::edge_weight_t,double,boost::no_property>>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/graph_concepts.hpp(53) : while compiling class template member function 'boost::concepts::MultiPassInputIterator<boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,EdgeProperty>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>>::~MultiPassInputIterator(void)'
        with
        [
            EdgeProperty=boost::property<boost::edge_weight_t,double,boost::no_property>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(846) : see reference to function template instantiation 'boost::concepts::MultiPassInputIterator<boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,EdgeProperty>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>>::~MultiPassInputIterator(void)' being compiled
        with
        [
            EdgeProperty=boost::property<boost::edge_weight_t,double,boost::no_property>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/has_constraints.hpp(42) : see reference to class template instantiation 'boost::concepts::MultiPassInputIterator<boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,EdgeProperty>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>>' being compiled
        with
        [
            EdgeProperty=boost::property<boost::edge_weight_t,double,boost::no_property>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/msvc.hpp(53) : see reference to class template instantiation 'boost::concepts::not_satisfied<Model>' being compiled
        with
        [
            Model=boost::concepts::MultiPassInputIterator<boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,boost::property<boost::edge_weight_t,double,boost::no_property>>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/graph_concepts.hpp(87) : see reference to class template instantiation 'boost::concepts::require<boost::concepts::MultiPassInputIterator<boost::detail::out_edge_iter<std::_List_iterator<std::_List_val<std::_List_simple_types<boost::detail::stored_edge_property<void *,EdgeProperty>>>>,void *,boost::detail::edge_desc_impl<boost::directed_tag,void *>,__w64 int>>>' being compiled
        with
        [
            EdgeProperty=boost::property<boost::edge_weight_t,double,boost::no_property>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/graph_concepts.hpp(86) : while compiling class template member function 'boost::concepts::IncidenceGraph<G>::~IncidenceGraph(void)'
        with
        [
            G=Graph
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(1923) : see reference to function template instantiation 'boost::concepts::IncidenceGraph<G>::~IncidenceGraph(void)' being compiled
        with
        [
            G=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/graph_concepts.hpp(75) : see reference to class template instantiation 'boost::concepts::IncidenceGraph<G>' being compiled
        with
        [
            G=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/has_constraints.hpp(42) : see reference to class template instantiation 'boost::concepts::IncidenceGraphConcept<IncidenceGraph>' being compiled
        with
        [
            IncidenceGraph=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/concept/detail/msvc.hpp(53) : see reference to class template instantiation 'boost::concepts::not_satisfied<Model>' being compiled
        with
        [
            Model=boost::concepts::IncidenceGraphConcept<Graph>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/breadth_first_search.hpp(64) : see reference to class template instantiation 'boost::concepts::require<boost::concepts::IncidenceGraphConcept<IncidenceGraph>>' being compiled
        with
        [
            IncidenceGraph=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/breadth_first_search.hpp(124) : see reference to function template instantiation 'void boost::breadth_first_visit<VertexListGraph,Buffer,BFSVisitor,ColorMap,SourceIterator>(const IncidenceGraph &,SourceIterator,SourceIterator,Buffer &,BFSVisitor,ColorMap)' being compiled
        with
        [
            VertexListGraph=Graph
,            Buffer=queue_t
,            BFSVisitor=boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<position_map,NodeDistanceMap,boost::rectangle_topology<boost::random::minstd_rand>,Graph>>>
,            ColorMap=boost::two_bit_color_map<boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>>
,            SourceIterator=void **
,            IncidenceGraph=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/breadth_first_search.hpp(135) : see reference to function template instantiation 'void boost::breadth_first_search<VertexListGraph,void**,Buffer,BFSVisitor,ColorMap>(const VertexListGraph &,SourceIterator,SourceIterator,Buffer &,BFSVisitor,ColorMap)' being compiled
        with
        [
            VertexListGraph=Graph
,            Buffer=queue_t
,            BFSVisitor=boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<position_map,NodeDistanceMap,boost::rectangle_topology<boost::random::minstd_rand>,Graph>>>
,            ColorMap=boost::two_bit_color_map<boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>>
,            SourceIterator=void **
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/breadth_first_search.hpp(260) : see reference to function template instantiation 'void boost::breadth_first_search<VertexListGraph,T,BFSVisitor,ColorMap>(const VertexListGraph &,void *,Buffer &,BFSVisitor,ColorMap)' being compiled
        with
        [
            VertexListGraph=Graph
,            T=queue_t
,            BFSVisitor=boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<position_map,NodeDistanceMap,boost::rectangle_topology<boost::random::minstd_rand>,Graph>>>
,            ColorMap=boost::two_bit_color_map<boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>>
,            Buffer=queue_t
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/breadth_first_search.hpp(324) : see reference to function template instantiation 'void boost::detail::bfs_helper<VertexListGraph,boost::two_bit_color_map<boost::adj_list_vertex_property_map<Graph,int,const int &,Tag>>,P,boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,Graph>>>,boost::graph_visitor_t,boost::no_property>(VertexListGraph &,void *,ColorMap,BFSVisitor,const boost::bgl_named_params<boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,Graph>>>,boost::graph_visitor_t,boost::no_property> &,boost::mpl::false_)' being compiled
        with
        [
            VertexListGraph=Graph
,            Graph=boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>
,            Tag=boost::vertex_index_t
,            P=boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<position_map,NodeDistanceMap,boost::rectangle_topology<boost::random::minstd_rand>,Graph>>>
,            NodeDistanceMap=NodeDistanceMap
,            PositionMap=position_map
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            ColorMap=boost::two_bit_color_map<boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>>
,            BFSVisitor=boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<position_map,NodeDistanceMap,boost::rectangle_topology<boost::random::minstd_rand>,Graph>>>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/breadth_first_search.hpp(345) : see reference to function template instantiation 'void boost::detail::bfs_dispatch<boost::param_not_found>::apply<VertexListGraph,boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,VertexListAndIncidenceGraph>>>,boost::graph_visitor_t,boost::no_property>(VertexListGraph &,void *,const boost::bgl_named_params<boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,VertexListAndIncidenceGraph>>>,boost::graph_visitor_t,boost::no_property> &,boost::param_not_found)' being compiled
        with
        [
            VertexListGraph=Graph
,            NodeDistanceMap=NodeDistanceMap
,            PositionMap=position_map
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            VertexListAndIncidenceGraph=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(115) : see reference to function template instantiation 'void boost::breadth_first_search<Graph,boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,Graph>>>,boost::graph_visitor_t,boost::no_property>(const VertexListGraph &,void *,const boost::bgl_named_params<boost::bfs_visitor<std::pair<boost::distance_recorder<NodeDistanceMap,boost::on_tree_edge>,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,Graph>>>,boost::graph_visitor_t,boost::no_property> &)' being compiled
        with
        [
            Graph=Graph
,            NodeDistanceMap=NodeDistanceMap
,            PositionMap=position_map
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            VertexListGraph=Graph
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(184) : see reference to function template instantiation 'void boost::detail::gursoy_shortest<boost::dummy_property_map>::run<VertexListAndIncidenceGraph,NodeDistanceMap,boost::detail::update_position_visitor<PositionMap,NodeDistanceMap,Topology,VertexListAndIncidenceGraph>>(const Graph &,void *,NodeDistanceMap,UpdatePosition &,boost::dummy_property_map)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            PositionMap=position_map
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            Graph=Graph
,            NodeDistanceMap=NodeDistanceMap
,            UpdatePosition=boost::detail::update_position_visitor<position_map,NodeDistanceMap,boost::rectangle_topology<boost::random::minstd_rand>,Graph>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(235) : see reference to function template instantiation 'void boost::gursoy_atun_step<VertexListAndIncidenceGraph,Topology,PositionMap,int,VertexIndexMap,EdgeWeightMap>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap,Diameter,double,VertexIndexMap,EdgeWeightMap)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
,            VertexIndexMap=boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>
,            EdgeWeightMap=boost::dummy_property_map
,            Diameter=int
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(263) : see reference to function template instantiation 'void boost::gursoy_atun_refine<VertexListAndIncidenceGraph,Topology,PositionMap,VertexIndexMap,EdgeWeightMap>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap,int,double,double,double,double,VertexIndexMap,EdgeWeightMap)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
,            VertexIndexMap=boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>
,            EdgeWeightMap=boost::dummy_property_map
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(281) : see reference to function template instantiation 'void boost::gursoy_atun_layout<VertexListAndIncidenceGraph,Topology,PositionMap,VertexIndexMap,boost::dummy_property_map>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap,int,double,double,double,double,VertexIndexMap,EdgeWeightMap)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
,            VertexIndexMap=boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>
,            EdgeWeightMap=boost::dummy_property_map
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(297) : see reference to function template instantiation 'void boost::gursoy_atun_layout<VertexListAndIncidenceGraph,Topology,PositionMap,boost::adj_list_vertex_property_map<Graph,int,const int &,Tag>>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap,int,double,double,double,double,VertexIndexMap)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
,            Graph=boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>
,            Tag=boost::vertex_index_t
,            VertexIndexMap=boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS,boost::listS,boost::directedS,boost::property<boost::vertex_index_t,int,boost::property<vertex_position_t,point,boost::no_property>>,boost::property<boost::edge_weight_t,double,boost::no_property>,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(312) : see reference to function template instantiation 'void boost::gursoy_atun_layout<VertexListAndIncidenceGraph,Topology,PositionMap>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap,int,double,double,double,double)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
        ]
        ..\..\..\Biblioteci software\boost_1_55_0\boost/graph/gursoy_atun_layout.hpp(321) : see reference to function template instantiation 'void boost::gursoy_atun_layout<VertexListAndIncidenceGraph,Topology,PositionMap>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap,int)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
        ]
        ..\qt-file-manager\BoostGraph.cpp(119) : see reference to function template instantiation 'void boost::gursoy_atun_layout<Graph,boost::rectangle_topology<boost::random::minstd_rand>,position_map>(const VertexListAndIncidenceGraph &,const Topology &,PositionMap)' being compiled
        with
        [
            VertexListAndIncidenceGraph=Graph
,            Topology=boost::rectangle_topology<boost::random::minstd_rand>
,            PositionMap=position_map
        ]

Related links:
https://svn.boost.org/trac/boost/ticket/2482