0
7
0
... | ... |
@@ -67,5 +67,5 @@ |
67 | 67 |
# C4996: 'function': was declared deprecated |
68 | 68 |
ELSE() |
69 |
SET(CXX_WARNING "-Wall |
|
69 |
SET(CXX_WARNING "-Wall") |
|
70 | 70 |
ENDIF() |
71 | 71 |
ENDIF() |
... | ... |
@@ -74,8 +74,8 @@ |
74 | 74 |
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}") |
75 | 75 |
|
76 |
SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb" CACHE STRING |
|
76 |
SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING |
|
77 | 77 |
"Flags used by the C++ compiler during maintainer builds." |
78 | 78 |
FORCE ) |
79 |
SET( CMAKE_C_FLAGS_MAINTAINER "-Werror" CACHE STRING |
|
79 |
SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING |
|
80 | 80 |
"Flags used by the C compiler during maintainer builds." |
81 | 81 |
FORCE ) |
... | ... |
@@ -116,4 +116,5 @@ |
116 | 116 |
const _GraphItem &ia; |
117 | 117 |
const _GraphItem &ib; |
118 |
Constraints() {} |
|
118 | 119 |
}; |
119 | 120 |
}; |
... | ... |
@@ -175,4 +176,5 @@ |
175 | 176 |
|
176 | 177 |
const _Digraph& digraph; |
178 |
Constraints() {} |
|
177 | 179 |
}; |
178 | 180 |
}; |
... | ... |
@@ -291,4 +293,5 @@ |
291 | 293 |
|
292 | 294 |
const _Graph& graph; |
295 |
Constraints() {} |
|
293 | 296 |
}; |
294 | 297 |
|
... | ... |
@@ -370,4 +373,5 @@ |
370 | 373 |
|
371 | 374 |
const _Digraph& digraph; |
375 |
Constraints() {} |
|
372 | 376 |
}; |
373 | 377 |
}; |
... | ... |
@@ -422,4 +426,5 @@ |
422 | 426 |
|
423 | 427 |
const _Graph& graph; |
428 |
Constraints() {} |
|
424 | 429 |
}; |
425 | 430 |
}; |
... | ... |
@@ -499,4 +504,5 @@ |
499 | 504 |
} |
500 | 505 |
const GR& g; |
506 |
Constraints() {} |
|
501 | 507 |
}; |
502 | 508 |
}; |
... | ... |
@@ -587,4 +593,5 @@ |
587 | 593 |
const Base& node; |
588 | 594 |
const GR& graph; |
595 |
Constraints() {} |
|
589 | 596 |
}; |
590 | 597 |
}; |
... | ... |
@@ -763,4 +770,5 @@ |
763 | 770 |
|
764 | 771 |
const _Digraph& digraph; |
772 |
Constraints() {} |
|
765 | 773 |
}; |
766 | 774 |
}; |
... | ... |
@@ -887,4 +895,5 @@ |
887 | 895 |
|
888 | 896 |
const _Graph& graph; |
897 |
Constraints() {} |
|
889 | 898 |
}; |
890 | 899 |
}; |
... | ... |
@@ -944,4 +953,5 @@ |
944 | 953 |
|
945 | 954 |
const _Digraph& digraph; |
955 |
Constraints() {} |
|
946 | 956 |
}; |
947 | 957 |
}; |
... | ... |
@@ -985,4 +995,5 @@ |
985 | 995 |
|
986 | 996 |
const _Graph& graph; |
997 |
Constraints() {} |
|
987 | 998 |
}; |
988 | 999 |
}; |
... | ... |
@@ -1062,4 +1073,5 @@ |
1062 | 1073 |
const GR &g; |
1063 | 1074 |
const typename GraphMap::Value &t; |
1075 |
Constraints() {} |
|
1064 | 1076 |
}; |
1065 | 1077 |
|
... | ... |
@@ -1200,4 +1212,5 @@ |
1200 | 1212 |
|
1201 | 1213 |
const _Digraph& digraph; |
1214 |
Constraints() {} |
|
1202 | 1215 |
}; |
1203 | 1216 |
}; |
... | ... |
@@ -1285,4 +1298,5 @@ |
1285 | 1298 |
|
1286 | 1299 |
const _Graph& graph; |
1300 |
Constraints() {} |
|
1287 | 1301 |
}; |
1288 | 1302 |
}; |
... | ... |
@@ -1329,4 +1343,5 @@ |
1329 | 1343 |
|
1330 | 1344 |
_Digraph& digraph; |
1345 |
Constraints() {} |
|
1331 | 1346 |
}; |
1332 | 1347 |
}; |
... | ... |
@@ -1373,4 +1388,5 @@ |
1373 | 1388 |
|
1374 | 1389 |
_Graph& graph; |
1390 |
Constraints() {} |
|
1375 | 1391 |
}; |
1376 | 1392 |
}; |
... | ... |
@@ -1412,4 +1428,5 @@ |
1412 | 1428 |
|
1413 | 1429 |
_Digraph& digraph; |
1430 |
Constraints() {} |
|
1414 | 1431 |
}; |
1415 | 1432 |
}; |
... | ... |
@@ -1451,4 +1468,5 @@ |
1451 | 1468 |
|
1452 | 1469 |
_Graph& graph; |
1470 |
Constraints() {} |
|
1453 | 1471 |
}; |
1454 | 1472 |
}; |
... | ... |
@@ -1479,4 +1497,5 @@ |
1479 | 1497 |
|
1480 | 1498 |
_Digraph& digraph; |
1499 |
Constraints() {} |
|
1481 | 1500 |
}; |
1482 | 1501 |
}; |
... | ... |
@@ -1507,4 +1526,5 @@ |
1507 | 1526 |
|
1508 | 1527 |
_Graph& graph; |
1528 |
Constraints() {} |
|
1509 | 1529 |
}; |
1510 | 1530 |
}; |
... | ... |
@@ -69,4 +69,5 @@ |
69 | 69 |
const typename _ReadMap::Key& own_key; |
70 | 70 |
const _ReadMap& m; |
71 |
Constraints() {} |
|
71 | 72 |
}; |
72 | 73 |
|
... | ... |
@@ -110,4 +111,5 @@ |
110 | 111 |
const typename _WriteMap::Value& own_val; |
111 | 112 |
_WriteMap& m; |
113 |
Constraints() {} |
|
112 | 114 |
}; |
113 | 115 |
}; |
... | ... |
@@ -130,5 +132,6 @@ |
130 | 132 |
/// Returns the value associated with the given key. |
131 | 133 |
Value operator[](const Key &) const { |
132 |
|
|
134 |
Value *r = 0; |
|
135 |
return *r; |
|
133 | 136 |
} |
134 | 137 |
|
... | ... |
@@ -170,10 +173,12 @@ |
170 | 173 |
/// Returns a reference to the value associated with the given key. |
171 | 174 |
Reference operator[](const Key &) { |
172 |
|
|
175 |
Value *r = 0; |
|
176 |
return *r; |
|
173 | 177 |
} |
174 | 178 |
|
175 | 179 |
/// Returns a const reference to the value associated with the given key. |
176 | 180 |
ConstReference operator[](const Key &) const { |
177 |
|
|
181 |
Value *r = 0; |
|
182 |
return *r; |
|
178 | 183 |
} |
179 | 184 |
|
... | ... |
@@ -206,4 +211,5 @@ |
206 | 211 |
typename _ReferenceMap::ConstReference own_cref; |
207 | 212 |
_ReferenceMap& m; |
213 |
Constraints() {} |
|
208 | 214 |
}; |
209 | 215 |
}; |
0 comments (0 inline)