quantcast/qfs — pull request #14 by jfishman (2013-01-14 21:37:10+00:00)
Title: [LLVM v3.2] qfs/src/cc/qcdio/QCUtils.cc:93: error: invalid conversion from 'int' to 'const char*

```
# uname -rop
FreeBSD 10.0-CURRENT amd64
# cc --version
FreeBSD clang version 3.2 (branches/release_32 168974) 20121130
Target: x86_64-freebsd10.0
```

```
# cmake -DCMAKE_BUILD_TYPE:STRING="Release" ~/qfs
-- Boost version: 1.48.0
-- Found the following Boost libraries:
-- regex
-- Boost-includes = /usr/local/include
-- Boost-libs = /usr/local/lib/libboost_regex.so
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Enabling -D NDEBUG flag
-- System name: FreeBSD
-- System processor: amd64
-- qcrs: enabling sse2
-- JNI NOT found: NOT building qfs_access
-- Configuring done
-- Generating done
-- Build files have been written to: /root/qfs/build/release
# make
[ 0%] Built target version
[ 0%] Building CXX object src/cc/qcdio/CMakeFiles/qcdio.dir/QCDiskQueue.o
[ 1%] Building CXX object src/cc/qcdio/CMakeFiles/qcdio.dir/QCFdPoll.o
[ 1%] Building CXX object src/cc/qcdio/CMakeFiles/qcdio.dir/QCIoBufferPool.o
[ 2%] Building CXX object src/cc/qcdio/CMakeFiles/qcdio.dir/QCMutex.o
[ 2%] Building CXX object src/cc/qcdio/CMakeFiles/qcdio.dir/QCThread.o
[ 3%] Building CXX object src/cc/qcdio/CMakeFiles/qcdio.dir/QCUtils.o
/root/qfs/src/cc/qcdio/QCUtils.cc: In function 'int DoSysErrorMsg(const char*, int, char*, size_t)':
/root/qfs/src/cc/qcdio/QCUtils.cc:93: error: invalid conversion from 'int' to 'const char*'
```

P.S. i used FreeBSD-10 (ZFS SSD TRIM support)