diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-20 10:25:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-20 10:25:15 +0400 |
commit | 13dfd8299758a5248613624e99a1643f35e2ff4e (patch) | |
tree | 6e10f1aa1c9fab187cae0172890153bb6ff5d252 /build_files/cmake/cmake_static_check_splint.py | |
parent | 2b1513dbdad785c0f95acbe195215706a2ee873b (diff) |
changes for materials to treat them as shorts not int/chars (since they are stored as shorts intermally)
- converting nurbs to mesh was casting the material to unsigned char.
- subsurf was casting to char, then int -> short in a loop.
- have material functions take & return shorts.
Diffstat (limited to 'build_files/cmake/cmake_static_check_splint.py')
-rw-r--r-- | build_files/cmake/cmake_static_check_splint.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/cmake/cmake_static_check_splint.py b/build_files/cmake/cmake_static_check_splint.py index 7827d3a5120..3614ab48cf8 100644 --- a/build_files/cmake/cmake_static_check_splint.py +++ b/build_files/cmake/cmake_static_check_splint.py @@ -58,6 +58,10 @@ CHECKER_ARGS = [ # re-definitions, rna causes most of these "-redef", "-syntax", + + # dummy, witjout this splint complains with: + # /usr/include/bits/confname.h:31:27: *** Internal Bug at cscannerHelp.c:2428: Unexpanded macro not function or constant: int _PC_MAX_CANON + "-D_PC_MAX_CANON=0", ] |