Description
After upgrading xcode on mac to Apple LLVM version 9.1.0 (clang-902.0.39.1), I can see some errors as following while building orc:
Scanning dependencies of target csv-import
[ 82%] Building CXX object tools/src/CMakeFiles/csv-import.dir/CSVFileImport.cc.o
/Users/gang.w/orc/tools/src/CSVFileImport.cc:48:19: error: zero as null pointer constant
[-Werror,-Wzero-as-null-pointer-constant]
time_t t = time(NULL);
^~~~
nullptr
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:100:18: note:
expanded from macro 'NULL'
- define NULL __null
^
Attachments
Issue Links
- links to