On Thu, May 13, 2010 at 11:27 PM, Clark Christensen <[email protected]>wrote:

> ...I was able to build after symlinking  /usr/include/inttypes.h as
> stdint.h in the Fossil build directory.
>
> Is this a case that could be handled in the source (test for SunOS, and
> include inttypes.h)?  Is it worth doing?  I'm not a C programmer myself,
> else I'd fiddle with it.
>

In case it makes a difference, neither stdint.h nor inttypes.h were added
until C99:

http://www.dinkumware.com/manuals/?manual=compleat&page=stdint.html
http://www.dinkumware.com/manuals/?manual=compleat&page=inttypes.html

AFAIK, the fossil code aims to be C89-compliant?

(In my own C projects, even those which are otherwise C89 compliant, i often
do require these two, stdint.h for the fixed-size integers and inttypes.h
for the portable printf/scanf specifiers.)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to