Changeset 1416:f179aa1045a4 in lemon for lemon
- Timestamp:
- 11/01/18 11:27:05 (6 years ago)
- Branch:
- default
- Children:
- 1417:2236d00ca778, 1422:332eab7995fe
- Phase:
- public
- Location:
- lemon
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bfs.h
r1270 r1416 1377 1377 struct SetReachedMapTraits : public Traits { 1378 1378 typedef T ReachedMap; 1379 static ReachedMap *createReachedMap(const Digraph & digraph) {1379 static ReachedMap *createReachedMap(const Digraph &) { 1380 1380 LEMON_ASSERT(false, "ReachedMap is not initialized"); 1381 1381 return 0; // ignore warnings -
lemon/concepts/graph_components.h
r1270 r1416 104 104 i1=INVALID; 105 105 _GraphItem i2 = i1; 106 ::lemon::ignore_unused_variable_warning(i2); 106 107 _GraphItem i3 = INVALID; 107 108 … … 735 736 736 737 Item bi = it1; 738 ::lemon::ignore_unused_variable_warning(bi); 737 739 bi = it2; 738 740 } … … 825 827 ++(++it1); 826 828 Item e = it1; 829 ::lemon::ignore_unused_variable_warning(e); 827 830 e = it2; 828 831 } -
lemon/concepts/path.h
r1270 r1416 71 71 /// \brief Template copy constructor 72 72 template <typename CPath> 73 Path(const CPath& cpath) {} 73 Path(const CPath& cpath) { 74 ::lemon::ignore_unused_variable_warning(cpath); 75 } 74 76 75 77 /// \brief Template assigment operator -
lemon/config.h.in
r1340 r1416 3 3 4 4 #define LEMON_VERSION "@PROJECT_VERSION@" 5 5 6 #cmakedefine LEMON_HAVE_LONG_LONG 1 6 7 … … 27 28 #cmakedefine LEMON_USE_WIN32_THREADS 1 28 29 30 #cmakedefine LEMON_NO_UNUSED_LOCAL_TYPEDEF_WARNINGS 1 31 29 32 #endif -
lemon/core.h
r1341 r1416 34 34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning) 35 35 // C4996: 'function': was declared deprecated 36 37 #include <lemon/config.h> 38 36 39 #ifdef _MSC_VER 37 40 #pragma warning( disable : 4250 4267 4355 4503 4800 4996 ) 38 41 #endif 39 42 40 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)41 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.843 #if LEMON_NO_UNUSED_LOCAL_TYPEDEF_WARNINGS 44 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc >=4.8 and clang 42 45 #pragma GCC diagnostic ignored "-Wunused-local-typedefs" 43 46 #endif … … 46 49 #include <algorithm> 47 50 48 #include <lemon/config.h>49 51 #include <lemon/bits/enable_if.h> 50 52 #include <lemon/bits/traits.h> -
lemon/dfs.h
r1270 r1416 1319 1319 struct SetReachedMapTraits : public Traits { 1320 1320 typedef T ReachedMap; 1321 static ReachedMap *createReachedMap(const Digraph & digraph) {1321 static ReachedMap *createReachedMap(const Digraph &) { 1322 1322 LEMON_ASSERT(false, "ReachedMap is not initialized"); 1323 1323 return 0; // ignore warnings -
lemon/nagamochi_ibaraki.h
r1270 r1416 175 175 typedef CR HeapCrossRef; 176 176 typedef H Heap; 177 static HeapCrossRef *createHeapCrossRef(int num) {177 static HeapCrossRef *createHeapCrossRef(int) { 178 178 LEMON_ASSERT(false, "HeapCrossRef is not initialized"); 179 179 return 0; // ignore warnings
Note: See TracChangeset
for help on using the changeset viewer.