[cfe-dev] Under MacOS/X, checker-275 works fine but checker-276 can't find some system #includes?

Jordan Rose jordan_rose at apple.com
Sat Jul 19 22:10:01 PDT 2014


Hm. I can't think of anything offhand. Please file a bug at http://llvm.org/bugs/, ideally with a project attached (in case it's something specific to your Makefile).

(For the list: though normally "Apple LLVM" bugs don't go to the public Bugzilla, scan-build is an open-source tool. The only reason checker-276 has an Apple LLVM build rather than an open-source build is because it included arm64 support from before that was open-sourced and merged into the aarch64 target.)

Jordan


On Jul 18, 2014, at 21:57 , Jeremy Friesner <jfriesne at gmail.com> wrote:

> 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>
> […]
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list