Compile cleanly with clang.

To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:

CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build


git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2012-05-24 02:54:10 +00:00
parent effe4de188
commit 27a1cf2cf7
46 changed files with 115 additions and 99 deletions

View file

@ -180,7 +180,6 @@ smf_format_vlq(unsigned char *buf, int length, unsigned long value)
}
assert(i <= length);
length = length; // get rid of stupid gcc warnings about unused params if assert() is null
/* + 1, because "i" is an offset, not a count. */
return (i + 1);