Fix build error on XCode

This commit is contained in:
Emmanuel Blot 2010-07-27 12:08:05 +02:00 committed by Daniel Marjamäki
parent 94acebc3d0
commit b50b2f0332
2 changed files with 11 additions and 8 deletions

3
.gitignore vendored
View File

@ -13,6 +13,9 @@ tools/errmsg
# VS build folders # VS build folders
Build/ Build/
BuildTmp/ BuildTmp/
# XCode build folders and files
build/
*.pbxuser
# GUI build folders # GUI build folders
gui/debug/ gui/debug/
gui/release/ gui/release/

View File

@ -12,7 +12,6 @@
2C21A48C1178BB1500D35009 /* checkclass.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4631178BB1500D35009 /* checkclass.cpp */; }; 2C21A48C1178BB1500D35009 /* checkclass.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4631178BB1500D35009 /* checkclass.cpp */; };
2C21A48D1178BB1500D35009 /* checkdangerousfunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4651178BB1500D35009 /* checkdangerousfunctions.cpp */; }; 2C21A48D1178BB1500D35009 /* checkdangerousfunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4651178BB1500D35009 /* checkdangerousfunctions.cpp */; };
2C21A48E1178BB1500D35009 /* checkexceptionsafety.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4671178BB1500D35009 /* checkexceptionsafety.cpp */; }; 2C21A48E1178BB1500D35009 /* checkexceptionsafety.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4671178BB1500D35009 /* checkexceptionsafety.cpp */; };
2C21A48F1178BB1500D35009 /* checkheaders.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4691178BB1500D35009 /* checkheaders.cpp */; };
2C21A4901178BB1500D35009 /* checkmemoryleak.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A46B1178BB1500D35009 /* checkmemoryleak.cpp */; }; 2C21A4901178BB1500D35009 /* checkmemoryleak.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A46B1178BB1500D35009 /* checkmemoryleak.cpp */; };
2C21A4911178BB1500D35009 /* checkother.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A46D1178BB1500D35009 /* checkother.cpp */; }; 2C21A4911178BB1500D35009 /* checkother.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A46D1178BB1500D35009 /* checkother.cpp */; };
2C21A4921178BB1500D35009 /* checkstl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A46F1178BB1500D35009 /* checkstl.cpp */; }; 2C21A4921178BB1500D35009 /* checkstl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A46F1178BB1500D35009 /* checkstl.cpp */; };
@ -31,6 +30,7 @@
2C21A4A21178BB2200D35009 /* cppcheckexecutor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A49F1178BB2200D35009 /* cppcheckexecutor.cpp */; }; 2C21A4A21178BB2200D35009 /* cppcheckexecutor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A49F1178BB2200D35009 /* cppcheckexecutor.cpp */; };
2C21A4A31178BB2200D35009 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4A11178BB2200D35009 /* main.cpp */; }; 2C21A4A31178BB2200D35009 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4A11178BB2200D35009 /* main.cpp */; };
2C21A4A91178BB7D00D35009 /* threadexecutor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4A71178BB7D00D35009 /* threadexecutor.cpp */; }; 2C21A4A91178BB7D00D35009 /* threadexecutor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C21A4A71178BB7D00D35009 /* threadexecutor.cpp */; };
3EE0707711FED90C00D9009E /* path.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3EE0707511FED90C00D9009E /* path.cpp */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */ /* Begin PBXCopyFilesBuildPhase section */
@ -57,8 +57,6 @@
2C21A4661178BB1500D35009 /* checkdangerousfunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkdangerousfunctions.h; path = lib/checkdangerousfunctions.h; sourceTree = "<group>"; }; 2C21A4661178BB1500D35009 /* checkdangerousfunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkdangerousfunctions.h; path = lib/checkdangerousfunctions.h; sourceTree = "<group>"; };
2C21A4671178BB1500D35009 /* checkexceptionsafety.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkexceptionsafety.cpp; path = lib/checkexceptionsafety.cpp; sourceTree = "<group>"; }; 2C21A4671178BB1500D35009 /* checkexceptionsafety.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkexceptionsafety.cpp; path = lib/checkexceptionsafety.cpp; sourceTree = "<group>"; };
2C21A4681178BB1500D35009 /* checkexceptionsafety.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkexceptionsafety.h; path = lib/checkexceptionsafety.h; sourceTree = "<group>"; }; 2C21A4681178BB1500D35009 /* checkexceptionsafety.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkexceptionsafety.h; path = lib/checkexceptionsafety.h; sourceTree = "<group>"; };
2C21A4691178BB1500D35009 /* checkheaders.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkheaders.cpp; path = lib/checkheaders.cpp; sourceTree = "<group>"; };
2C21A46A1178BB1500D35009 /* checkheaders.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkheaders.h; path = lib/checkheaders.h; sourceTree = "<group>"; };
2C21A46B1178BB1500D35009 /* checkmemoryleak.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkmemoryleak.cpp; path = lib/checkmemoryleak.cpp; sourceTree = "<group>"; }; 2C21A46B1178BB1500D35009 /* checkmemoryleak.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkmemoryleak.cpp; path = lib/checkmemoryleak.cpp; sourceTree = "<group>"; };
2C21A46C1178BB1500D35009 /* checkmemoryleak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkmemoryleak.h; path = lib/checkmemoryleak.h; sourceTree = "<group>"; }; 2C21A46C1178BB1500D35009 /* checkmemoryleak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checkmemoryleak.h; path = lib/checkmemoryleak.h; sourceTree = "<group>"; };
2C21A46D1178BB1500D35009 /* checkother.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkother.cpp; path = lib/checkother.cpp; sourceTree = "<group>"; }; 2C21A46D1178BB1500D35009 /* checkother.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checkother.cpp; path = lib/checkother.cpp; sourceTree = "<group>"; };
@ -95,6 +93,8 @@
2C21A4A11178BB2200D35009 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = cli/main.cpp; sourceTree = "<group>"; }; 2C21A4A11178BB2200D35009 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = cli/main.cpp; sourceTree = "<group>"; };
2C21A4A71178BB7D00D35009 /* threadexecutor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = threadexecutor.cpp; path = cli/threadexecutor.cpp; sourceTree = "<group>"; }; 2C21A4A71178BB7D00D35009 /* threadexecutor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = threadexecutor.cpp; path = cli/threadexecutor.cpp; sourceTree = "<group>"; };
2C21A4A81178BB7D00D35009 /* threadexecutor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = threadexecutor.h; path = cli/threadexecutor.h; sourceTree = "<group>"; }; 2C21A4A81178BB7D00D35009 /* threadexecutor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = threadexecutor.h; path = cli/threadexecutor.h; sourceTree = "<group>"; };
3EE0707511FED90C00D9009E /* path.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = path.cpp; path = lib/path.cpp; sourceTree = "<group>"; };
3EE0707611FED90C00D9009E /* path.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = path.h; path = lib/path.h; sourceTree = "<group>"; };
8DD76F6C0486A84900D96B5E /* cppcheck */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cppcheck; sourceTree = BUILT_PRODUCTS_DIR; }; 8DD76F6C0486A84900D96B5E /* cppcheck */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cppcheck; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */ /* End PBXFileReference section */
@ -151,6 +151,8 @@
2C21A45D1178BB0B00D35009 /* Library */ = { 2C21A45D1178BB0B00D35009 /* Library */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
3EE0707511FED90C00D9009E /* path.cpp */,
3EE0707611FED90C00D9009E /* path.h */,
2C21A45E1178BB1500D35009 /* check.h */, 2C21A45E1178BB1500D35009 /* check.h */,
2C21A45F1178BB1500D35009 /* checkautovariables.cpp */, 2C21A45F1178BB1500D35009 /* checkautovariables.cpp */,
2C21A4601178BB1500D35009 /* checkautovariables.h */, 2C21A4601178BB1500D35009 /* checkautovariables.h */,
@ -162,8 +164,6 @@
2C21A4661178BB1500D35009 /* checkdangerousfunctions.h */, 2C21A4661178BB1500D35009 /* checkdangerousfunctions.h */,
2C21A4671178BB1500D35009 /* checkexceptionsafety.cpp */, 2C21A4671178BB1500D35009 /* checkexceptionsafety.cpp */,
2C21A4681178BB1500D35009 /* checkexceptionsafety.h */, 2C21A4681178BB1500D35009 /* checkexceptionsafety.h */,
2C21A4691178BB1500D35009 /* checkheaders.cpp */,
2C21A46A1178BB1500D35009 /* checkheaders.h */,
2C21A46B1178BB1500D35009 /* checkmemoryleak.cpp */, 2C21A46B1178BB1500D35009 /* checkmemoryleak.cpp */,
2C21A46C1178BB1500D35009 /* checkmemoryleak.h */, 2C21A46C1178BB1500D35009 /* checkmemoryleak.h */,
2C21A46D1178BB1500D35009 /* checkother.cpp */, 2C21A46D1178BB1500D35009 /* checkother.cpp */,
@ -232,7 +232,7 @@
/* Begin PBXProject section */ /* Begin PBXProject section */
08FB7793FE84155DC02AAC07 /* Project object */ = { 08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject; isa = PBXProject;
buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "cppcheck" */; buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "Cppcheck" */;
compatibilityVersion = "Xcode 3.1"; compatibilityVersion = "Xcode 3.1";
hasScannedForEncodings = 1; hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* cppcheck */; mainGroup = 08FB7794FE84155DC02AAC07 /* cppcheck */;
@ -254,7 +254,6 @@
2C21A48C1178BB1500D35009 /* checkclass.cpp in Sources */, 2C21A48C1178BB1500D35009 /* checkclass.cpp in Sources */,
2C21A48D1178BB1500D35009 /* checkdangerousfunctions.cpp in Sources */, 2C21A48D1178BB1500D35009 /* checkdangerousfunctions.cpp in Sources */,
2C21A48E1178BB1500D35009 /* checkexceptionsafety.cpp in Sources */, 2C21A48E1178BB1500D35009 /* checkexceptionsafety.cpp in Sources */,
2C21A48F1178BB1500D35009 /* checkheaders.cpp in Sources */,
2C21A4901178BB1500D35009 /* checkmemoryleak.cpp in Sources */, 2C21A4901178BB1500D35009 /* checkmemoryleak.cpp in Sources */,
2C21A4911178BB1500D35009 /* checkother.cpp in Sources */, 2C21A4911178BB1500D35009 /* checkother.cpp in Sources */,
2C21A4921178BB1500D35009 /* checkstl.cpp in Sources */, 2C21A4921178BB1500D35009 /* checkstl.cpp in Sources */,
@ -273,6 +272,7 @@
2C21A4A21178BB2200D35009 /* cppcheckexecutor.cpp in Sources */, 2C21A4A21178BB2200D35009 /* cppcheckexecutor.cpp in Sources */,
2C21A4A31178BB2200D35009 /* main.cpp in Sources */, 2C21A4A31178BB2200D35009 /* main.cpp in Sources */,
2C21A4A91178BB7D00D35009 /* threadexecutor.cpp in Sources */, 2C21A4A91178BB7D00D35009 /* threadexecutor.cpp in Sources */,
3EE0707711FED90C00D9009E /* path.cpp in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -347,7 +347,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "cppcheck" */ = { 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "Cppcheck" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
1DEB923608733DC60010E9CD /* Debug */, 1DEB923608733DC60010E9CD /* Debug */,