#26 OS X 10.3.7 Issues

open
nobody
None
5
2005-01-03
2005-01-03
ideopathic
No

The following compile errors were returned when building mstore:
mstore.c: In function `read_event':
mstore.c:423: warning: passing arg 2 of `ical_preprocess' from
incompatible pointer type
mstore.c: In function `write_event':
mstore.c:457: warning: unsigned int format, long unsigned int arg
(arg 3)
This I believe is due to the value of size_t on OS X is not an int,
but an unsigned long, which also calls for some conversion before
passing to standard library formatting functions as well.

Similar errors occur when compiling icap:
icaproutines.c: In function `icap_literal':
icaproutines.c:167: warning: unsigned int format, long unsigned int
arg (arg 3)

Modifications required for building:
1. In mstore.c, #include "crypt.h" is required to be commented
out, as this is a part of "unistd.h" in OS X.
2. In Makefile for libmcal, the "-shared" flag needs to be replaced
by "-bundle -flat_namespace -undefined suppress"

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks