Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/iwyu.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-36ffb1e0f49c3736372246729b290c51cab18e96/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/iwyu.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/iwyu-0.2-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/iwyu.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-36ffb1e0f49c3736372246729b290c51cab18e96/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/iwyu.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1BLn32 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf include-what-you-use + /usr/bin/gzip -dc /builddir/build/SOURCES/include-what-you-use-3.4.src.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd include-what-you-use + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (iwyu-link_dir.patch): + echo 'Patch #1 (iwyu-link_dir.patch):' + /usr/bin/cat /builddir/build/SOURCES/iwyu-link_dir.patch + /usr/bin/patch -p1 --fuzz=0 patching file CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aLU705 + umask 022 + cd /builddir/build/BUILD + cd include-what-you-use + mkdir build + cd build + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DBUILD_SHARED_LIBS:BOOL=ON -DLLVM_LIB_PATH=/usr/lib/llvm .. -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- IWYU out-of-tree configuration -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/include-what-you-use/build + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/include-what-you-use -B/builddir/build/BUILD/include-what-you-use/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/include-what-you-use/build/CMakeFiles /builddir/build/BUILD/include-what-you-use/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' make -f CMakeFiles/include-what-you-use.dir/build.make CMakeFiles/include-what-you-use.dir/depend make[2]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' cd /builddir/build/BUILD/include-what-you-use/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/include-what-you-use /builddir/build/BUILD/include-what-you-use /builddir/build/BUILD/include-what-you-use/build /builddir/build/BUILD/include-what-you-use/build /builddir/build/BUILD/include-what-you-use/build/CMakeFiles/include-what-you-use.dir/DependInfo.cmake --color= Scanning dependencies of target include-what-you-use make[2]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' make -f CMakeFiles/include-what-you-use.dir/build.make CMakeFiles/include-what-you-use.dir/build make[2]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 1 /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 2 /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 3 /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 4 [ 7%] [ 23%] [ 23%] [ 30%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu.cc Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_driver.cc Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_ast_util.cc Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_cache.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 5 [ 38%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_getopt.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 6 [ 46%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_globals.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 7 [ 53%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_include_picker.cc /builddir/build/BUILD/include-what-you-use/iwyu.cc: In instantiation of 'bool include_what_you_use::IwyuBaseAstVisitor::VisitCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]': /usr/include/clang/AST/StmtNodes.inc:331:1: required from 'bool clang::RecursiveASTVisitor::WalkUpFromCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]' /usr/include/clang/AST/StmtNodes.inc:393:1: required from 'bool clang::RecursiveASTVisitor::WalkUpFromImplicitCastExpr(clang::ImplicitCastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]' /usr/include/clang/AST/RecursiveASTVisitor.h:2013:1: required from 'bool clang::RecursiveASTVisitor::TraverseImplicitCastExpr(clang::ImplicitCastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]' /usr/include/clang/AST/StmtNodes.inc:393:1: required from 'bool clang::RecursiveASTVisitor::TraverseStmt(clang::Stmt*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]' /builddir/build/BUILD/include-what-you-use/iwyu.cc:326:35: required from 'bool include_what_you_use::BaseAstVisitor::TraverseStmt(clang::Stmt*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]' /usr/include/clang/AST/RecursiveASTVisitor.h:2111:1: required from 'bool clang::RecursiveASTVisitor::TraverseUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]' /builddir/build/BUILD/include-what-you-use/iwyu.cc:2764:16: required from here /builddir/build/BUILD/include-what-you-use/iwyu.cc:1903:5: warning: enumeration value 'CK_AddressSpaceConversion' not handled in switch [-Wswitch] switch (expr->getCastKind()) { ^ /builddir/build/BUILD/include-what-you-use/iwyu.cc: In instantiation of 'bool include_what_you_use::IwyuBaseAstVisitor::VisitCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]': /usr/include/clang/AST/StmtNodes.inc:331:1: required from 'bool clang::RecursiveASTVisitor::WalkUpFromCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]' /usr/include/clang/AST/StmtNodes.inc:393:1: required from 'bool clang::RecursiveASTVisitor::WalkUpFromImplicitCastExpr(clang::ImplicitCastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]' /usr/include/clang/AST/RecursiveASTVisitor.h:2013:1: required from 'bool clang::RecursiveASTVisitor::TraverseImplicitCastExpr(clang::ImplicitCastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]' /usr/include/clang/AST/StmtNodes.inc:393:1: required from 'bool clang::RecursiveASTVisitor::TraverseStmt(clang::Stmt*) [with Derived = include_what_you_use::IwyuAstConsumer]' /builddir/build/BUILD/include-what-you-use/iwyu.cc:326:35: required from 'bool include_what_you_use::BaseAstVisitor::TraverseStmt(clang::Stmt*) [with Derived = include_what_you_use::IwyuAstConsumer]' /usr/include/clang/AST/RecursiveASTVisitor.h:1290:1: required from 'bool clang::RecursiveASTVisitor::TraverseBlockDecl(clang::BlockDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]' /usr/include/clang/AST/DeclNodes.inc:29:1: required from 'bool clang::RecursiveASTVisitor::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::IwyuAstConsumer]' /builddir/build/BUILD/include-what-you-use/iwyu.cc:318:35: required from 'bool include_what_you_use::BaseAstVisitor::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::IwyuAstConsumer]' /builddir/build/BUILD/include-what-you-use/iwyu.cc:3321:5: required from here /builddir/build/BUILD/include-what-you-use/iwyu.cc:1903:5: warning: enumeration value 'CK_AddressSpaceConversion' not handled in switch [-Wswitch] /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 8 [ 61%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_lexer_utils.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 9 [ 69%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_location_util.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 10 [ 76%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_output.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 11 [ 84%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_path_util.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 12 [ 92%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_preprocessor.cc /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 13 [100%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -c /builddir/build/BUILD/include-what-you-use/iwyu_verrs.cc Linking CXX executable include-what-you-use /usr/bin/cmake -E cmake_link_script CMakeFiles/include-what-you-use.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-rtti -Wl,-z,relro CMakeFiles/include-what-you-use.dir/iwyu.cc.o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -o include-what-you-use -L/usr/lib/llvm -rdynamic -lclangFrontend -lclangSerialization -lclangDriver -lclangParse -lclangSema -lclangAnalysis -lclangAST -lclangBasic -lclangEdit -lclangLex -lLLVMX86AsmParser -lLLVMX86Desc -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMX86Utils -lLLVMipo -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMMCParser -lLLVMObject -lLLVMCore -lLLVMSupport -lLLVMBitReader -lLLVMOption -lpthread -ldl -lcurses -Wl,-rpath,/usr/lib/llvm: make[2]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 [100%] Built target include-what-you-use make[1]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V9FWV3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm ++ dirname /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm + cd include-what-you-use + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm DESTDIR=/builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm -C build make: Entering directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/cmake -H/builddir/build/BUILD/include-what-you-use -B/builddir/build/BUILD/include-what-you-use/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/include-what-you-use/build/CMakeFiles /builddir/build/BUILD/include-what-you-use/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/make -f CMakeFiles/include-what-you-use.dir/build.make CMakeFiles/include-what-you-use.dir/depend make[2]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' cd /builddir/build/BUILD/include-what-you-use/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/include-what-you-use /builddir/build/BUILD/include-what-you-use /builddir/build/BUILD/include-what-you-use/build /builddir/build/BUILD/include-what-you-use/build /builddir/build/BUILD/include-what-you-use/build/CMakeFiles/include-what-you-use.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/make -f CMakeFiles/include-what-you-use.dir/build.make CMakeFiles/include-what-you-use.dir/build make[2]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' make[2]: Nothing to be done for `CMakeFiles/include-what-you-use.dir/build'. make[2]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 [100%] Built target include-what-you-use make[1]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/include-what-you-use/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory `/builddir/build/BUILD/include-what-you-use/build' make[1]: Nothing to be done for `preinstall'. make[1]: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm/usr/bin/include-what-you-use -- Removed runtime path from "/builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm/usr/bin/include-what-you-use" make: Leaving directory `/builddir/build/BUILD/include-what-you-use/build' + grep -m 1 '^#!/usr/bin/python\b' fix_includes.py #!/usr/bin/python + sed -i '1 s|^#!/usr/bin/python\b|#!/usr/bin/python2|' fix_includes.py + install -pDm755 fix_includes.py /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm/usr/bin/fix_includes + cd /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm/usr/bin + ln -s include-what-you-use iwyu + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/include-what-you-use extracting debug info from /builddir/build/BUILDROOT/iwyu-0.2-1.el7.arm/usr/bin/include-what-you-use dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/bin/include-what-you-use.debug to /usr/lib/debug/usr/bin/iwyu.debug 1101 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tYjbxf + umask 022 + cd /builddir/build/BUILD + cd include-what-you-use + mkdir -p lib/clang/3.4.2/ + ln -s /usr/lib/clang/3.4.2/include lib/clang/3.4.2 + cd build + PATH=/builddir/build/BUILD/include-what-you-use/build:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + ln -s ../fix_includes.py + ln -s ../fix_includes_test.py + ln -s ../iwyu_test_util.py + ln -s ../run_iwyu_tests.py + ln -s ../tests + /usr/bin/python2 run_iwyu_tests.py INFO:root:Registering remove_fwd_decl_when_including to test tests/remove_fwd_decl_when_including.cc INFO:root:Registering conversion_ctor to test tests/conversion_ctor.cc INFO:root:Registering array to test tests/array.cc INFO:root:Registering built_ins_new_included to test tests/built_ins_new_included.cc INFO:root:Registering re_fwd_decl to test tests/re_fwd_decl.cc INFO:root:Registering derived_function_tpl_args to test tests/derived_function_tpl_args.cc INFO:root:Registering fwd_decl_then_dfn to test tests/fwd_decl_then_dfn.cc INFO:root:Registering fwd_declare_enum to test tests/fwd_declare_enum.cc INFO:root:Registering ms_inline_asm to test tests/ms_inline_asm.cc INFO:root:Registering no_h_includes_cc to test tests/no_h_includes_cc.cc INFO:root:Registering templated_constructor to test tests/templated_constructor.cc INFO:root:Registering template_args to test tests/template_args.cc INFO:root:Registering comment_pragmas to test tests/comment_pragmas.cc INFO:root:Registering redecls to test tests/redecls.cc INFO:root:Registering avoids_double_specialization to test tests/avoids_double_specialization.cc INFO:root:Registering prefix_header_includes_add to test tests/prefix_header_includes_add.cc INFO:root:Registering fwd_decl_of_nested_class_defined_later to test tests/fwd_decl_of_nested_class_defined_later.cc INFO:root:Registering keep_mapping to test tests/keep_mapping.cc INFO:root:Registering prefix_header_includes_remove to test tests/prefix_header_includes_remove.cc INFO:root:Registering fwd_decl_nested_class to test tests/fwd_decl_nested_class.cc INFO:root:Registering header_near to test tests/header_near.cc INFO:root:Registering forward_declare_in_macro to test tests/forward_declare_in_macro.cc INFO:root:Registering cvr to test tests/cvr.cc INFO:root:Registering multiple_include_paths to test tests/multiple_include_paths.cc INFO:root:Registering iterator to test tests/iterator.cc INFO:root:Registering default_template_arg_other_file to test tests/default_template_arg_other_file.cc INFO:root:Registering virtual_tpl_method to test tests/virtual_tpl_method.cc INFO:root:Registering double_include to test tests/double_include.cc INFO:root:Registering uses_printf to test tests/uses_printf.cc INFO:root:Registering macro_location to test tests/macro_location.cc INFO:root:Registering system_namespaces to test tests/system_namespaces.cc INFO:root:Registering sizeof_reference to test tests/sizeof_reference.cc INFO:root:Registering iwyu_stricter_than_cpp to test tests/iwyu_stricter_than_cpp.cc INFO:root:Registering fwd_decl_class_template to test tests/fwd_decl_class_template.cc INFO:root:Registering overloaded_class to test tests/overloaded_class.cc INFO:root:Registering no_definition to test tests/no_definition.cc INFO:root:Registering depopulated_h_file to test tests/depopulated_h_file.cc INFO:root:Registering no_deque to test tests/no_deque.cc INFO:root:Registering no_fwd_decl_nested_class to test tests/no_fwd_decl_nested_class.cc INFO:root:Registering include_with_using to test tests/include_with_using.cc INFO:root:Registering associated_h_file_heuristic to test tests/associated_h_file_heuristic.cc INFO:root:Registering elaborated_type to test tests/elaborated_type.cc INFO:root:Registering backwards_includes to test tests/backwards_includes.cc INFO:root:Registering badinc to test tests/badinc.cc INFO:root:Registering include_cycle to test tests/include_cycle.cc INFO:root:Registering auto_type_within_template to test tests/auto_type_within_template.cc INFO:root:Registering fwd_decl_with_attribute to test tests/fwd_decl_with_attribute.cc INFO:root:Registering no_fwd_decl_std to test tests/no_fwd_decl_std.cc INFO:root:Registering computed_include to test tests/computed_include.cc INFO:root:Registering varargs_and_references to test tests/varargs_and_references.cc INFO:root:Registering template_specialization to test tests/template_specialization.cc INFO:root:Registering fwd_decl_with_instantiation to test tests/fwd_decl_with_instantiation.cc INFO:root:Registering typedefs_and_resugaring to test tests/typedefs_and_resugaring.cc INFO:root:Registering built_ins_no_includes to test tests/built_ins_no_includes.cc INFO:root:Registering check_also to test tests/check_also.cc INFO:root:Registering precomputed_tpl_args to test tests/precomputed_tpl_args.cc INFO:root:Registering integer_template_arg to test tests/integer_template_arg.cc INFO:root:Registering specialization_needs_decl to test tests/specialization_needs_decl.cc INFO:root:Registering self_include to test tests/self_include.cc INFO:root:Registering fullinfo_for_templates to test tests/fullinfo_for_templates.cc INFO:root:Registering non_transitive_include to test tests/non_transitive_include.cc INFO:root:Registering implicit_ctor to test tests/implicit_ctor.cc INFO:root:Registering badinc_extradef to test tests/badinc-extradef.cc INFO:root:Registering member_expr to test tests/member_expr.cc INFO:root:Registering associated_include to test tests/associated_include.cc INFO:root:Registering prefix_header_includes_keep to test tests/prefix_header_includes_keep.cc INFO:root:Registering no_char_traits to test tests/no_char_traits.cc INFO:root:Registering external_including_internal to test tests/external_including_internal.cc INFO:root:Registering anonymous_struct to test tests/anonymous_struct.cc INFO:root:Registering casts to test tests/casts.cc INFO:root:Registering internal_files to test tests/internal/internal_files.cc INFO:root:Testing iwyu on tests/anonymous_struct.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/anonymous_struct.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/anonymous_struct.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/array.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/array.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/array.cc:16:3: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/array.cc:18:18: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/array.cc:18:19: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/array.cc:21:18: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/array.cc:21:21: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/array.cc:23:14: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/array.cc:26:3: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/array.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/array.cc should remove these lines: - #include "tests/direct.h" // lines 12-12 The full include-list for tests/array.cc: #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/associated_h_file_heuristic.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/associated_h_file_heuristic.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft In file included from tests/associated_h_file_heuristic.cc:14: In file included from /usr/include/stdio.h:27: In file included from /usr/include/features.h:399: /usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-soft.h' file not found # include ^ (tests/internal/associated_h_file_heuristic.h has correct #includes/fwd-decls) tests/associated_h_file_heuristic.cc should add these lines: tests/associated_h_file_heuristic.cc should remove these lines: - #include // lines 15-15 The full include-list for tests/associated_h_file_heuristic.cc: #include "tests/internal/associated_h_file_heuristic.h" #include // for FILE --- .INFO:root:Testing iwyu on tests/associated_include.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/associated_include.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/associated_include.h should add these lines: tests/associated_include.h should remove these lines: - #include "tests/indirect.h" // lines 10-10 The full include-list for tests/associated_include.h: #include "tests/associated_include-i1.h" // for AssociatedIncludeClass --- tests/associated_include.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/associated_include.cc should remove these lines: The full include-list for tests/associated_include.cc: #include "tests/associated_include.h" #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/auto_type_within_template.cc INFO:root:tests/auto_type_within_template.cc: Using clang flags ['-std=c++11'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . -std=c++11 tests/auto_type_within_template.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/auto_type_within_template.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/avoids_double_specialization.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/avoids_double_specialization.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/avoids_double_specialization.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/backwards_includes.cc INFO:root:tests/backwards_includes.cc: Using iwyu flags ['--check_also="tests/*-d*.h"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-d*.h" -I . tests/backwards_includes.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/backwards_includes-d3.h:16:1: warning: A is defined in "tests/backwards_includes-d2.h", which isn't directly #included. tests/backwards_includes-d3.h should add these lines: #include "tests/backwards_includes-d2.h" // for A tests/backwards_includes-d3.h should remove these lines: The full include-list for tests/backwards_includes-d3.h: #include "tests/backwards_includes-d2.h" // for A --- (tests/backwards_includes-d1-inl.h has correct #includes/fwd-decls) (tests/backwards_includes-d2.h has correct #includes/fwd-decls) (tests/backwards_includes-d1.h has correct #includes/fwd-decls) (tests/backwards_includes.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/badinc.cc INFO:root:tests/badinc.cc: Using iwyu flags ['--mapping_file=tests/badinc.imp'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --mapping_file=tests/badinc.imp -I . tests/badinc.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft In file included from tests/badinc.cc:57: In file included from /usr/include/math.h:27: In file included from /usr/include/features.h:399: /usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-soft.h' file not found # include ^ (tests/badinc-inl.h has correct #includes/fwd-decls) tests/badinc.h:64:7: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:64:7: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:68:15: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:75:7: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:75:7: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:75:7: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:81:15: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:83:15: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.h:93:15: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:95:15: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.h:110:11: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:112:20: warning: I2_MACRO is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:117:3: warning: I2_Typedef is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:117:45: warning: I2_EnumForTypedefs is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:119:39: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:119:3: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:121:34: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:121:46: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:128:25: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:130:12: warning: I2_Enum::I21 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:132:12: warning: I2_Enum::I22 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:137:9: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:140:38: warning: TemplateForHClassTplFn needs a declaration, but does not provide or directly #include one. tests/badinc.h:144:22: warning: TemplateForHClassTplFn needs a declaration, but does not provide or directly #include one. tests/badinc.h:148:33: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:151:5: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:153:16: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:155:30: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:162:5: warning: printf is defined in , which isn't directly #included. tests/badinc.h:165:10: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:167:10: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:170:11: warning: I2_EnumForTypedefs is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:173:10: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.h:173:32: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:182:1: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:182:24: warning: I2_Enum::I21 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:192:3: warning: I2_Typedef is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:192:45: warning: I2_EnumForTypedefs is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:194:39: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:194:3: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:196:34: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:196:46: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:199:9: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:203:14: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:203:5: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:207:33: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:209:35: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:212:5: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:214:19: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:216:33: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:220:10: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:224:11: warning: I2_EnumForTypedefs is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:227:10: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.h:227:32: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:234:24: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:234:78: warning: I2_Enum::I21 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:238:41: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:248:35: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:248:44: warning: I2_Enum::I21 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:250:5: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:252:3: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:285:9: warning: I2_EnumForTypedefs is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:301:26: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:301:35: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:301:35: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:301:35: warning: I2_TemplateClass::InlFileTemplateClassFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:301:35: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:301:9: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:304:9: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.h:307:35: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:315:1: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:315:22: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:317:10: warning: I2_Enum::I21 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:322:1: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:322:23: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:332:11: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:332:20: warning: I2_Class::I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:332:20: warning: I2_Class::InlFileFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:332:20: warning: I2_Class::InlFileStaticFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:332:20: warning: I2_Class::InlFileTemplateFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:332:20: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:334:3: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.h:336:14: warning: NULL is defined in , which isn't directly #included. tests/badinc.h:359:9: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:366:10: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h:366:1: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:370:17: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:370:26: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:370:46: warning: I2_Enum::I22 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.h:374:27: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.h should add these lines: #include // for printf, NULL #include "tests/badinc-i2-inl.h" // for I2_Class::~I2_Class, I2_TemplateClass::~I2_TemplateClass, I2_Class::I2_Class, I2_Class::InlFileFn, I2_Class::InlFileStaticFn, I2_Class::InlFileTemplateFn, I2_TemplateClass::I2_TemplateClass, I2_TemplateClass::InlFileTemplateClassFn #include "tests/badinc-i2.h" // for I2_Enum, I2_Struct, I2_Class, I2_Enum::I21, I2_EnumForTypedefs, I2_Enum::I22, I2_TemplateClass, I2_Typedef, TemplateForHClassTplFn (ptr only), I2_MACRO, I2_TypedefOnly_Class (ptr only) tests/badinc.h should remove these lines: - #include // lines 14-14 - #include // lines 16-16 - #include "tests/badinc-d2.h" // lines 19-19 - class H_ForwardDeclareClass; // lines 22-22 - template class I2_TypedefOnly_Class; // lines 28-28 The full include-list for tests/badinc.h: #include // for errno #include // for printf, NULL #include "tests/badinc-d3.h" // for D3_Enum, D3_Enum::D31 #include "tests/badinc-i2-inl.h" // for I2_Class::~I2_Class, I2_TemplateClass::~I2_TemplateClass, I2_Class::I2_Class, I2_Class::InlFileFn, I2_Class::InlFileStaticFn, I2_Class::InlFileTemplateFn, I2_TemplateClass::I2_TemplateClass, I2_TemplateClass::InlFileTemplateClassFn #include "tests/badinc-i2.h" // for I2_Enum, I2_Struct, I2_Class, I2_Enum::I21, I2_EnumForTypedefs, I2_Enum::I22, I2_TemplateClass, I2_Typedef, TemplateForHClassTplFn (ptr only), I2_MACRO, I2_TypedefOnly_Class (ptr only) class Cc_Class; // lines 25-25 class Cc_Struct; // lines 24-24 class H_Class::H_Class_DefinedInI1; // lines 107-107 class H_Class::H_Class_Subdecl; // lines 105-105 class H_Class::H_Class_UnusedSubdecl; // lines 106-106 template class H_ScopedPtr; // lines 34-34 --- tests/badinc.cc:80:35: warning: MACRO_CALLING_I6_FUNCTION is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:83:8: warning: I1_MACRO_SYMBOL_WITHOUT_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:88:9: warning: I1_MACRO_SYMBOL_WITHOUT_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:93:5: warning: I1_MACRO_SYMBOL_WITH_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:98:5: warning: I1_MACRO_SYMBOL_WITH_VALUE0 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:101:7: warning: I1_MACRO_SYMBOL_WITH_VALUE2 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:106:13: warning: I1_MACRO_SYMBOL_WITHOUT_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:112:15: warning: I1_MACRO_SYMBOL_WITHOUT_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:118:35: warning: I1_MACRO_SYMBOL_WITH_VALUE2 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:118:5: warning: I1_MACRO_SYMBOL_WITH_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:126:40: warning: I1_MACRO_SYMBOL_WITH_VALUE2 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:126:8: warning: I1_MACRO_SYMBOL_WITH_VALUE is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:142:15: warning: i1_ns3::i1_int_global3 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:144:11: warning: i1_ns4 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:146:14: warning: i1_ns::I1_NamespaceStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:148:14: warning: i1_ns::I1_NamespaceTemplateFn is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:151:14: warning: i1_ns::I1_UnusedNamespaceStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:187:9: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:190:35: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:190:9: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:203:26: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:203:43: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:203:52: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:203:64: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:203:64: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included (for autocast). tests/badinc.cc:203:64: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:203:64: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:203:64: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:203:9: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:213:18: warning: I2_Class::I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:213:18: warning: I2_Class::InlFileFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:213:18: warning: I2_Class::InlFileStaticFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:213:18: warning: I2_Class::InlFileTemplateFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:213:18: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:213:9: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:216:26: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:216:37: warning: OperateOn is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:219:22: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:223:11: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:226:3: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:239:28: warning: I2_ThisClassIsOnlySubclassed is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:239:7: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:239:7: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:242:25: warning: I1_MemberPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:244:5: warning: I1_MemberPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:249:3: warning: I1_MemberPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:251:15: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:255:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:255:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:259:44: warning: I2_ThisClassIsOnlySubclassed is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:261:45: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:266:35: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:266:44: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:266:56: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:266:60: warning: I2_MACRO is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:268:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:279:8: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:281:29: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:296:19: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:296:31: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:300:10: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:300:46: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:300:61: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:303:37: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:303:47: warning: I1_Enum::I12 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:303:54: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:308:20: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:308:30: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:308:42: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:314:7: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:316:11: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:319:11: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included (for autocast). tests/badinc.cc:319:11: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:325:5: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:328:5: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:330:5: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:332:5: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:335:10: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:335:19: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:342:19: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:345:36: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:345:46: warning: I1_Enum::I12 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:349:36: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:349:46: warning: I1_Enum::I13 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:349:62: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:349:73: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:351:19: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:375:3: warning: I1_OverloadedFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:389:3: warning: i1_ns::I1_NamespaceTemplateFn is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:398:3: warning: operator new is defined in , which isn't directly #included. tests/badinc.cc:400:3: warning: operator new is defined in , which isn't directly #included. tests/badinc.cc:402:3: warning: operator new is defined in , which isn't directly #included. tests/badinc.cc:410:3: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:419:10: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included (for fn return type). tests/badinc.cc:419:1: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:419:27: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:422:52: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:427:23: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:429:40: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:436:8: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:436:8: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:436:8: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:441:20: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:441:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:441:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:441:40: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:447:8: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:447:8: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:452:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:452:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:452:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:457:20: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:457:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:457:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:457:40: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:463:8: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:463:8: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:466:15: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:470:1: warning: EmptyDestructorClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:473:1: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:473:24: warning: I2_Enum::I22 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:475:16: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:477:44: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:479:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:484:37: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:486:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:491:44: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:493:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:502:27: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:502:27: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:502:27: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:507:46: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:509:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:515:56: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:517:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:523:63: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:525:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:531:5: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:534:28: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:538:36: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:538:36: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:538:3: warning: I2_TemplateClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:543:25: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:543:25: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:543:3: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:548:3: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:548:3: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:552:3: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:552:3: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:556:10: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:556:10: warning: I2_TemplateClass::InlFileTemplateClassFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:566:27: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:566:37: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:573:32: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:573:52: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:573:62: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:579:25: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:579:35: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:579:54: warning: I1_Enum::I12 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:579:60: warning: I1_Enum::I13 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:582:20: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:582:37: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:584:28: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:586:28: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:588:28: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:599:1: warning: I2_TypedefOnly_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:608:17: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:608:26: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:608:43: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:610:18: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:612:24: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:614:18: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:616:18: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:620:18: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:624:27: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:627:17: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:633:35: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:633:35: warning: I2_TemplateFn is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:633:49: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:637:42: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:637:42: warning: I2_TemplateFn is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:637:56: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:640:10: warning: H_Class::H_Class_DefinedInI1 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:648:13: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:648:23: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:652:19: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:652:29: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:660:18: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:660:27: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:660:45: warning: I2_Enum::I2_LAST is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:662:18: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:664:18: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:669:1: warning: D2_ForwardDeclareClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:675:15: warning: d3_namespace::D3_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:679:1: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:681:1: warning: I1_Typedef is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:683:1: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:685:1: warning: i1_ns::I1_NamespaceStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:687:1: warning: I1_Union is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:689:1: warning: I1_UnnamedStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:692:8: warning: i1_ns::I1_NamespaceClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:696:14: warning: i1_ns::I1_NamespaceClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:698:8: warning: i1_ns::I1_NamespaceClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:702:51: warning: i1_ns::I1_NamespaceClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:709:1: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:711:1: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:713:1: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:716:1: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:716:30: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:718:1: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:720:1: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:722:1: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:725:8: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:728:11: warning: I1_Class::NestedStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:728:1: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:731:18: warning: I1_Class::NestedStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:731:8: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:734:1: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:741:18: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:741:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:741:27: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:741:44: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:743:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:746:18: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:746:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:751:18: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:751:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:755:18: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:755:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:755:28: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:777:1: warning: I1_TemplateSubclass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:777:21: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:777:31: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:777:41: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:777:41: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:777:41: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:797:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:799:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:801:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:807:18: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:807:1: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:807:29: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:807:29: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:815:15: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:815:1: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:815:32: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:815:43: warning: I1_TemplateClass::I1_TemplateClass_int is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:819:1: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:819:28: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:823:1: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:823:28: warning: I2_TemplateClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:823:51: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:825:1: warning: I1_TemplateClassFwdDeclaredInD2 needs a declaration, but does not provide or directly #include one. tests/badinc.cc:829:1: warning: I1_TypedefOnly_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:829:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:829:32: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:834:1: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:834:1: warning: I1_TypedefOnly_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:834:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:834:33: warning: I1_TypedefOnly_Class::i is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:836:31: warning: I1_I2_Class_Typedef is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:839:1: warning: I1_Subclass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:842:1: warning: I1_ManyPtrStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:844:1: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:847:1: warning: I1_FunctionPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:847:33: warning: I1_Function is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:849:1: warning: I1_FunctionPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:851:1: warning: I1_ForwardDeclareClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:853:25: warning: I1_Function is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:860:28: warning: i1_GlobalFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:862:37: warning: i1_GlobalFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:864:39: warning: i1_GlobalFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:867:1: warning: I2_InlFileClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:869:1: warning: I2_InlFileTemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:873:10: warning: I2_Class::I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:873:10: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:873:1: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:877:1: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:877:23: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:877:23: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:880:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:885:1: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:889:1: warning: I3_ForwardDeclareTemplateStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:893:25: warning: i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceTemplateStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:897:9: warning: i3_ns1::::I3_UnnamedNamespaceStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:905:48: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:910:1: warning: I1_Typedef is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:914:1: warning: I1_Union is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:921:1: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:921:49: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:926:1: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:926:49: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:933:20: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:941:32: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:945:27: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:949:27: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:951:27: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:953:27: warning: I3_ForwardDeclareStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:969:18: warning: I1_PtrAndUseOnSameLine needs a declaration, but does not provide or directly #include one. tests/badinc.cc:969:73: warning: I1_PtrAndUseOnSameLine is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:973:28: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:977:33: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:979:16: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:982:16: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:982:33: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:987:61: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:992:31: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:992:31: warning: I2_TemplateClass::InlFileTemplateClassFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:992:31: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:992:9: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:998:31: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:998:31: warning: I2_TemplateClass::InlFileTemplateClassFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:998:31: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:998:9: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1001:26: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1001:39: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1001:9: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1004:26: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1004:39: warning: I1_ClassPtr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1004:9: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1006:9: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1008:9: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1013:17: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1016:16: warning: I2_TemplateClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1018:35: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1038:25: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1047:20: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1047:30: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1062:30: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1067:11: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1071:22: warning: size_t is defined in , which isn't directly #included. tests/badinc.cc:1097:20: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1097:29: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1097:53: warning: I2_Enum::I21 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1100:27: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1100:3: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1102:3: warning: I1_UnnamedStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1105:3: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1108:25: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1108:3: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1110:9: warning: I1_PtrDereferenceStruct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1112:3: warning: I1_PtrDereferenceClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1115:3: warning: va_list is defined in , which isn't directly #included. tests/badinc.cc:1118:16: warning: i1_int is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1125:41: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1128:7: warning: i1_ns::i1_int_global is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1130:7: warning: i1_ns::i1_subns::i1_int_globalsub is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1132:7: warning: i1_ns2::i1_int_global2 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1134:7: warning: i1_ns2::i1_subns::i1_int_global2sub is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1136:7: warning: i1_ns3::i1_int_global3 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1138:7: warning: i1_ns3::i1_subns::i1_int_global3sub is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1140:7: warning: i1_ns4::i1_int_global4 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1142:7: warning: i1_ns4::i1_subns::i1_int_global4sub is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1147:11: warning: stdout is defined in , which isn't directly #included. tests/badinc.cc:1147:3: warning: fprintf is defined in , which isn't directly #included. tests/badinc.cc:1149:3: warning: printf is defined in , which isn't directly #included. tests/badinc.cc:1159:3: warning: I2_Enum is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1162:34: warning: I1_UnnamedStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1166:42: warning: I1_PtrDereferenceStruct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1172:34: warning: I1_PtrDereferenceClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1182:3: warning: I1_And_I2_OverloadedFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1184:3: warning: I1_And_I2_OverloadedFunction is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1195:26: warning: I2_OperatorDefinedInI1Class::operator<< is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1195:3: warning: I1_MACRO_LOGGING_CLASS is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1200:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1200:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1202:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1207:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1207:35: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1207:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1207:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1210:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1210:35: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1213:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1213:35: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1216:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1216:35: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1219:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1219:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1231:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1231:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1231:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1236:33: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1236:35: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1236:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1236:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1241:30: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1241:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1241:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1241:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1247:30: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1247:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1247:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1247:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1247:43: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1252:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1252:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1252:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1252:43: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1256:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1256:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1256:44: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1260:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1260:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1264:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1264:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1264:45: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1270:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1272:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1275:22: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1275:32: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1278:22: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1278:32: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1281:22: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1281:32: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1284:10: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1284:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1287:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1289:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1295:17: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1297:3: warning: I1_SubclassesI2Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1299:25: warning: I1_SubclassesI2Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1305:43: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1305:9: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1308:43: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1308:9: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1316:18: warning: I1_Base is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1316:18: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1316:31: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1318:3: warning: I1_SiblingClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1322:26: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1322:26: warning: I1_SiblingClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1322:39: warning: I1_SiblingClass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1326:9: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1328:29: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1332:35: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1339:18: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1339:19: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1343:3: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1345:3: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1347:3: warning: I2_Union is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1349:3: warning: I2_Union needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1352:12: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1352:35: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1352:35: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1352:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1355:12: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1355:34: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1355:34: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1355:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1360:20: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1360:21: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1360:3: warning: I2_UnionFunction is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1366:10: warning: I1_PtrDereferenceStatic is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1368:3: warning: I1_StaticMethod is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1377:3: warning: OperateOn is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1383:3: warning: OperateOn is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1388:19: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1390:17: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1392:14: warning: I1_Enum::I12 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1396:19: warning: I1_Union is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1396:22: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1398:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1401:10: warning: I2_Function is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1401:42: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1404:23: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1404:3: warning: I2_Class::InlFileFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1407:23: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1407:3: warning: I2_Class::InlFileStaticFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1410:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1410:3: warning: I2_Class::InlFileStaticFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1413:23: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1413:3: warning: I2_Class::InlFileTemplateFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1415:23: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1417:23: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1420:27: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1420:3: warning: I2_TemplateClass::InlFileTemplateClassFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1422:27: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1432:27: warning: I2_TemplateClass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1432:3: warning: I2_TemplateClass::I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1432:3: warning: I2_TemplateClass::InlFileTemplateClassFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1432:3: warning: I2_TemplateClass::~I2_TemplateClass is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1434:3: warning: InlFileFreeFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1436:3: warning: InlFileFreeTemplateFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1438:3: warning: InlFileFreeTemplateFn is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1440:10: warning: inlfile_var is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1449:3: warning: MACRO_CALLING_I6_FUNCTION is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1451:10: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1453:10: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1455:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1461:17: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1463:17: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1465:10: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1468:10: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1471:10: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1476:10: warning: offsetof is defined in , which isn't directly #included. tests/badinc.cc:1476:19: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1483:20: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1489:16: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1489:26: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1489:3: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1492:11: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1495:23: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1495:3: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1498:22: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1498:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1501:22: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1501:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1508:10: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1508:29: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1508:29: warning: operator== is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1514:19: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1514:19: warning: operator== is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1514:22: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1519:16: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1519:26: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1519:3: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1521:3: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1527:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1527:9: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1527:9: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1530:16: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1530:27: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1530:3: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1533:11: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1536:25: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1536:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1540:10: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1540:11: warning: I1_const_ptr is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1597:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1597:40: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1597:49: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1604:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1606:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1610:24: warning: I1_Base needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1610:34: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1610:3: warning: I1_Base is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1617:20: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1617:30: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1617:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1623:13: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1623:13: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1623:13: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1623:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1623:40: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1623:9: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1627:20: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1627:30: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1627:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1634:13: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1634:13: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1634:13: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1634:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1634:40: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1634:51: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1634:9: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1638:20: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1638:30: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1638:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1643:13: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1643:13: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1643:30: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1643:40: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1643:9: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1648:33: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1648:40: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1648:57: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1648:67: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1654:20: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1654:30: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1654:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1665:37: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1665:37: warning: i1_ns::I1_NamespaceClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1665:3: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1671:3: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1671:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1671:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1676:3: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1676:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1676:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1681:3: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1681:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1681:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1686:38: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1686:3: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1686:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1688:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1692:28: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1692:28: warning: I2_Class::I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1695:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1695:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1702:20: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1702:29: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1702:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1706:36: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1706:3: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1706:3: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1710:20: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1710:31: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1714:28: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1714:38: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1714:7: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1716:3: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1722:12: warning: i1_ns::I1_NamespaceClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1722:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1726:9: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1726:9: warning: i1_ns::I1_NamespaceClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1733:20: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1733:30: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1733:3: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1733:41: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1733:41: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1733:41: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1740:26: warning: I2_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1740:36: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1740:9: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1740:9: warning: I1_TemplateClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1740:9: warning: I2_Class is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1740:9: warning: I2_Class::~I2_Class is defined in "tests/badinc-i2-inl.h", which isn't directly #included. tests/badinc.cc:1746:3: warning: I2_ThisClassIsOnlyNewed needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1748:3: warning: I2_ThisClassIsOnlyDeleted needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1750:3: warning: I2_ThisClassIsOnlyDeletedPtr needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1752:18: warning: I2_ThisClassIsOnlyNewed is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1754:3: warning: I2_ThisClassIsOnlyDeleted is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1816:10: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1819:7: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1823:3: warning: MACRO_CALLING_I2_FUNCTION is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1832:7: warning: I1_Function is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1835:12: warning: I2_Function is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1835:12: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1835:25: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1840:3: warning: I2_Subclass needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1842:16: warning: I2_Subclass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1844:16: warning: I2_Subclass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1846:16: warning: I2_Subclass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1846:3: warning: I2_Subclass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1848:16: warning: I2_Subclass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1848:3: warning: I2_Subclass is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1854:22: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1854:3: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1856:27: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1858:22: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1862:39: warning: I2_Enum::I22 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1862:3: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1864:46: warning: I2_Enum::I22 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1866:53: warning: I2_Enum::I22 is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1870:3: warning: I1_TemplateFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1873:23: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1873:3: warning: I1_TemplateFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1881:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1881:3: warning: I1_TemplateFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1883:3: warning: I1_TemplateFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1885:3: warning: I1_TemplateFunction is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1888:12: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1891:17: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1891:42: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1893:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1896:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1896:44: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1900:50: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1902:39: warning: I1_Enum::I12 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1909:27: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1909:3: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1909:41: warning: I1_Function is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1911:33: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1915:26: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1915:26: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1915:53: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1920:27: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1920:27: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1920:54: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1920:68: warning: I1_Class needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1922:3: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1922:42: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1926:3: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1926:3: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1926:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1930:10: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1930:10: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1930:37: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1934:3: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1934:3: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1934:3: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1939:10: warning: I1_TemplateMethodOnlyClass is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1939:10: warning: I2_Struct is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1939:37: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1939:51: warning: I2_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1946:26: warning: I1_Enum::I11 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1946:7: warning: I1_Enum is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1949:14: warning: I1_Struct is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1951:18: warning: I1_Enum::I12 is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1954:14: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1956:14: warning: I1_PtrDereferenceStatic is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1959:12: warning: I1_Struct needs a declaration, but does not provide or directly #include one. tests/badinc.cc:1961:5: warning: MACRO_CALLING_I6_FUNCTION is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1963:12: warning: I1_Class is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1965:12: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1968:12: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1973:8: warning: I2_MACRO is defined in "tests/badinc-i2.h", which isn't directly #included. tests/badinc.cc:1975:22: warning: kI1ConstInt is defined in "tests/badinc-i1.h", which isn't directly #included. tests/badinc.cc:1979:10: warning: rand is defined in , which isn't directly #included. tests/badinc.cc should add these lines: #include // for isascii #include // for va_list #include // for offsetof, size_t #include // for rand #include // for operator new #include "tests/badinc-i1.h" // for I1_Class, I1_TemplateClass, I1_Enum, I1_ClassPtr, I1_Struct, I1_TemplateMethodOnlyClass, I1_const_ptr, kI1ConstInt, I1_Enum::I11, I1_TemplateFunction, I1_Function, I1_Enum::I12, i1_GlobalFunction, OperateOn, I1_MACRO_SYMBOL_WITHOUT_VALUE, I1_NamespaceClass, operator==, I1_MACRO_SYMBOL_WITH_VALUE, I1_MACRO_SYMBOL_WITH_VALUE2, I1_MemberPtr, I1_Union, I1_UnnamedStruct, MACRO_CALLING_I6_FUNCTION, I1_Base, I1_Class::NestedStruct, I1_Enum::I13, I1_FunctionPtr, I1_NamespaceTemplateFn, I1_PtrDereferenceStatic, I1_Typedef, I1_TypedefOnly_Class, I2_OperatorDefinedInI1Class::operator<<, i1_int_global3, EmptyDestructorClass, H_Class::H_Class_DefinedInI1, I1_And_I2_OverloadedFunction, I1_I2_Class_Typedef, I1_MACRO_LOGGING_CLASS, I1_MACRO_SYMBOL_WITH_VALUE0, I1_ManyPtrStruct (ptr only), I1_NamespaceStruct, I1_OverloadedFunction, I1_PtrAndUseOnSameLine, I1_PtrDereferenceClass, I1_PtrDereferenceStruct, I1_SiblingClass, I1_StaticMethod, I1_Subclass, I1_SubclassesI2Class, I1_TemplateClass<>::I1_TemplateClass_int, I1_TemplateClassFwdDeclaredInD2 (ptr only), I1_TemplateSubclass, I1_TypedefOnly_Class<>::i, I1_UnusedNamespaceStruct (ptr only), i1_int, i1_int_global, i1_int_global2, i1_int_global2sub, i1_int_global3sub, i1_int_global4, i1_int_global4sub, i1_int_globalsub, i1_ns4 class D2_Class; class D2_ForwardDeclareClass; class D2_Subclass; class I1_ForwardDeclareClass; namespace d3_namespace { struct D3_Struct; } namespace i3_ns1 { namespace i3_ns2 { namespace i3_ns3 { template struct I3_ForwardDeclareNamespaceTemplateStruct; } } } namespace i3_ns1 { namespace { struct I3_UnnamedNamespaceStruct; } } struct I3_ForwardDeclareStruct; template struct I3_ForwardDeclareTemplateStruct; tests/badinc.cc should remove these lines: - #include // lines 57-57 - #include "tests/badinc-d2.h" // lines 62-62 - class Cc_ForwardDeclare_Function::I2_Class; // lines 1022-1022 - class I3_UnusedClass; // lines 161-161 - template class Cc_DeclareOnlyTemplateClass; // lines 308-308 The full include-list for tests/badinc.cc: #include "tests/badinc.h" #include "tests/badinc-inl.h" #include // for isascii #include #include // for va_list #include // for offsetof, size_t #include // for rand #include // for operator new #include "tests/badinc-d1.h" // for D1_I1_Typedef, D1_Enum, D1Function, D1_TemplateClass, D1CopyClassFn, D1_CopyClass, D1_Subclass, D1_Class, D1_Enum::D11, D1_StructPtr, D1_TemplateStructWithDefaultParam, MACRO_CALLING_I4_FUNCTION #include "tests/badinc-d4.h" // for operator<<, D4_ClassForOperator #include "tests/badinc-i1.h" // for I1_Class, I1_TemplateClass, I1_Enum, I1_ClassPtr, I1_Struct, I1_TemplateMethodOnlyClass, I1_const_ptr, kI1ConstInt, I1_Enum::I11, I1_TemplateFunction, I1_Function, I1_Enum::I12, i1_GlobalFunction, OperateOn, I1_MACRO_SYMBOL_WITHOUT_VALUE, I1_NamespaceClass, operator==, I1_MACRO_SYMBOL_WITH_VALUE, I1_MACRO_SYMBOL_WITH_VALUE2, I1_MemberPtr, I1_Union, I1_UnnamedStruct, MACRO_CALLING_I6_FUNCTION, I1_Base, I1_Class::NestedStruct, I1_Enum::I13, I1_FunctionPtr, I1_NamespaceTemplateFn, I1_PtrDereferenceStatic, I1_Typedef, I1_TypedefOnly_Class, I2_OperatorDefinedInI1Class::operator<<, i1_int_global3, EmptyDestructorClass, H_Class::H_Class_DefinedInI1, I1_And_I2_OverloadedFunction, I1_I2_Class_Typedef, I1_MACRO_LOGGING_CLASS, I1_MACRO_SYMBOL_WITH_VALUE0, I1_ManyPtrStruct (ptr only), I1_NamespaceStruct, I1_OverloadedFunction, I1_PtrAndUseOnSameLine, I1_PtrDereferenceClass, I1_PtrDereferenceStruct, I1_SiblingClass, I1_StaticMethod, I1_Subclass, I1_SubclassesI2Class, I1_TemplateClass<>::I1_TemplateClass_int, I1_TemplateClassFwdDeclaredInD2 (ptr only), I1_TemplateSubclass, I1_TypedefOnly_Class<>::i, I1_UnusedNamespaceStruct (ptr only), i1_int, i1_int_global, i1_int_global2, i1_int_global2sub, i1_int_global3sub, i1_int_global4, i1_int_global4sub, i1_int_globalsub, i1_ns4 #include "tests/badinc2.c" class D2_Class; class D2_ForwardDeclareClass; class D2_Subclass; class ForwardDeclareOnlyClass; // lines 166-166 class ForwardDeclareOnlyForTypedefClass; // lines 171-171 class I1_ForwardDeclareClass; class I3_ForwardDeclareClass; // lines 158-158 class MacroClass; // lines 169-169 namespace d3_namespace { struct D3_Struct; } namespace i3_ns1 { namespace i3_ns2 { namespace i3_ns3 { struct I3_ForwardDeclareNamespaceStruct; } } } // lines 163-163 namespace i3_ns1 { namespace i3_ns2 { namespace i3_ns3 { template struct I3_ForwardDeclareNamespaceTemplateStruct; } } } namespace i3_ns1 { namespace { struct I3_UnnamedNamespaceStruct; } } struct Cc_C_Struct; // lines 181-181 struct I3_ForwardDeclareStruct; template struct Cc_OnlySpecializedStruct; // lines 176-176 template struct I3_ForwardDeclareTemplateStruct; template struct I3_SimpleForwardDeclareTemplateStruct; // lines 159-160 --- FINFO:root:Testing iwyu on tests/badinc-extradef.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/badinc-extradef.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft In file included from tests/badinc-extradef.cc:12: ./tests/badinc-i2.h:13:10: fatal error: 'vector' file not found #include ^ (tests/badinc-extradef.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/built_ins_new_included.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/built_ins_new_included.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/built_ins_new_included.cc:13:10: fatal error: 'new' file not found #include ^ (tests/built_ins_new_included.cc has correct #includes/fwd-decls) FINFO:root:Testing iwyu on tests/built_ins_no_includes.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/built_ins_no_includes.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/built_ins_no_includes.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/casts.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/casts.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/casts.cc:17:47: warning: CastsClass needs a declaration, but does not provide or directly #include one. tests/casts.cc:23:3: warning: CastsClass needs a declaration, but does not provide or directly #include one. tests/casts.cc:26:23: warning: CastsSubclass needs a declaration, but does not provide or directly #include one. tests/casts.cc:26:3: warning: CastsSubclass is defined in "tests/casts-i1.h", which isn't directly #included. tests/casts.cc should add these lines: #include "tests/casts-i1.h" // for CastsClass (ptr only), CastsSubclass tests/casts.cc should remove these lines: - #include "tests/casts-d1.h" // lines 12-12 The full include-list for tests/casts.cc: #include "tests/casts-i1.h" // for CastsClass (ptr only), CastsSubclass --- .INFO:root:Testing iwyu on tests/check_also.cc INFO:root:tests/check_also.cc: Using iwyu flags ['--check_also="tests/*-d1.h"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-d1.h" -I . tests/check_also.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/check_also-d1.h:18:15: warning: NULL is defined in , which isn't directly #included. tests/check_also-d1.h should add these lines: #include // for NULL tests/check_also-d1.h should remove these lines: - #include "check_also-i1.h" // lines 15-15 The full include-list for tests/check_also-d1.h: #include // for NULL --- tests/check_also.cc:17:10: warning: kI1 is defined in "tests/check_also-i1.h", which isn't directly #included. tests/check_also.cc should add these lines: #include "tests/check_also-i1.h" // for kI1 tests/check_also.cc should remove these lines: - #include "check_also-d1.h" // lines 12-12 - #include "check_also-n1.h" // lines 13-13 The full include-list for tests/check_also.cc: #include "tests/check_also-i1.h" // for kI1 --- .INFO:root:Testing iwyu on tests/comment_pragmas.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/comment_pragmas.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/comment_pragmas-d7.h:15:17: warning: @headername directive missing a closing brace tests/comment_pragmas-d7.h:22:1: warning: end_exports without a begin_exports tests/comment_pragmas-d7.h:26:30: warning: Expected end_exports pragma tests/comment_pragmas-d7.h:30:1: warning: Unknown or malformed pragma (foo) tests/comment_pragmas-d7.h:33:1: warning: begin_exports without an end_exports Warning: No public header found to replace the private header "tests/comment_pragmas-d14.h" tests/comment_pragmas.cc:107:1: warning: CommentPragmasI2 is defined in "tests/comment_pragmas-i1.h", which isn't directly #included. tests/comment_pragmas.cc:109:1: warning: CommentPragmasI3 is defined in "tests/comment_pragmas-i1.h", which isn't directly #included. tests/comment_pragmas.cc:111:1: warning: CommentPragmasI4 is defined in "tests/comment_pragmas-i1.h", which isn't directly #included. tests/comment_pragmas.cc:116:1: warning: CommentPragmasD2 is defined in "tests/no_such_file.h", which isn't directly #included. tests/comment_pragmas.cc:121:1: warning: CommentPragmasD3 is defined in "tests/comment_pragmas-i6.h", which isn't directly #included. tests/comment_pragmas.cc:126:1: warning: CommentPragmasD4 is defined in "tests/comment_pragmas-i7.h", which isn't directly #included. tests/comment_pragmas.cc:130:1: warning: CommentPragmasI8 is defined in "tests/comment_pragmas-i8.h", which isn't directly #included. tests/comment_pragmas.cc:134:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/comment_pragmas.cc:137:1: warning: CommentPragmasD8 is defined in , which isn't directly #included. tests/comment_pragmas.cc:140:1: warning: CommentPragmasD9 is defined in , which isn't directly #included. tests/comment_pragmas.cc:145:1: warning: CommentPragmasI9 is defined in "tests/comment_pragmas-i9.h", which isn't directly #included. tests/comment_pragmas.cc:172:1: warning: CommentPragmasD17 is defined in "tests/no_such_file_d17.h", which isn't directly #included. tests/comment_pragmas.cc should add these lines: #include // for CommentPragmasD8, CommentPragmasD9 #include "tests/comment_pragmas-i1.h" // for CommentPragmasI2, CommentPragmasI3, CommentPragmasI4 #include "tests/comment_pragmas-i6.h" // for CommentPragmasD3 #include "tests/comment_pragmas-i7.h" // for CommentPragmasD4 #include "tests/comment_pragmas-i8.h" // for CommentPragmasI8 #include "tests/indirect.h" // for IndirectClass #include "tests/no_such_file.h" // for CommentPragmasD2 tests/comment_pragmas.cc should remove these lines: - #include "tests/comment_pragmas-d1.h" // lines 73-73 - #include "tests/comment_pragmas-d10.h" // lines 74-74 - #include "tests/comment_pragmas-d2.h" // lines 84-84 - #include "tests/comment_pragmas-d3.h" // lines 86-86 - #include "tests/comment_pragmas-d4.h" // lines 87-87 - #include "tests/comment_pragmas-d7.h" // lines 90-90 - #include "tests/comment_pragmas-d8.h" // lines 91-91 - #include "tests/comment_pragmas-d9.h" // lines 92-92 - class CommentPragmasD19; // lines 102-102 - class CommentPragmasTest21a; // lines 103-103 The full include-list for tests/comment_pragmas.cc: #include // for CommentPragmasD8, CommentPragmasD9 #include "tests/comment_pragmas-d11.h" // for CommentPragmasD11 #include "tests/comment_pragmas-d12.h" // for CommentPragmasD12 #include "tests/comment_pragmas-d13.h" // for CommentPragmasI10 #include "tests/comment_pragmas-d14.h" // for CommentPragmasD14 #include "tests/comment_pragmas-d15.h" #include "tests/comment_pragmas-d16.h" // for CommentPragmasI11 #include "tests/comment_pragmas-d17.h" #include "tests/comment_pragmas-d18.h" // for CommentPragmasD18 #include "tests/comment_pragmas-d19.h" // for CommentPragmasD19 #include "tests/comment_pragmas-d20.h" // for CommentPragmasD20a, CommentPragmasD20b, CommentPragmasD20c #include "tests/comment_pragmas-d5.h" #include "tests/comment_pragmas-d6.h" #include "tests/comment_pragmas-i1.h" // for CommentPragmasI2, CommentPragmasI3, CommentPragmasI4 #include "tests/comment_pragmas-i6.h" // for CommentPragmasD3 #include "tests/comment_pragmas-i7.h" // for CommentPragmasD4 #include "tests/comment_pragmas-i8.h" // for CommentPragmasI8 #include "tests/indirect.h" // for IndirectClass #include "tests/no_such_file.h" // for CommentPragmasD2 --- .INFO:root:Testing iwyu on tests/computed_include.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/computed_include.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft In file included from tests/computed_include.cc:22: In file included from /usr/include/stdio.h:27: In file included from /usr/include/features.h:399: /usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-soft.h' file not found # include ^ (tests/computed_include.h has correct #includes/fwd-decls) tests/computed_include.cc should add these lines: tests/computed_include.cc should remove these lines: - #include "tests/computed_include.h" // lines 12-12 - #include // lines 22-22 - #include // lines 24-24 - #include "tests/indirect.h" // lines 15-15 The full include-list for tests/computed_include.cc: #include "tests/computed_include.h" #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/conversion_ctor.cc INFO:root:tests/conversion_ctor.cc: Using clang flags ['-std=c++11'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . -std=c++11 tests/conversion_ctor.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/conversion_ctor.cc:16:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/conversion_ctor.cc:19:10: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/conversion_ctor.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/conversion_ctor.cc should remove these lines: - #include "tests/direct.h" // lines 13-13 The full include-list for tests/conversion_ctor.cc: #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/cvr.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/cvr.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft Found covariant return type in ReturnsDerived::covariant_derived, needs complete type of class Derived. Found covariant return type in ReturnsDerived::covariant_cv_qual, needs complete type of class Class. (tests/cvr.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/default_template_arg_other_file.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/default_template_arg_other_file.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/default_template_arg_other_file.cc:22:18: warning: MyClass needs a declaration, but does not provide or directly #include one. tests/default_template_arg_other_file.cc:24:3: warning: OperateOn is defined in "tests/default_template_arg_other_file-i2.h", which isn't directly #included. tests/default_template_arg_other_file.cc:29:18: warning: TplClass needs a declaration, but does not provide or directly #include one. tests/default_template_arg_other_file.cc:29:27: warning: MyClass needs a declaration, but does not provide or directly #include one. tests/default_template_arg_other_file.cc:31:3: warning: OperateOn is defined in "tests/default_template_arg_other_file-i2.h", which isn't directly #included. tests/default_template_arg_other_file.cc:49:18: warning: MyClass needs a declaration, but does not provide or directly #include one. tests/default_template_arg_other_file.cc:53:18: warning: TplClass needs a declaration, but does not provide or directly #include one. tests/default_template_arg_other_file.cc:53:27: warning: MyClass needs a declaration, but does not provide or directly #include one. tests/default_template_arg_other_file.cc should add these lines: #include "tests/default_template_arg_other_file-i2.h" // for MyClass (ptr only), OperateOn, TplClass (ptr only) tests/default_template_arg_other_file.cc should remove these lines: - #include "tests/default_template_arg_other_file-d2.h" // lines 17-17 The full include-list for tests/default_template_arg_other_file.cc: #include "tests/default_template_arg_other_file-d1.h" // for TemplateStruct, IntendsToProvideClass (ptr only), IntendsToProvideTplClass (ptr only) #include "tests/default_template_arg_other_file-i2.h" // for MyClass (ptr only), OperateOn, TplClass (ptr only) --- .INFO:root:Testing iwyu on tests/depopulated_h_file.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/depopulated_h_file.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/depopulated_h_file.h should add these lines: tests/depopulated_h_file.h should remove these lines: - #include "tests/depopulated_h_file-i1.h" // lines 13-13 The full include-list for tests/depopulated_h_file.h: --- tests/depopulated_h_file.cc should add these lines: #include "tests/depopulated_h_file-i1.h" // for Foo tests/depopulated_h_file.cc should remove these lines: The full include-list for tests/depopulated_h_file.cc: #include "tests/depopulated_h_file.h" #include "tests/depopulated_h_file-i1.h" // for Foo --- .INFO:root:Testing iwyu on tests/derived_function_tpl_args.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/derived_function_tpl_args.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/derived_function_tpl_args.cc:40:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:42:3: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:45:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:48:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:50:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:55:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:58:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:60:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:65:11: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:70:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:75:3: warning: IndirectClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:81:7: warning: ns::NsClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:83:7: warning: ns::NsClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:86:3: warning: ns::NsClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:89:3: warning: ns::NsClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:91:3: warning: ns::NsClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:97:20: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:97:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:101:20: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:101:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:103:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:106:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:108:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:115:20: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:115:39: warning: ns::NsClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:115:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:119:20: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:119:39: warning: ns::NsClass needs a declaration, but does not provide or directly #include one. tests/derived_function_tpl_args.cc:119:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:121:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:124:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc:126:3: warning: IndirectTplClass is defined in "tests/derived_function_tpl_args-i1.h", which isn't directly #included. tests/derived_function_tpl_args.cc should add these lines: #include "tests/derived_function_tpl_args-i1.h" // for IndirectTplClass, IndirectClass, NsClass tests/derived_function_tpl_args.cc should remove these lines: - #include "tests/derived_function_tpl_args-d1.h" // lines 17-17 The full include-list for tests/derived_function_tpl_args.cc: #include "tests/derived_function_tpl_args-i1.h" // for IndirectTplClass, IndirectClass, NsClass --- .INFO:root:Testing iwyu on tests/double_include.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/double_include.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/double_include.h has correct #includes/fwd-decls) tests/double_include.cc should add these lines: tests/double_include.cc should remove these lines: - #include "tests/double_include.h" // lines 21-21 The full include-list for tests/double_include.cc: #include "tests/double_include.h" --- .INFO:root:Testing iwyu on tests/elaborated_type.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/elaborated_type.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/elaborated_type.cc should add these lines: class ElaborationClass; namespace Elaboration { class Class; } namespace Elaboration { template struct Template; } struct ElaborationStruct; union ElaborationUnion; tests/elaborated_type.cc should remove these lines: - #include "tests/elaborated_type_class.h" // lines 28-28 - #include "tests/elaborated_type_namespace.h" // lines 47-47 - #include "tests/elaborated_type_struct.h" // lines 34-34 - #include "tests/elaborated_type_union.h" // lines 40-40 The full include-list for tests/elaborated_type.cc: #include "tests/elaborated_type_enum1.h" // for ElaborationEnum1 #include "tests/elaborated_type_enum2.h" // for ElaborationEnum2 class ElaborationClass; namespace Elaboration { class Class; } namespace Elaboration { template struct Template; } struct ElaborationStruct; union ElaborationUnion; --- .INFO:root:Testing iwyu on tests/external_including_internal.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/external_including_internal.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/external_including_internal.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/forward_declare_in_macro.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/forward_declare_in_macro.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/forward_declare_in_macro.h has correct #includes/fwd-decls) tests/forward_declare_in_macro.cc should add these lines: tests/forward_declare_in_macro.cc should remove these lines: - class MyClass; // lines 29-29 The full include-list for tests/forward_declare_in_macro.cc: #include "tests/forward_declare_in_macro.h" --- .INFO:root:Testing iwyu on tests/fullinfo_for_templates.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fullinfo_for_templates.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/fullinfo_for_templates.cc should add these lines: tests/fullinfo_for_templates.cc should remove these lines: - #include "tests/fullinfo_for_templates-d2.h" // lines 16-16 The full include-list for tests/fullinfo_for_templates.cc: #include "tests/fullinfo_for_templates-d1.h" // for TemplateClass --- .INFO:root:Testing iwyu on tests/fwd_decl_class_template.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_decl_class_template.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/fwd_decl_class_template.h should add these lines: template class ClassTemplateI1; tests/fwd_decl_class_template.h should remove these lines: - #include "tests/fwd_decl_class_template-i1.h" // lines 13-13 The full include-list for tests/fwd_decl_class_template.h: template class ClassTemplateI1; --- tests/fwd_decl_class_template.cc should add these lines: #include "tests/fwd_decl_class_template-i1.h" // for ClassTemplateI1 tests/fwd_decl_class_template.cc should remove these lines: The full include-list for tests/fwd_decl_class_template.cc: #include "tests/fwd_decl_class_template.h" #include "tests/fwd_decl_class_template-i1.h" // for ClassTemplateI1 --- .INFO:root:Testing iwyu on tests/fwd_decl_nested_class.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_decl_nested_class.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/fwd_decl_nested_class.cc should add these lines: tests/fwd_decl_nested_class.cc should remove these lines: - class Foo::NoUsage; // lines 17-17 - class Foo::UsedAsPtrInMethod; // lines 19-19 - class Foo::UsedFullyInInitializer; // lines 21-21 - class Foo::UsedFullyInMethod; // lines 20-20 - class Foo::UsedImplicitlyInInitializer; // lines 22-22 - template class Outer::NoUsage; // lines 77-77 - template class Outer::NoUsageDefinedOutOfLine; // lines 79-79 - template class Outer::UsedAsPtrInMethod; // lines 80-80 - template class Outer::UsedFullyInInitializer; // lines 82-82 - template class Outer::UsedFullyInMethod; // lines 81-81 - template class Outer::UsedImplicitlyInInitializer; // lines 83-83 The full include-list for tests/fwd_decl_nested_class.cc: class Foo::NoUsageDefinedOutOfLine; // lines 18-18 class Foo::UsedAsPtrArg; // lines 24-24 class Foo::UsedAsPtrMember; // lines 26-26 class Foo::UsedAsPtrReturn; // lines 25-25 class Foo::UsedInTypedef; // lines 23-23 template class Outer::NoUsageDefinedOutOfLine; // lines 78-78 template class Outer::UsedAsPtrArg; // lines 85-85 template class Outer::UsedAsPtrMember; // lines 87-87 template class Outer::UsedAsPtrReturn; // lines 86-86 template class Outer::UsedInTypedef; // lines 84-84 --- .INFO:root:Testing iwyu on tests/fwd_decl_of_nested_class_defined_later.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_decl_of_nested_class_defined_later.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/fwd_decl_of_nested_class_defined_later.cc:14:10: fatal error: 'utility' file not found #include ^ (tests/fwd_decl_of_nested_class_defined_later.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/fwd_decl_then_dfn.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_decl_then_dfn.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/fwd_decl_then_dfn.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/fwd_decl_with_attribute.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_decl_with_attribute.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/fwd_decl_with_attribute.cc should add these lines: tests/fwd_decl_with_attribute.cc should remove these lines: - struct InheritedAttrStruct; // lines 18-18 The full include-list for tests/fwd_decl_with_attribute.cc: struct AttrStruct; // lines 13-13 --- .INFO:root:Testing iwyu on tests/fwd_decl_with_instantiation.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_decl_with_instantiation.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/fwd_decl_with_instantiation.h has correct #includes/fwd-decls) (tests/fwd_decl_with_instantiation.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/fwd_declare_enum.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/fwd_declare_enum.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/fwd_declare_enum.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/header_near.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/header_near.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/header_near.h has correct #includes/fwd-decls) (tests/header_near.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/implicit_ctor.cc INFO:root:tests/implicit_ctor.cc: Using iwyu flags ['--check_also="tests/*-d1.h"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-d1.h" -I . tests/implicit_ctor.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/implicit_ctor-d1.h:18:20: warning: IndirectWithImplicitCtor is defined in "tests/implicit_ctor-i2.h", which isn't directly #included (for autocast). tests/implicit_ctor-d1.h:18:20: warning: IndirectWithImplicitCtor needs a declaration, but does not provide or directly #include one. tests/implicit_ctor-d1.h:22:29: warning: IndirectWithImplicitCtor is defined in "tests/implicit_ctor-i2.h", which isn't directly #included (for autocast). tests/implicit_ctor-d1.h:22:29: warning: IndirectWithImplicitCtor needs a declaration, but does not provide or directly #include one. tests/implicit_ctor-d1.h should add these lines: #include "tests/implicit_ctor-i2.h" // for IndirectWithImplicitCtor tests/implicit_ctor-d1.h should remove these lines: - #include "tests/implicit_ctor-i1.h" // lines 10-10 The full include-list for tests/implicit_ctor-d1.h: #include "tests/implicit_ctor-i2.h" // for IndirectWithImplicitCtor --- tests/implicit_ctor.cc:29:24: warning: IndirectWithImplicitCtor is defined in "tests/implicit_ctor-i2.h", which isn't directly #included. tests/implicit_ctor.cc:31:27: warning: IndirectWithImplicitCtor is defined in "tests/implicit_ctor-i2.h", which isn't directly #included. tests/implicit_ctor.cc:36:1: warning: IndirectWithImplicitCtor is defined in "tests/implicit_ctor-i2.h", which isn't directly #included. tests/implicit_ctor.cc:38:7: warning: IndirectWithImplicitCtor is defined in "tests/implicit_ctor-i2.h", which isn't directly #included. tests/implicit_ctor.cc should add these lines: #include "tests/implicit_ctor-i2.h" // for IndirectWithImplicitCtor tests/implicit_ctor.cc should remove these lines: The full include-list for tests/implicit_ctor.cc: #include "tests/implicit_ctor-d1.h" // for ImplicitCtorFn, ImplicitCtorRefFn #include "tests/implicit_ctor-i2.h" // for IndirectWithImplicitCtor --- .INFO:root:Testing iwyu on tests/include_cycle.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/include_cycle.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/include_cycle.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/include_with_using.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/include_with_using.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/include_with_using.cc:45:11: warning: i1::UsingInCc needs a declaration, but does not provide or directly #include one. tests/include_with_using.cc:49:3: warning: i1::UsingInCc is defined in "tests/include_with_using-i1.h", which isn't directly #included. tests/include_with_using.cc should add these lines: #include "tests/include_with_using-i1.h" // for UsingInCc class UsedFromD2; namespace ns3 { class PtrInNs3; } namespace ns5 { class PtrInNs5; } tests/include_with_using.cc should remove these lines: - #include "tests/include_with_using-d2.h" // lines 19-19 - #include "tests/include_with_using-d3.h" // lines 20-20 - #include "tests/include_with_using-d5.h" // lines 23-23 The full include-list for tests/include_with_using.cc: #include "tests/include_with_using-d1.h" // for PtrInNs #include "tests/include_with_using-d3b.h" // for PtrInNs3 #include "tests/include_with_using-d4.h" // for var_in_d4 #include "tests/include_with_using-d5b.h" // for PtrInNs5 #include "tests/include_with_using-i1.h" // for UsingInCc class UsedFromD2; namespace ns3 { class PtrInNs3; } namespace ns5 { class PtrInNs5; } --- .INFO:root:Testing iwyu on tests/integer_template_arg.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/integer_template_arg.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/integer_template_arg.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/internal/internal_files.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/internal/internal_files.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/internal/internal_files.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/iterator.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/iterator.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/iterator.cc:18:10: fatal error: 'algorithm' file not found #include ^ (tests/iterator.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/iwyu_stricter_than_cpp.cc INFO:root:tests/iwyu_stricter_than_cpp.cc: Using iwyu flags ['--check_also="tests/*-autocast.h"', '--check_also="tests/*-fnreturn.h"', '--check_also="tests/*-typedefs.h"', '--check_also="tests/*-d2.h"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-autocast.h" -Xiwyu --check_also="tests/*-fnreturn.h" -Xiwyu --check_also="tests/*-typedefs.h" -Xiwyu --check_also="tests/*-d2.h" -I . tests/iwyu_stricter_than_cpp.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/iwyu_stricter_than_cpp-typedefs.h:22:9: warning: IndirectStruct1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included. tests/iwyu_stricter_than_cpp-typedefs.h:26:9: warning: IndirectStructForwardDeclaredInD1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included. tests/iwyu_stricter_than_cpp-typedefs.h:42:9: warning: TplIndirectStruct1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included. tests/iwyu_stricter_than_cpp-typedefs.h:45:9: warning: TplIndirectStructForwardDeclaredInD1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included. tests/iwyu_stricter_than_cpp-typedefs.h should add these lines: #include "tests/iwyu_stricter_than_cpp-i1.h" // for IndirectStruct1, IndirectStructForwardDeclaredInD1, TplIndirectStruct1, TplIndirectStructForwardDeclaredInD1 tests/iwyu_stricter_than_cpp-typedefs.h should remove these lines: - struct DirectStruct1; // lines 29-29 - template struct TplDirectStruct1; // lines 48-48 The full include-list for tests/iwyu_stricter_than_cpp-typedefs.h: #include "tests/iwyu_stricter_than_cpp-d1.h" // for DirectStruct1, DirectStruct2, TplDirectStruct1, TplDirectStruct2 #include "tests/iwyu_stricter_than_cpp-i1.h" // for IndirectStruct1, IndirectStructForwardDeclaredInD1, TplIndirectStruct1, TplIndirectStructForwardDeclaredInD1 struct IndirectStruct2; // lines 36-36 template struct TplIndirectStruct2; // lines 53-53 --- tests/iwyu_stricter_than_cpp-autocast.h:30:11: warning: IndirectStruct1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for autocast). tests/iwyu_stricter_than_cpp-autocast.h:30:11: warning: IndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-autocast.h:33:11: warning: IndirectStructForwardDeclaredInD1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for autocast). tests/iwyu_stricter_than_cpp-autocast.h:49:11: warning: TplIndirectStruct1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for autocast). tests/iwyu_stricter_than_cpp-autocast.h:49:11: warning: TplIndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-autocast.h:58:11: warning: TplIndirectStructForwardDeclaredInD1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for autocast). tests/iwyu_stricter_than_cpp-autocast.h:58:18: warning: TplIndirectStructForwardDeclaredInD1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-autocast.h:67:30: warning: IndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-autocast.h:69:24: warning: TplIndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-autocast.h should add these lines: #include "tests/iwyu_stricter_than_cpp-i1.h" // for IndirectStruct1, IndirectStructForwardDeclaredInD1, TplIndirectStruct1, TplIndirectStructForwardDeclaredInD1 tests/iwyu_stricter_than_cpp-autocast.h should remove these lines: - struct DirectStruct1; // lines 23-23 - template struct TplDirectStruct1; // lines 43-43 The full include-list for tests/iwyu_stricter_than_cpp-autocast.h: #include "tests/iwyu_stricter_than_cpp-d1.h" // for DirectStruct1, DirectStruct2, TplDirectStruct1, TplDirectStruct2 #include "tests/iwyu_stricter_than_cpp-i1.h" // for IndirectStruct1, IndirectStructForwardDeclaredInD1, TplIndirectStruct1, TplIndirectStructForwardDeclaredInD1 struct IndirectStruct2; // lines 24-24 template struct TplIndirectStruct2; // lines 44-44 --- tests/iwyu_stricter_than_cpp-fnreturn.h:23:17: warning: IndirectStruct1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for fn return type). tests/iwyu_stricter_than_cpp-fnreturn.h:23:1: warning: IndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-fnreturn.h:27:42: warning: IndirectStructForwardDeclaredInD1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for fn return type). tests/iwyu_stricter_than_cpp-fnreturn.h:44:1: warning: TplIndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-fnreturn.h:44:25: warning: TplIndirectStruct1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for fn return type). tests/iwyu_stricter_than_cpp-fnreturn.h:51:8: warning: TplIndirectStructForwardDeclaredInD1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-fnreturn.h:53:1: warning: TplIndirectStructForwardDeclaredInD1 is defined in "tests/iwyu_stricter_than_cpp-i1.h", which isn't directly #included (for fn return type). tests/iwyu_stricter_than_cpp-fnreturn.h:71:16: warning: IndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-fnreturn.h:73:10: warning: TplIndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp-fnreturn.h should add these lines: #include "tests/iwyu_stricter_than_cpp-i1.h" // for IndirectStruct1, IndirectStructForwardDeclaredInD1, TplIndirectStruct1, TplIndirectStructForwardDeclaredInD1 tests/iwyu_stricter_than_cpp-fnreturn.h should remove these lines: - struct DirectStruct1; // lines 30-30 - template struct TplDirectStruct1; // lines 55-55 The full include-list for tests/iwyu_stricter_than_cpp-fnreturn.h: #include "tests/iwyu_stricter_than_cpp-d1.h" // for DirectStruct1, DirectStruct2, TplDirectStruct1, TplDirectStruct2 #include "tests/iwyu_stricter_than_cpp-i1.h" // for IndirectStruct1, IndirectStructForwardDeclaredInD1, TplIndirectStruct1, TplIndirectStructForwardDeclaredInD1 struct IndirectStruct2; // lines 37-37 template struct TplIndirectStruct2; // lines 60-60 --- tests/iwyu_stricter_than_cpp-d2.h:22:25: warning: IndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp-d2.h should add these lines: #include "tests/iwyu_stricter_than_cpp-i2.h" // for IndirectStruct2 tests/iwyu_stricter_than_cpp-d2.h should remove these lines: - class IndirectStruct2; // lines 10-10 The full include-list for tests/iwyu_stricter_than_cpp-d2.h: #include "tests/iwyu_stricter_than_cpp-i2.h" // for IndirectStruct2 --- tests/iwyu_stricter_than_cpp.cc:50:3: warning: IndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:54:3: warning: IndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:62:3: warning: TplIndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:64:3: warning: TplIndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:72:19: warning: IndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:81:18: warning: IndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:85:21: warning: TplIndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:94:9: warning: IndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:97:9: warning: IndirectStructForwardDeclaredInD1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:101:9: warning: DirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:104:9: warning: DirectStruct2 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:108:32: warning: IndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:108:9: warning: IndirectStruct2 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:113:9: warning: TplIndirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:116:9: warning: TplIndirectStructForwardDeclaredInD1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:120:9: warning: TplDirectStruct1 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:123:9: warning: TplDirectStruct2 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:127:41: warning: TplIndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:127:9: warning: TplIndirectStruct2 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc:131:44: warning: TplIndirectStruct2 is defined in "tests/iwyu_stricter_than_cpp-i2.h", which isn't directly #included. tests/iwyu_stricter_than_cpp.cc:131:9: warning: TplIndirectStruct2 needs a declaration, but does not provide or directly #include one. tests/iwyu_stricter_than_cpp.cc should add these lines: #include "tests/iwyu_stricter_than_cpp-i2.h" // for IndirectStruct2, TplIndirectStruct2 struct DirectStruct1; struct DirectStruct2; struct IndirectStruct1; struct IndirectStructForwardDeclaredInD1; template struct TplDirectStruct1; template struct TplDirectStruct2; template struct TplIndirectStruct1; template struct TplIndirectStructForwardDeclaredInD1; tests/iwyu_stricter_than_cpp.cc should remove these lines: - #include "tests/iwyu_stricter_than_cpp-autocast2.h" // lines 37-37 - #include "tests/iwyu_stricter_than_cpp-d2.h" // lines 38-38 The full include-list for tests/iwyu_stricter_than_cpp.cc: #include "tests/iwyu_stricter_than_cpp-autocast.h" // for Fn, TplFn #include "tests/iwyu_stricter_than_cpp-fnreturn.h" // for DoesEverythingRightFn, DoesNotForwardDeclareAndIncludesFn, DoesNotForwardDeclareFn, DoesNotForwardDeclareProperlyFn, IncludesFn, TplDoesEverythingRightAgainFn, TplDoesEverythingRightFn, TplDoesNotForwardDeclareAndIncludesFn, TplDoesNotForwardDeclareFn, TplDoesNotForwardDeclareProperlyFn, TplIncludesFn #include "tests/iwyu_stricter_than_cpp-i2.h" // for IndirectStruct2, TplIndirectStruct2 #include "tests/iwyu_stricter_than_cpp-typedefs.h" // for DoesEverythingRight, TplDoesEverythingRightAgain, DoesNotForwardDeclare, DoesNotForwardDeclareAndIncludes, DoesNotForwardDeclareProperly, Includes, TplDoesEverythingRight, TplDoesNotForwardDeclare, TplDoesNotForwardDeclareAndIncludes, TplDoesNotForwardDeclareProperly, TplIncludes struct DirectStruct1; struct DirectStruct2; struct IndirectStruct1; struct IndirectStructForwardDeclaredInD1; template struct TplDirectStruct1; template struct TplDirectStruct2; template struct TplIndirectStruct1; template struct TplIndirectStructForwardDeclaredInD1; --- .INFO:root:Testing iwyu on tests/keep_mapping.cc INFO:root:tests/keep_mapping.cc: Using iwyu flags ['--check_also="tests/*-public.h"', '--mapping_file=tests/keep_mapping.imp'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-public.h" -Xiwyu --mapping_file=tests/keep_mapping.imp -I . tests/keep_mapping.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/keep_mapping-public.h has correct #includes/fwd-decls) (tests/keep_mapping.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/macro_location.cc INFO:root:tests/macro_location.cc: Using iwyu flags ['--check_also="tests/*-d2.h"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-d2.h" -I . tests/macro_location.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/macro_location.h:19:15: warning: Foo is defined in "tests/macro_location-i3.h", which isn't directly #included. tests/macro_location.h should add these lines: #include "tests/macro_location-i3.h" // for Foo tests/macro_location.h should remove these lines: - #include "tests/macro_location-d3.h" // lines 11-11 - class Foo; // lines 13-13 The full include-list for tests/macro_location.h: #include "tests/macro_location-d2.h" // for ARRAYSIZE, CREATE_VAR, NEW_CLASS, USE_CLASS #include "tests/macro_location-i3.h" // for Foo --- (tests/macro_location-d2.h has correct #includes/fwd-decls) tests/macro_location.cc:24:3: warning: DECLARE_FRIEND is defined in "tests/macro_location-i3.h", which isn't directly #included. (tests/macro_location.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/member_expr.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/member_expr.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/member_expr.cc:16:17: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/member_expr.cc:18:6: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:20:13: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:24:17: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/member_expr.cc:26:7: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:28:14: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:33:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:37:21: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/member_expr.cc:41:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:45:6: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:47:6: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc:52:7: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/member_expr.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/member_expr.cc should remove these lines: - #include "tests/direct.h" // lines 13-13 The full include-list for tests/member_expr.cc: #include "tests/indirect.h" // for IndirectClass #include "tests/member_expr-d1.h" // for CALL_METHOD, IC, IC_CALL_METHOD --- .INFO:root:Testing iwyu on tests/ms_inline_asm.cc INFO:root:tests/ms_inline_asm.cc: Using clang flags ['-fms-extensions'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . -fms-extensions tests/ms_inline_asm.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/ms_inline_asm.cc:16:3: error: Unsupported architecture 'armv4t' for MS-style inline assembly __asm { ^ (tests/ms_inline_asm.cc has correct #includes/fwd-decls) FINFO:root:Testing iwyu on tests/multiple_include_paths.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/multiple_include_paths.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/multiple_include_paths.cc should add these lines: tests/multiple_include_paths.cc should remove these lines: - #include "tests/direct.h" // lines 27-27 The full include-list for tests/multiple_include_paths.cc: #include "tests/internal/../indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/no_char_traits.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/no_char_traits.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/no_char_traits.cc:26:10: fatal error: 'iostream' file not found #include ^ (tests/no_char_traits.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/no_definition.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/no_definition.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/no_definition.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/no_deque.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/no_deque.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/no_deque.cc:13:10: fatal error: 'queue' file not found #include ^ (tests/no_deque.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/no_fwd_decl_nested_class.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/no_fwd_decl_nested_class.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/no_fwd_decl_nested_class.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/no_fwd_decl_std.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/no_fwd_decl_std.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/no_fwd_decl_std.cc:16:10: fatal error: 'utility' file not found #include ^ tests/no_fwd_decl_std.cc should add these lines: tests/no_fwd_decl_std.cc should remove these lines: - namespace std { template struct pair; } // lines 27-27 The full include-list for tests/no_fwd_decl_std.cc: --- FINFO:root:Testing iwyu on tests/no_h_includes_cc.cc INFO:root:tests/no_h_includes_cc.cc: Using iwyu flags ['--check_also="tests/*.c"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*.c" -I . tests/no_h_includes_cc.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/no_h_includes_cc-inc.c has correct #includes/fwd-decls) (tests/no_h_includes_cc.h has correct #includes/fwd-decls) (tests/no_h_includes_cc-inc2.c has correct #includes/fwd-decls) (tests/no_h_includes_cc.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/non_transitive_include.cc INFO:root:tests/non_transitive_include.cc: Using iwyu flags ['--check_also="tests/*-d*.h"', '--transitive_includes_only'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-d*.h" -Xiwyu --transitive_includes_only -I . tests/non_transitive_include.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/non_transitive_include-d1.h has correct #includes/fwd-decls) (tests/non_transitive_include-d2.h has correct #includes/fwd-decls) (tests/non_transitive_include.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/overloaded_class.cc INFO:root:tests/overloaded_class.cc: Using iwyu flags ['--check_also="tests/*-i1.h"'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/*-i1.h" -I . tests/overloaded_class.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft In file included from tests/overloaded_class.cc:15: In file included from ./tests/overloaded_class-d1.h:13: ./tests/overloaded_class-i1.h:13:10: fatal error: 'vector' file not found #include ^ (tests/overloaded_class-i1.h has correct #includes/fwd-decls) tests/overloaded_class.cc:19:3: warning: MyFunc is defined in "tests/overloaded_class-i1.h", which isn't directly #included. tests/overloaded_class.cc should add these lines: #include "tests/overloaded_class-i1.h" // for MyFunc tests/overloaded_class.cc should remove these lines: - #include "tests/overloaded_class-d1.h" // lines 15-15 The full include-list for tests/overloaded_class.cc: #include "tests/overloaded_class-i1.h" // for MyFunc --- .INFO:root:Testing iwyu on tests/precomputed_tpl_args.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/precomputed_tpl_args.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/precomputed_tpl_args.cc:12:10: fatal error: 'vector' file not found #include ^ tests/precomputed_tpl_args.cc:75:16: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/precomputed_tpl_args.cc:80:16: warning: SpecializationClass needs a declaration, but does not provide or directly #include one. tests/precomputed_tpl_args.cc should add these lines: class IndirectClass; class SpecializationClass; tests/precomputed_tpl_args.cc should remove these lines: - #include "tests/precomputed_tpl_args-d1.h" // lines 16-16 The full include-list for tests/precomputed_tpl_args.cc: class IndirectClass; class SpecializationClass; --- FINFO:root:Testing iwyu on tests/prefix_header_includes_add.cc INFO:root:tests/prefix_header_includes_add.cc: Using iwyu flags ['--prefix_header_includes=add'] INFO:root:tests/prefix_header_includes_add.cc: Using clang flags ['-include', 'tests/prefix_header_includes-d1.h', '-include', 'tests/prefix_header_includes-d2.h', '-include', 'tests/prefix_header_includes-d3.h', '-include', 'tests/prefix_header_includes-d4.h'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --prefix_header_includes=add -I . -include tests/prefix_header_includes-d1.h -include tests/prefix_header_includes-d2.h -include tests/prefix_header_includes-d3.h -include tests/prefix_header_includes-d4.h tests/prefix_header_includes_add.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/prefix_header_includes_add.cc:20:1: warning: CommandLineIncludeD2 is defined in "tests/prefix_header_includes-d2.h", which isn't directly #included. tests/prefix_header_includes_add.cc:27:1: warning: CommandLineIncludeD4 needs a declaration, but does not provide or directly #include one. tests/prefix_header_includes_add.cc:31:1: warning: CommandLineIncludeI1 is defined in "tests/prefix_header_includes-i1.h", which isn't directly #included. tests/prefix_header_includes_add.cc:35:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/prefix_header_includes_add.cc should add these lines: #include "tests/indirect.h" // for IndirectClass #include "tests/prefix_header_includes-d2.h" // for CommandLineIncludeD2 #include "tests/prefix_header_includes-i1.h" // for CommandLineIncludeI1 class CommandLineIncludeD4; tests/prefix_header_includes_add.cc should remove these lines: - #include "tests/direct.h" // lines 13-13 The full include-list for tests/prefix_header_includes_add.cc: #include "tests/indirect.h" // for IndirectClass #include "tests/prefix_header_includes-d1.h" // for CommandLineIncludeD1 #include "tests/prefix_header_includes-d2.h" // for CommandLineIncludeD2 #include "tests/prefix_header_includes-i1.h" // for CommandLineIncludeI1 class CommandLineIncludeD3; // lines 23-23 class CommandLineIncludeD4; --- .INFO:root:Testing iwyu on tests/prefix_header_includes_keep.cc INFO:root:tests/prefix_header_includes_keep.cc: Using iwyu flags ['--prefix_header_includes=keep'] INFO:root:tests/prefix_header_includes_keep.cc: Using clang flags ['-include', 'tests/prefix_header_includes-d1.h', '-include', 'tests/prefix_header_includes-d2.h', '-include', 'tests/prefix_header_includes-d3.h', '-include', 'tests/prefix_header_includes-d4.h'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --prefix_header_includes=keep -I . -include tests/prefix_header_includes-d1.h -include tests/prefix_header_includes-d2.h -include tests/prefix_header_includes-d3.h -include tests/prefix_header_includes-d4.h tests/prefix_header_includes_keep.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/prefix_header_includes_keep.cc:20:1: warning: CommandLineIncludeD2 is defined in "tests/prefix_header_includes-d2.h", which isn't directly #included. tests/prefix_header_includes_keep.cc:27:1: warning: CommandLineIncludeD4 needs a declaration, but does not provide or directly #include one. tests/prefix_header_includes_keep.cc:31:1: warning: CommandLineIncludeI1 is defined in "tests/prefix_header_includes-i1.h", which isn't directly #included. tests/prefix_header_includes_keep.cc:35:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/prefix_header_includes_keep.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/prefix_header_includes_keep.cc should remove these lines: - #include "tests/direct.h" // lines 13-13 The full include-list for tests/prefix_header_includes_keep.cc: #include "tests/indirect.h" // for IndirectClass #include "tests/prefix_header_includes-d1.h" // for CommandLineIncludeD1 class CommandLineIncludeD3; // lines 23-23 --- .INFO:root:Testing iwyu on tests/prefix_header_includes_remove.cc INFO:root:tests/prefix_header_includes_remove.cc: Using iwyu flags ['--prefix_header_includes=remove'] INFO:root:tests/prefix_header_includes_remove.cc: Using clang flags ['-include', 'tests/prefix_header_includes-d1.h', '-include', 'tests/prefix_header_includes-d2.h', '-include', 'tests/prefix_header_includes-d3.h', '-include', 'tests/prefix_header_includes-d4.h'] >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --prefix_header_includes=remove -I . -include tests/prefix_header_includes-d1.h -include tests/prefix_header_includes-d2.h -include tests/prefix_header_includes-d3.h -include tests/prefix_header_includes-d4.h tests/prefix_header_includes_remove.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/prefix_header_includes_remove.cc:20:1: warning: CommandLineIncludeD2 is defined in "tests/prefix_header_includes-d2.h", which isn't directly #included. tests/prefix_header_includes_remove.cc:27:1: warning: CommandLineIncludeD4 needs a declaration, but does not provide or directly #include one. tests/prefix_header_includes_remove.cc:31:1: warning: CommandLineIncludeI1 is defined in "tests/prefix_header_includes-i1.h", which isn't directly #included. tests/prefix_header_includes_remove.cc:35:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/prefix_header_includes_remove.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/prefix_header_includes_remove.cc should remove these lines: - #include "tests/direct.h" // lines 13-13 - #include "tests/prefix_header_includes-d1.h" // lines 14-14 - class CommandLineIncludeD3; // lines 23-23 The full include-list for tests/prefix_header_includes_remove.cc: #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/re_fwd_decl.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/re_fwd_decl.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/re_fwd_decl.h has correct #includes/fwd-decls) tests/re_fwd_decl.cc:20:1: warning: Indirect needs a declaration, but does not provide or directly #include one. tests/re_fwd_decl.cc should add these lines: class Indirect; tests/re_fwd_decl.cc should remove these lines: The full include-list for tests/re_fwd_decl.cc: #include "tests/re_fwd_decl.h" #include "tests/re_fwd_decl-d1.h" // for Direct (ptr only), FullUse class Indirect; --- .INFO:root:Testing iwyu on tests/redecls.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/redecls.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/redecls.h should add these lines: tests/redecls.h should remove these lines: - #include "tests/redecls-d1.h" // lines 10-10 - #include "tests/redecls-d2.h" // lines 21-21 The full include-list for tests/redecls.h: --- tests/redecls.cc should add these lines: tests/redecls.cc should remove these lines: - #include "tests/redecls-d1.h" // lines 18-18 - #include "tests/redecls-d2.h" // lines 20-20 The full include-list for tests/redecls.cc: #include "tests/redecls.h" --- .INFO:root:Testing iwyu on tests/remove_fwd_decl_when_including.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/remove_fwd_decl_when_including.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/remove_fwd_decl_when_including.cc:26:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/remove_fwd_decl_when_including.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/remove_fwd_decl_when_including.cc should remove these lines: - #include "tests/direct.h" // lines 19-19 - class IndirectClass; // lines 21-21 The full include-list for tests/remove_fwd_decl_when_including.cc: #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/self_include.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/self_include.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft (tests/self_include.cc has correct #includes/fwd-decls) .INFO:root:Testing iwyu on tests/sizeof_reference.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/sizeof_reference.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/sizeof_reference.cc:42:19: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:42:19: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:49:13: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:49:43: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:53:43: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:59:13: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:59:39: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:63:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:65:1: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:67:19: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:71:20: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:71:36: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:75:23: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:75:38: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:79:23: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:83:26: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:87:27: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc:87:42: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/sizeof_reference.cc:91:27: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/sizeof_reference.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/sizeof_reference.cc should remove these lines: - #include "tests/direct.h" // lines 14-14 The full include-list for tests/sizeof_reference.cc: #include // for size_t #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/specialization_needs_decl.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/specialization_needs_decl.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/specialization_needs_decl.cc should add these lines: template struct TplStruct; tests/specialization_needs_decl.cc should remove these lines: - #include "tests/specialization_needs_decl-d1.h" // lines 14-14 The full include-list for tests/specialization_needs_decl.cc: template struct TplStruct; --- .INFO:root:Testing iwyu on tests/system_namespaces.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/system_namespaces.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/system_namespaces.cc should add these lines: namespace notsys_ns { template class TplClass; } tests/system_namespaces.cc should remove these lines: - #include "tests/system_namespaces-d3.h" // lines 15-15 The full include-list for tests/system_namespaces.cc: #include "tests/system_namespaces-d1.h" // for StdClass #include "tests/system_namespaces-d2.h" // for SystemClass namespace notsys_ns { template class TplClass; } --- .INFO:root:Testing iwyu on tests/template_args.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/template_args.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/template_args.cc:18:10: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:29:23: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:29:40: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:34:18: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:34:39: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:58:3: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:62:17: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:62:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:66:23: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:66:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:70:18: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:70:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:74:24: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:74:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:85:15: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:85:32: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:89:15: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:93:15: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:108:19: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:111:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:115:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:115:8: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:119:19: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:119:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:123:33: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/template_args.cc:123:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc:129:9: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/template_args.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/template_args.cc should remove these lines: - #include "tests/direct.h" // lines 13-13 The full include-list for tests/template_args.cc: #include "tests/indirect.h" // for IndirectClass template struct FunctionStruct; // lines 20-20 --- .INFO:root:Testing iwyu on tests/template_specialization.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/template_specialization.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/template_specialization.cc:18:1: warning: Foo is defined in "tests/template_specialization-i2.h", which isn't directly #included. tests/template_specialization.cc:25:42: warning: Foo is defined in "tests/template_specialization-i1.h", which isn't directly #included. tests/template_specialization.cc:38:14: warning: Foo is defined in "tests/template_specialization-i1.h", which isn't directly #included. tests/template_specialization.cc should add these lines: #include "tests/template_specialization-i1.h" // for Foo #include "tests/template_specialization-i2.h" // for Foo tests/template_specialization.cc should remove these lines: - #include "tests/template_specialization-d1.h" // lines 13-13 - template class Foo; // lines 15-15 The full include-list for tests/template_specialization.cc: #include "tests/template_specialization-i1.h" // for Foo #include "tests/template_specialization-i2.h" // for Foo --- .INFO:root:Testing iwyu on tests/templated_constructor.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/templated_constructor.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/templated_constructor.cc:23:3: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/templated_constructor.cc:26:24: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/templated_constructor.cc:29:35: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/templated_constructor.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/templated_constructor.cc should remove these lines: - #include "tests/direct.h" // lines 12-12 The full include-list for tests/templated_constructor.cc: #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/typedefs_and_resugaring.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/typedefs_and_resugaring.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/typedefs_and_resugaring.cc:42:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/typedefs_and_resugaring.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/typedefs_and_resugaring.cc should remove these lines: - #include "tests/direct.h" // lines 27-27 The full include-list for tests/typedefs_and_resugaring.cc: #include "tests/indirect.h" // for IndirectClass #include "tests/typedefs_and_resugaring-d1.h" // for MyTypedef --- .INFO:root:Testing iwyu on tests/uses_printf.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/uses_printf.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft In file included from tests/uses_printf.cc:10: ./tests/uses_printf-d1.h:13:10: fatal error: 'cstdio' file not found #include ^ tests/uses_printf.cc should add these lines: tests/uses_printf.cc should remove these lines: - #include "tests/uses_printf-d1.h" // lines 10-10 The full include-list for tests/uses_printf.cc: --- FINFO:root:Testing iwyu on tests/varargs_and_references.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/varargs_and_references.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/varargs_and_references.cc:29:3: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/varargs_and_references.cc:31:9: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/varargs_and_references.cc:33:16: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/varargs_and_references.cc:35:16: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/varargs_and_references.cc:37:16: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/varargs_and_references.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/varargs_and_references.cc should remove these lines: - #include "tests/direct.h" // lines 18-18 The full include-list for tests/varargs_and_references.cc: #include "tests/indirect.h" // for IndirectClass --- .INFO:root:Testing iwyu on tests/virtual_tpl_method.cc >>> Running /builddir/build/BUILD/include-what-you-use/build/include-what-you-use -Xiwyu --verbose=3 -I . tests/virtual_tpl_method.cc warning: unknown platform, assuming -mfloat-abi=soft warning: unknown platform, assuming -mfloat-abi=soft tests/virtual_tpl_method.cc:22:1: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/virtual_tpl_method.cc:34:24: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/virtual_tpl_method.cc:34:9: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:37:9: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:41:11: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/virtual_tpl_method.cc:41:19: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:41:7: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/virtual_tpl_method.cc:46:10: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/virtual_tpl_method.cc:46:18: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:58:19: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:61:19: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:63:29: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:66:29: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:72:5: warning: IndirectClass needs a declaration, but does not provide or directly #include one. tests/virtual_tpl_method.cc:74:5: warning: IndirectClass is defined in "tests/indirect.h", which isn't directly #included. tests/virtual_tpl_method.cc should add these lines: #include "tests/indirect.h" // for IndirectClass tests/virtual_tpl_method.cc should remove these lines: - #include "tests/direct.h" // lines 17-17 The full include-list for tests/virtual_tpl_method.cc: #include "tests/indirect.h" // for IndirectClass --- . ====================================================================== FAIL: runTest (__main__.badinc) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_iwyu_tests.py", line 142, in {'runTest': lambda self, f=filename: self.RunOneTest(f)}) File "run_iwyu_tests.py", line 118, in RunOneTest iwyu_flags, clang_flags, verbose=True) File "/builddir/build/BUILD/include-what-you-use/iwyu_test_util.py", line 423, in TestIwyuOnRelativeFile test_case.assertTrue(not failures, ''.join(failures)) AssertionError: tests/badinc.cc:629: Unmatched regex: I1_Class needs a declaration tests/badinc.cc:760: Unmatched regex: std::vector is...* tests/badinc.cc:760: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:760: Unmatched regex: I1_Class needs a declaration tests/badinc.cc:760: Unmatched regex: I1_Class is...*badinc-i1.h tests/badinc.cc:766: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:766: Unmatched regex: I1_Class needs a declaration tests/badinc.cc:766: Unmatched regex: std::vector is...* tests/badinc.cc:770: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:770: Unmatched regex: I1_Class needs a declaration tests/badinc.cc:770: Unmatched regex: std::vector is...* tests/badinc.cc:780: Unmatched regex: I1_Enum is...*badinc-i1.h tests/badinc.cc:780: Unmatched regex: std::vector is...* tests/badinc.cc:784: Unmatched regex: std::vector is...* tests/badinc.cc:784: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:784: Unmatched regex: I1_Enum is...*badinc-i1.h tests/badinc.cc:790: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:790: Unmatched regex: I1_Enum is...*badinc-i1.h tests/badinc.cc:790: Unmatched regex: std::vector is...* tests/badinc.cc:794: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:794: Unmatched regex: I1_Enum is...*badinc-i1.h tests/badinc.cc:794: Unmatched regex: std::vector is...* tests/badinc.cc:1188: Unmatched regex: I1_Class is...*badinc-i1.h tests/badinc.cc:1222: Unmatched regex: std::vector is...* tests/badinc.cc:1222: Unmatched regex: I2_Class needs a declaration tests/badinc.cc:1226: Unmatched regex: I2_Class is...*badinc-i2.h tests/badinc.cc:1226: Unmatched regex: I1_TemplateMethodOnlyClass is...*badinc-i1.h tests/badinc.cc:1226: Unmatched regex: std::vector is...* tests/badinc.cc:1478: Unmatched regex: kI1ConstInt is...*badinc-i1.h tests/badinc.cc:1480: Unmatched regex: I1_Class is...*badinc-i1.h tests/badinc.cc:1544: Unmatched regex: std::vector is...* tests/badinc.cc:1544: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.cc:1549: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.cc:1549: Unmatched regex: std::vector is...* tests/badinc.cc:1549: Unmatched regex: I21 is...*badinc-i2.h tests/badinc.cc:1553: Unmatched regex: std::vector is...* tests/badinc.cc:1553: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.cc:1553: Unmatched regex: std::vector<.*>::iterator is...* tests/badinc.cc:1556: Unmatched regex: std::vector is...* tests/badinc.cc:1556: Unmatched regex: std::vector<.*>::iterator is...* tests/badinc.cc:1559: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.cc:1559: Unmatched regex: std::vector is...* tests/badinc.cc:1575: Unmatched regex: std::list is...* tests/badinc.cc:1582: Unmatched regex: operator new is...* tests/badinc.cc:1585: Unmatched regex: std::vector is...* tests/badinc.cc:1585: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.cc:1588: Unmatched regex: std::vector is...* tests/badinc.cc:1588: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.cc:1593: Unmatched regex: i1_i1_classptr is...*badinc-i1.h tests/badinc.cc:1593: Unmatched regex: I1_Class is...*badinc-i1.h tests/badinc.cc:1593: Unmatched regex: kI1ConstInt is...*badinc-i1.h tests/badinc.cc:1593: Unmatched regex: operator new is...* tests/badinc.cc:1602: Unmatched regex: std::vector is...* tests/badinc.cc:1661: Unmatched regex: I1_Struct needs a declaration tests/badinc.cc:1661: Unmatched regex: I1_Struct is...*badinc-i1.h tests/badinc.cc:1661: Unmatched regex: I1_TemplateClass is...*badinc-i1.h tests/badinc.cc:1661: Unmatched regex: I2_Class needs a declaration tests/badinc.cc:1661: Unmatched regex: I2_Class is...*badinc-i2.h tests/badinc.cc:1661: Unmatched regex: operator new is...* tests/badinc.cc:1760: Unmatched regex: std::set is...* tests/badinc.cc:1763: Unmatched regex: std::set is...* tests/badinc.cc:1763: Unmatched regex: std::set<.*>::iterator is...* tests/badinc.cc:1767: Unmatched regex: std::vector is...* tests/badinc.cc:1770: Unmatched regex: std::vector is...* tests/badinc.cc:1770: Unmatched regex: std::vector<.*>::const_iterator is...* tests/badinc.cc:1773: Unmatched regex: std::vector is...* tests/badinc.cc:1773: Unmatched regex: std::vector<.*>::const_iterator is...* tests/badinc.cc:1775: Unmatched regex: std::vector is...* tests/badinc.cc:1778: Unmatched regex: std::vector is...* tests/badinc.cc:1778: Unmatched regex: std::vector<.*>::const_iterator is...* tests/badinc.cc:1781: Unmatched regex: std::vector is...* tests/badinc.cc:1781: Unmatched regex: std::vector<.*>::const_iterator is...* tests/badinc.cc:1784: Unmatched regex: std::vector is...* tests/badinc.cc:1784: Unmatched regex: std::vector<.*>::const_iterator is...* tests/badinc.cc:1787: Unmatched regex: std::vector is...* tests/badinc.cc:1787: Unmatched regex: std::vector<.*>::const_iterator is...* tests/badinc.cc:1792: Unmatched regex: std::vector is...* tests/badinc.cc:1792: Unmatched regex: std::vector<.*>::reverse_iterator is...* tests/badinc.cc:1794: Unmatched regex: std::vector is...* tests/badinc.cc:1796: Unmatched regex: std::vector is...* tests/badinc.cc:1799: Unmatched regex: std::vector is...* tests/badinc.cc:1799: Unmatched regex: std::vector<.*>::reverse_iterator is...* tests/badinc.cc:1802: Unmatched regex: std::vector is...* tests/badinc.cc:1802: Unmatched regex: std::vector<.*>::const_reverse_iterator is...* tests/badinc.cc:1807: Unmatched regex: std::vector<.*>::const_reverse_iterator is...* tests/badinc.cc:1807: Unmatched regex: std::vector is...* tests/badinc.cc:1809: Unmatched regex: std::vector is...* tests/badinc.cc:1812: Unmatched regex: std::vector is...* tests/badinc.cc:1812: Unmatched regex: std::vector<.*>::const_reverse_iterator is...* tests/badinc.h:281: Unmatched regex: std::pair is...* tests/badinc.h:288: Unmatched regex: std::set is...* tests/badinc.h:288: Unmatched regex: I2_Enum is...*badinc-i2.h tests/badinc.h:295: Unmatched regex: std::vector is...* tests/badinc.h:295: Unmatched regex: I2_Class needs a declaration tests/badinc.h:295: Unmatched regex: I2_Class is...*badinc-i2.h Unexpected summary diffs for tests/badinc.cc: +++ @@ -3,7 +3,6 @@ #include #include #include -#include #include #include "tests/badinc-i1.h" class D2_Class; @@ -18,10 +17,6 @@ tests/badinc.cc should remove these lines: - #include // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX - #include "tests/badinc-d2.h" // lines XX-XX - class Cc_ForwardDeclare_Function::I2_Class; // lines XX-XX - class I3_UnusedClass; // lines XX-XX @@ -35,15 +30,10 @@ #include // for va_list #include // for offsetof, size_t #include // for rand -#include // for find -#include // for fstream -#include // for list #include // for operator new -#include // for allocator, basic_string, basic_string<>::iterator, char_traits, operator+, string -#include // for type_info #include "tests/badinc-d1.h" // for D1CopyClassFn, D1Function, D1_Class, D1_CopyClass, D1_Enum, D1_Enum::D11, D1_I1_Typedef, D1_StructPtr, D1_Subclass, D1_TemplateClass, D1_TemplateStructWithDefaultParam, MACRO_CALLING_I4_FUNCTION #include "tests/badinc-d4.h" // for D4_ClassForOperator, operator<< -#include "tests/badinc-i1.h" // for EmptyDestructorClass, H_Class::H_Class_DefinedInI1, I1_And_I2_OverloadedFunction, I1_Base, I1_Class, I1_Class::NestedStruct, I1_ClassPtr, I1_Enum, I1_Enum::I11, I1_Enum::I12, I1_Enum::I13, I1_Function, I1_FunctionPtr, I1_I2_Class_Typedef, I1_MACRO_LOGGING_CLASS, I1_MACRO_SYMBOL_WITHOUT_VALUE, I1_MACRO_SYMBOL_WITH_VALUE, I1_MACRO_SYMBOL_WITH_VALUE0, I1_MACRO_SYMBOL_WITH_VALUE2, I1_ManyPtrStruct (ptr only), I1_MemberPtr, I1_NamespaceClass, I1_NamespaceStruct, I1_NamespaceTemplateFn, I1_OverloadedFunction, I1_PtrAndUseOnSameLine, I1_PtrDereferenceClass, I1_PtrDereferenceStatic, I1_PtrDereferenceStruct, I1_SiblingClass, I1_StaticMethod, I1_Struct, I1_Subclass, I1_SubclassesI2Class, I1_TemplateClass, I1_TemplateClass<>::I1_TemplateClass_int, I1_TemplateClassFwdDeclaredInD2 (ptr only), I1_TemplateFunction, I1_TemplateMethodOnlyClass, I1_TemplateSubclass, I1_Typedef, I1_TypedefOnly_Class, I1_TypedefOnly_Class<>::i, I1_Union, I1_UnnamedStruct, I1_UnusedNamespaceStruct (ptr only), I1_const_ptr, I2_OperatorDefinedInI1Class::operator<<, MACRO_CALLING_I6_FUNCTION, OperateOn, i1_GlobalFunction, i1_i1_classptr, i1_int, i1_int_global, i1_int_global2, i1_int_global2sub, i1_int_global3, i1_int_global3sub, i1_int_global4, i1_int_global4sub, i1_int_globalsub, i1_ns4, kI1ConstInt, operator== +#include "tests/badinc-i1.h" // for EmptyDestructorClass, H_Class::H_Class_DefinedInI1, I1_And_I2_OverloadedFunction, I1_Base, I1_Class, I1_Class::NestedStruct, I1_ClassPtr, I1_Enum, I1_Enum::I11, I1_Enum::I12, I1_Enum::I13, I1_Function, I1_FunctionPtr, I1_I2_Class_Typedef, I1_MACRO_LOGGING_CLASS, I1_MACRO_SYMBOL_WITHOUT_VALUE, I1_MACRO_SYMBOL_WITH_VALUE, I1_MACRO_SYMBOL_WITH_VALUE0, I1_MACRO_SYMBOL_WITH_VALUE2, I1_ManyPtrStruct (ptr only), I1_MemberPtr, I1_NamespaceClass, I1_NamespaceStruct, I1_NamespaceTemplateFn, I1_OverloadedFunction, I1_PtrAndUseOnSameLine, I1_PtrDereferenceClass, I1_PtrDereferenceStatic, I1_PtrDereferenceStruct, I1_SiblingClass, I1_StaticMethod, I1_Struct, I1_Subclass, I1_SubclassesI2Class, I1_TemplateClass, I1_TemplateClass<>::I1_TemplateClass_int, I1_TemplateClassFwdDeclaredInD2 (ptr only), I1_TemplateFunction, I1_TemplateMethodOnlyClass, I1_TemplateSubclass, I1_Typedef, I1_TypedefOnly_Class, I1_TypedefOnly_Class<>::i, I1_Union, I1_UnnamedStruct, I1_UnusedNamespaceStruct (ptr only), I1_const_ptr, I2_OperatorDefinedInI1Class::operator<<, MACRO_CALLING_I6_FUNCTION, OperateOn, i1_GlobalFunction, i1_int, i1_int_global, i1_int_global2, i1_int_global2sub, i1_int_global3, i1_int_global3sub, i1_int_global4, i1_int_global4sub, i1_int_globalsub, i1_ns4, kI1ConstInt, operator== #include "tests/badinc2.c" class D2_Class; class D2_ForwardDeclareClass; --- Unexpected summary diffs for tests/badinc.h: +++ @@ -1,8 +1,5 @@ tests/badinc.h should add these lines: #include -#include -#include -#include #include "tests/badinc-i2-inl.h" #include "tests/badinc-i2.h" @@ -16,11 +13,6 @@ The full include-list for tests/badinc.h: #include // for errno #include // for NULL, printf -#include // for queue -#include // for set -#include // for string -#include // for pair -#include // for vector #include "tests/badinc-d3.h" // for D3_Enum, D3_Enum::D31 #include "tests/badinc-i2-inl.h" // for I2_Class::I2_Class, I2_Class::InlFileFn, I2_Class::InlFileStaticFn, I2_Class::InlFileTemplateFn, I2_Class::~I2_Class, I2_TemplateClass::I2_TemplateClass, I2_TemplateClass::InlFileTemplateClassFn, I2_TemplateClass::~I2_TemplateClass #include "tests/badinc-i2.h" // for I2_Class, I2_Enum, I2_Enum::I21, I2_Enum::I22, I2_EnumForTypedefs, I2_MACRO, I2_Struct, I2_TemplateClass, I2_Typedef, I2_TypedefOnly_Class (ptr only), TemplateForHClassTplFn (ptr only) --- ====================================================================== FAIL: runTest (__main__.built_ins_new_included) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_iwyu_tests.py", line 142, in {'runTest': lambda self, f=filename: self.RunOneTest(f)}) File "run_iwyu_tests.py", line 118, in RunOneTest iwyu_flags, clang_flags, verbose=True) File "/builddir/build/BUILD/include-what-you-use/iwyu_test_util.py", line 423, in TestIwyuOnRelativeFile test_case.assertTrue(not failures, ''.join(failures)) AssertionError: Unexpected summary diffs for tests/built_ins_new_included.cc: +++ @@ -1,6 +1 @@ -tests/built_ins_new_included.cc should add these lines: - -tests/built_ins_new_included.cc should remove these lines: -- #include // lines XX-XX - -The full include-list for tests/built_ins_new_included.cc: +(tests/built_ins_new_included.cc has correct #includes/fwd-decls) --- ====================================================================== FAIL: runTest (__main__.ms_inline_asm) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_iwyu_tests.py", line 142, in {'runTest': lambda self, f=filename: self.RunOneTest(f)}) File "run_iwyu_tests.py", line 118, in RunOneTest iwyu_flags, clang_flags, verbose=True) File "/builddir/build/BUILD/include-what-you-use/iwyu_test_util.py", line 423, in TestIwyuOnRelativeFile test_case.assertTrue(not failures, ''.join(failures)) AssertionError: tests/ms_inline_asm.cc:16: Unexpected diagnostic: Unsupported architecture 'armv4t' for MS-style inline assembly ====================================================================== FAIL: runTest (__main__.no_fwd_decl_std) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_iwyu_tests.py", line 142, in {'runTest': lambda self, f=filename: self.RunOneTest(f)}) File "run_iwyu_tests.py", line 118, in RunOneTest iwyu_flags, clang_flags, verbose=True) File "/builddir/build/BUILD/include-what-you-use/iwyu_test_util.py", line 423, in TestIwyuOnRelativeFile test_case.assertTrue(not failures, ''.join(failures)) AssertionError: Unexpected summary diffs for tests/no_fwd_decl_std.cc: +++ @@ -4,4 +4,3 @@ - namespace std { template struct pair; } // lines XX-XX The full include-list for tests/no_fwd_decl_std.cc: -#include // for pair --- ====================================================================== FAIL: runTest (__main__.precomputed_tpl_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_iwyu_tests.py", line 142, in {'runTest': lambda self, f=filename: self.RunOneTest(f)}) File "run_iwyu_tests.py", line 118, in RunOneTest iwyu_flags, clang_flags, verbose=True) File "/builddir/build/BUILD/include-what-you-use/iwyu_test_util.py", line 423, in TestIwyuOnRelativeFile test_case.assertTrue(not failures, ''.join(failures)) AssertionError: tests/precomputed_tpl_args.cc:24: Unmatched regex: IndirectClass needs a declaration tests/precomputed_tpl_args.cc:24: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/precomputed_tpl_args.cc:28: Unmatched regex: IndirectClass needs a declaration tests/precomputed_tpl_args.cc:28: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/precomputed_tpl_args.cc:31: Unmatched regex: IndirectClass needs a declaration tests/precomputed_tpl_args.cc:35: Unmatched regex: IndirectClass needs a declaration tests/precomputed_tpl_args.cc:35: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/precomputed_tpl_args.cc:41: Unmatched regex: SpecializationClass needs a declaration tests/precomputed_tpl_args.cc:41: Unmatched regex: SpecializationClass is...*precomputed_tpl_args-i1.h tests/precomputed_tpl_args.cc:41: Unmatched regex: std::less is...*precomputed_tpl_args-i1.h tests/precomputed_tpl_args.cc:67: Unmatched regex: SpecializationClass needs a declaration tests/precomputed_tpl_args.cc:70: Unmatched regex: IndirectClass needs a declaration tests/precomputed_tpl_args.cc:75: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/precomputed_tpl_args.cc:80: Unmatched regex: SpecializationClass is...*precomputed_tpl_args-i1.h Unexpected summary diffs for tests/precomputed_tpl_args.cc: +++ @@ -1,12 +1,10 @@ tests/precomputed_tpl_args.cc should add these lines: -#include "tests/precomputed_tpl_args-i1.h" +class IndirectClass; +class SpecializationClass; tests/precomputed_tpl_args.cc should remove these lines: +- #include "tests/precomputed_tpl_args-d1.h" // lines XX-XX The full include-list for tests/precomputed_tpl_args.cc: -#include // for bitset -#include // for map -#include // for set -#include // for vector -#include "tests/precomputed_tpl_args-d1.h" // for D1SpecializationClass, less -#include "tests/precomputed_tpl_args-i1.h" // for IndirectClass, SpecializationClass, less +class IndirectClass; +class SpecializationClass; --- ====================================================================== FAIL: runTest (__main__.uses_printf) ---------------------------------------------------------------------- Traceback (most recent call last): File "run_iwyu_tests.py", line 142, in {'runTest': lambda self, f=filename: self.RunOneTest(f)}) File "run_iwyu_tests.py", line 118, in RunOneTest iwyu_flags, clang_flags, verbose=True) File "/builddir/build/BUILD/include-what-you-use/iwyu_test_util.py", line 423, in TestIwyuOnRelativeFile test_case.assertTrue(not failures, ''.join(failures)) AssertionError: tests/uses_printf.cc:14: Unmatched regex: printf is...* Unexpected summary diffs for tests/uses_printf.cc: +++ @@ -1,8 +1,6 @@ tests/uses_printf.cc should add these lines: -#include tests/uses_printf.cc should remove these lines: - #include "tests/uses_printf-d1.h" // lines XX-XX The full include-list for tests/uses_printf.cc: -#include // for printf --- ---------------------------------------------------------------------- Ran 71 tests in 10.170s FAILED (failures=6) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tYjbxf (%check) Bad exit status from /var/tmp/rpm-tmp.tYjbxf (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/iwyu.spec