[cfe-dev] Under MacOS/X, checker-275 works fine but checker-276 can't find some system #includes?
Jeremy Friesner
jfriesne at gmail.com
Fri Jul 18 21:57:19 PDT 2014
Hi all,
I'm trying to get checker-276 to run on my Mac (OS/X 10.8.5, clang++ version "Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)").
checker-275 runs fine, but checker-276 can't find some system includes for some reason (see below).
Is there something additional I need to specify to get checker-276 to work?
Thanks,
Jeremy
-----
jeremy-friesners-mac-pro-3:release jaf$ scan-build make
scan-build: Using '/Users/jaf/checker-276/bin/clang' for static analysis
/Users/jaf/checker-276/libexec/c++-analyzer -c -pipe -std=c++11 -stdlib=libc++ -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -Wall -W -fPIE -DMUSCLE_ENABLE_SSL -DAVOID_PRECOMPILED_HEADERS -DMUSCLE_USE_PTHREADS -DLCS_RELEASE_IS_FULLY_QUALIFIED= -DSVN_VERSION_STRING=\"14354:14356M\" -DUNIFIED_DAEMON -DFAKE_DSP=1 -DVIRTUAL_DMITRI -DUSE_NORMALIZER_FACTORY -DQT_NO_CAST_ASCII -DMUSCLE_ENABLE_MEMORY_TRACKING -DMUSCLE_ENABLE_ZLIB_ENCODING -DMIXERD_INCLUDE_CCD -DMUSCLE_INCLUDE_SOURCE_LOCATION_IN_LOGTIME -DMUSCLE_USE_CPLUSPLUS11 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/Users/jaf/qt-everywhere-enterprise-src-5.3.1/qtbase/mkspecs/macx-clang -I. -I../../../../3rdparty/libsndfile/src -I../../../.. -I../../../../libs/libmslicommon/include -I../../../../servers/servers/include -I../../../../apps -I../../../../apps/CueStation -I../../../../libs/muscle -I../../../../libs/muscle/zlib/zlib -I../../../../apps/vdmitri/include -I../../../../libs/libmslisupport/include -I../../../../libs/libmslidsp/include -I../../../../libs/avbapi/include -I../../../../libs/libmslisupport/include -I../../../../libs/libjdkmidi/include -I../../../../libs/libsmpte/include -I../../../../libs/libcasl/include -I../../../../libs/musclex/include -I../../../../tools/dmitriproxy/include -I../../../../libs/msli-avdecc-entities/include -I../../../../libs/libjdksavdecc-c/include -I../../../../3rdparty/libsndfile/src -I../../../../3rdparty/python/Include -I../../../../3rdparty/python -I/Users/jaf/qt-everywhere-enterprise-src-5.3.1/qtbase/lib/QtWidgets.framework/Versions/5/Headers -I/Users/jaf/qt-everywhere-enterprise-src-5.3.1/qtbase/lib/QtGui.framework/Versions/5/Headers -I/Users/jaf/qt-everywhere-enterprise-src-5.3.1/qtbase/lib/QtCore.framework/Versions/5/Headers -Imoc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -F/Users/jaf/qt-everywhere-enterprise-src-5.3.1/qtbase/lib -o objects/FakeProtocol.o ../../../../libs/avbapi/src/FakeProtocol.cpp
In file included from ../../../../libs/avbapi/src/FakeProtocol.cpp:1:
../../../../libs/msli-avdecc-entities/include/msli_avdecc_model.hpp:4:10: fatal error: 'string' file not found
#include <string>
^
1 error generated.
In file included from ../../../../libs/avbapi/src/FakeProtocol.cpp:1:
../../../../libs/msli-avdecc-entities/include/msli_avdecc_model.hpp:4:10: fatal error: 'string' file not found
#include <string>
^
1 error generated.
----- FWIW here is what the top of msli_avdec_model.hpp looks like:
#ifndef MSLI_AVDECC_MODEL_H
#define MSLI_AVDECC_MODEL_H
#include <string>
#include <stdint.h>
[…]
More information about the cfe-dev
mailing list