Bug 12359

Summary: Undeclared datatype (missing #include)
Product: Rarian Reporter: Daniel Macks <dmacks>
Component: GeneralAssignee: Don Scorgie <Don>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: PowerPC   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 12247    
Bug Blocks:    

Description Daniel Macks 2007-09-08 08:34:41 UTC
A user reported to me that building rarian on OS X failed:

rarian-sk-get-cl.cpp:165: error: 'uint' was not declared in this scope

but that replacing "uint" with "unsigned int" solved it. OS X does have the uint type, so that .c is just missing whatever #include declares it (it's probably part of the existing #include spaghetti on other platforms). I'm pretty sure it's <sys/types.h>.
Comment 1 Daniel Macks 2007-09-09 10:49:43 UTC
Conversely, could use a more "modern" datatype. "unsigned int" or "long int" perhaps? Based on the .cpp source, looks like it should be matched to whatever the st_mtime element of struct stat, which might be a time_t?
Comment 2 Don Scorgie 2007-09-12 11:34:29 UTC
Fixed in 0.6.0.  Not committed to SVN due to bug #12247.  Marking this as a dependance to remind me to commit when done.
Comment 3 Don Scorgie 2007-09-16 08:49:30 UTC
Committed.  Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.