Closed greatmazinger closed 8 years ago
HashGraph.cpp: In member function ‘jlong HashGraph::updateEdge(jlong, unsigned int, jlong)’: │asm-all-3.3.jar HashGraph.cpp:54:23: error: comparison of unsigned expression < 0 is always false [-Werror=typ│.-(/data/rveroy/src/JAR)-------------------------------------------------------(rveroy@dell25)- e-limits] │`--> ls -l /data/rveroy/src/JAR/asm-3.3.jar } else if (slot < 0) { │ls: cannot access /data/rveroy/src/JAR/asm-3.3.jar: No such file or directory ^ │.-(/data/rveroy/src/JAR)-------------------------------------------------------(rveroy@dell25)- cc1plus: all warnings being treated as errors
Fixed in commit 28815a88c1a87e8baba688990b3ed3a92d6bfd6f. And I also started reformatting to the sane indentations of 4. Because I like my eyes and indentations of 2 just gives me headaches. ;)
The previous comment was meant to close this.
HashGraph.cpp: In member function ‘jlong HashGraph::updateEdge(jlong, int, jlong)’: HashGraph.cpp:20:35: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (slot >= staticsEdges.size()) { ^ cc1plus: all warnings being treated as errors