COIN-OR::LEMON - Graph Library

Custom Query (493 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 493)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#470 fixed "Unused locally defined typedef" warning with gcc 4.8 alpar alpar
Description

The warnings look very stupid, but makes Maintainer more fail.

Is there a compiler pragma for switching off this warning locally?

/home/alpar/projects/LEMON/hg/cplex-comp/lemon/core.h:109:38: warning: typedef ‘OutArcIt’ locally defined but not used [-Wunused-local-typedefs]
   typedef typename Digraph::OutArcIt OutArcIt;                          \
                                      ^
/home/alpar/projects/LEMON/hg/cplex-comp/lemon/core.h:143:3: note: in expansion of macro ‘TEMPLATE_DIGRAPH_TYPEDEFS’
   TEMPLATE_DIGRAPH_TYPEDEFS(Graph);                                     \
   ^
/home/alpar/projects/LEMON/hg/cplex-comp/test/graph_test.cc:34:3: note: in expansion of macro ‘TEMPLATE_GRAPH_TYPEDEFS’
   TEMPLATE_GRAPH_TYPEDEFS(Graph);
   ^
/home/alpar/projects/LEMON/hg/cplex-comp/lemon/core.h:110:52: warning: typedef ‘BoolNodeMap’ locally defined but not used [-Wunused-local-typedefs]
   typedef typename Digraph::template NodeMap<bool> BoolNodeMap;         \
                                                    ^
#122 fixed 'Node' or 'const Node&' parameters alpar kpeter
Description

Which syntax should be used if a function needs a node/arc/edge parameter? Which one is better and why?

  • Node n, Arc a, Edge e
  • const Node &n, const Arc &a, const Edge &e
#349 duplicate 1.1.1 nem fordult vindózban cmake 2.8 ladanyi jani129
Description

verzió 1.1.1 hiányzik a .zip-ből egy fájl: LEMONConfig.cmake.in emiatt a cmake hibát jelzett. ha bemásoltuk a hg-ből az ugyanilyen nevű fájlt, akkor működött.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.