<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>C&#43;&#43;-Hate on Insignificant Bits</title>
    <link>https://bobcopeland.com/blog/tags/c&#43;&#43;-hate/</link>
    <description>Recent content in C&#43;&#43;-Hate on Insignificant Bits</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 14 Nov 2010 03:53:51 +0000</lastBuildDate>
    <atom:link href="https://bobcopeland.com/blog/tags/c++-hate/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>C&#43;&#43; error fail</title>
      <link>https://bobcopeland.com/blog/2010/11/c-error-fail/</link>
      <pubDate>Sun, 14 Nov 2010 03:53:51 +0000</pubDate>
       <guid isPermaLink="false">http://bobcopeland.com/blog/?p=1544</guid> 
      <description>&lt;p&gt;Note to self: double-check the template arguments before asking the compiler to do so.&lt;/p&gt;
&lt;p&gt;(Wordpress hates to wrap, so I did it, badly.)
`mpicxx -Wno-deprecated   -c -o pagerank.o pagerank.cc
In file included from /usr/include/boost/graph/distributed/adjacency_list
.hpp:3959,
from pagerank.cc:3:
/usr/include/boost/graph/distributed/adjlist/initialize.hpp: In member fu
nction â€˜void boost::adjacency_list&amp;lt;OutEdgeListS, boost::distributedS&amp;lt;Pr
ocessGroup, InVertexListS, InDistribution&amp;gt;, DirectedS, VertexProperty, Ed
geProperty, GraphProperty, EdgeListS&amp;gt;::initialize(EdgeIterator, EdgeItera
tor, EdgePropertyIterator, typename boost::detail::parallel::adjacency_li
st_config&amp;lt;OutEdgeListS, ProcessGroup, InVertexListS, InDistribution, Dire
ctedS, VertexProperty, EdgeProperty, GraphProperty, EdgeListS&amp;gt;::inherited
::vertices_size_type, const typename boost::graph::distributed::select_di
stribution&amp;lt;InDistribution, VertexProperty, typename boost::detail::parall
el::adjacency_list_config&amp;lt;OutEdgeListS, ProcessGroup, InVertexListS, InDi
stribution, DirectedS, VertexProperty, EdgeProperty, GraphProperty, EdgeL
istS&amp;gt;::inherited::vertices_size_type, ProcessGroup, typename boost::graph
::internal_vertex_name&lt;VertexProperty&gt;::type&amp;gt;::type&amp;amp;, boost::vecS) [with
EdgeIterator = boost::graph::metis_reader::edge_iterator, EdgePropertyIte
rator = boost::graph::metis_reader::edge_weight_iterator, OutEdgeListS =
boost::vecS, ProcessGroup = boost::graph::distributed::mpi_process_group,
InVertexListS = boost::vecS, InDistribution = boost::defaultS, DirectedS
= boost::directedS, VertexProperty = boost::no_property, EdgeProperty =
boost::no_property, GraphProperty = boost::no_property, EdgeListS = boost
::listS]â€™:
/usr/include/boost/graph/distributed/adjacency_list.hpp:1644:   instantia
ted from â€˜boost::adjacency_list&amp;lt;OutEdgeListS, boost::distributedS&amp;lt;Proce
ssGroup, InVertexListS, InDistribution&amp;gt;, DirectedS, VertexProperty, EdgeP
roperty, GraphProperty, EdgeListS&amp;gt;::adjacency_list(EdgeIterator, EdgeIter
ator, EdgePropertyIterator, typename boost::detail::parallel::adjacency_l
ist_config&amp;lt;OutEdgeListS, ProcessGroup, InVertexListS, InDistribution, Dir
ectedS, VertexProperty, EdgeProperty, GraphProperty, EdgeListS&amp;gt;::inherite
d::vertices_size_type, const ProcessGroup&amp;amp;, const typename boost::graph::
distributed::select_distribution&amp;lt;InDistribution, VertexProperty, typename
boost::detail::parallel::adjacency_list_config&amp;lt;OutEdgeListS, ProcessGrou
p, InVertexListS, InDistribution, DirectedS, VertexProperty, EdgeProperty
, GraphProperty, EdgeListS&amp;gt;::inherited::vertices_size_type, ProcessGroup,
typename boost::graph::internal_vertex_name&lt;VertexProperty&gt;::type&amp;gt;::type
&amp;amp;, const GraphProperty&amp;amp;) [with EdgeIterator = boost::graph::metis_reader:
:edge_iterator, EdgePropertyIterator = boost::graph::metis_reader::edge_w
eight_iterator, OutEdgeListS = boost::vecS, ProcessGroup = boost::graph::
distributed::mpi_process_group, InVertexListS = boost::vecS, InDistributi
on = boost::defaultS, DirectedS = boost::directedS, VertexProperty = boos
t::no_property, EdgeProperty = boost::no_property, GraphProperty = boost:
:no_property, EdgeListS = boost::listS]â€™
pagerank.cc:37:   instantiated from here
/usr/include/boost/graph/distributed/adjlist/initialize.hpp:56: error: no
matching function for call to â€˜add_edge(boost::detail::parallel::globa
l_descriptor&lt;unsigned int&gt;&amp;amp;, boost::detail::parallel::global_descriptor&lt;u
nsigned int&gt;&amp;amp;, const double&amp;amp;, boost::adjacency_list&amp;lt;boost::vecS, boost::d
istributedS&amp;lt;boost::graph::distributed::mpi_process_group, boost::vecS, bo
ost::defaultS&amp;gt;, boost::directedS, boost::no_property, boost::no_property,
boost::no_property, boost::listS&amp;gt;&amp;amp;)â€™
/usr/include/boost/graph/distributed/adjacency_list.hpp:2973: note: candi
dates are: typename boost::adjacency_list&amp;lt;OutEdgeListS, boost::distribute
dS&amp;lt;ProcessGroup, InVertexListS, InDistribution&amp;gt;, DirectedS, VertexPropert
y, EdgeProperty, GraphProperty, EdgeListS&amp;gt;::lazy_add_edge_with_property b
oost::add_edge(typename boost::adjacency_list&amp;lt;OutEdgeListS, boost::distri
butedS&amp;lt;ProcessGroup, InVertexListS, InDistribution&amp;gt;, DirectedS, VertexPro
perty, EdgeProperty, GraphProperty, EdgeListS&amp;gt;::vertex_descriptor, typena
me boost::adjacency_list&amp;lt;OutEdgeListS, boost::distributedS&amp;lt;ProcessGroup,
InVertexListS, InDistribution&amp;gt;, DirectedS, VertexProperty, EdgeProperty,
GraphProperty, EdgeListS&amp;gt;::vertex_descriptor, const typename boost::adjac
ency_list&amp;lt;OutEdgeListS, boost::distributedS&amp;lt;ProcessGroup, InVertexListS,
InDistribution&amp;gt;, DirectedS, VertexProperty, EdgeProperty, GraphProperty,
EdgeListS&amp;gt;::edge_property_type&amp;amp;, boost::adjacency_list&amp;lt;OutEdgeListS, boos
t::distributedS&amp;lt;ProcessGroup, InVertexListS, InDistribution&amp;gt;, DirectedS,
VertexProperty, EdgeProperty, GraphProperty, EdgeListS&amp;gt;&amp;amp;) [with OutEdgeLi
stS = boost::vecS, ProcessGroup = boost::graph::distributed::mpi_process_
group, InVertexListS = boost::vecS, InDistribution = boost::defaultS, Dir
ectedS = boost::directedS, VertexProperty = boost::no_property, EdgePrope
rty = boost::no_property, GraphProperty = boost::no_property, EdgeListS =
boost::listS]
make: *** [pagerank.o] Error 1&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
