Procházet zdrojové kódy

warnings

Former-commit-id: 74c1be4d18b705458e9921b985bc0f6eba79030c
Alec Jacobson před 9 roky
rodič
revize
62483b48c0
1 změnil soubory, kde provedl 11 přidání a 0 odebrání
  1. 11 0
      style-guidelines.md

+ 11 - 0
style-guidelines.md

@@ -302,3 +302,14 @@ edited by you first. This means for
 
 Whenever possible `#include` directives should be placed in the `.cpp`
 implementation file rather than the `.h` header file.
+
+## Warnings
+
+Code should compile without firing any warnings.
+
+### An Exception
+
+The only exception is for the use of the deprecated
+`Eigen::DynamicSparseMatrix` in core sub-routines (e.g. `igl::cat`). This class
+is still supported and faster than the standard, non-deprecated Eigen
+implementation so we're keeping it as long as possible and profitable.