[cfe-dev] checker 0.195 fails on Mac (can't find 'stdint.h')

Gary Boone gary.boone at gmail.com
Sat May 9 17:53:18 PDT 2009


I downloaded the latest Mac version of the checker, but it fails. I CD  
into my Xcode project directory, then:

Success:
$ xcodebuild clean; ~/development/checker-0.147/scan-build -k -V  
xcodebuild

Fail:
$ xcodebuild clean; ~/development/checker-0.195/scan-build -k -V  
xcodebuild


Details:

1. Download and decompress the checker distribution into ~/development/ 
checker-0.147/
2. CD into my xcode project directory.
3. Execute:

$ xcodebuild clean; ~/development/checker-0.147/scan-build -k -V  
xcodebuild

This command works correctly. But the new version:

$ xcodebuild clean; ~/development/checker-0.195/scan-build -k -V  
xcodebuild

	/Users/Gary/Development/checker-0.195/lib/clang/1.0/include/stdint.h: 
32:16: fatal error: 'stdint.h' file not found

	# include_next <stdint.h>
                ^
	1 diagnostic generated.

I haven't set any paths. Has something changed that that an Include  
path is required to find stdint.h, which is in:

	checker-0.195/lib/clang/1.0/include/stdint.h

What path should I set?

Thanks,
Gary



More information about the cfe-dev mailing list