Hi Guys,

I have recently purchased an Ibook and naturaly, I
wanted to port my
programs one of which SkipStone
(http://muhri.net/skipstone) to MacOSX - I
have installed fink and mozilla 1.0.0 already so the
job thats left is
compiling SkipStone. It wasn't too difficult to get it
to generate all the
required makefiles using configure. However, all my
*.c files and *.cpp
files compile fine - only one does not which is
mozilla.cpp - I get those
errors and make quits
"
In file included from mozilla.h:46,
from mozilla.cpp:6:
/sw/include/mozilla/necko/nsNetUtil.h:635: default
argument for `class
nsIRequestObserver * aObserver' has type `void *'
/sw/include/mozilla/necko/nsNetUtil.h:635: default
argument for `class
nsISupports * aContext' has type `void *'
/sw/include/mozilla/necko/nsNetUtil.h:677: default
argument for `class
nsIRequestObserver * aObserver' has type `void *'
/sw/include/mozilla/necko/nsNetUtil.h:677: default
argument for `class
nsISupports * aContext' has type `void *'
make[1]: *** [mozilla.o] Error 1
make: *** [all] Error 2

- I had warnings before regarding returning NULL for
structs such as
(nsIDocShell *) so I just made them return
(nsIDocShell *)NULL instead and
those went away. I had to add the -traditional-cpp
flag to the CFLAGS
otherwise the compiler would complain about bad macros
in include files.
Changed the symbol in configure.in to look for
pthread_create instead of
pthread_kill since its not resolvable in darwin..
Attached is a diff of
skipstone after the changes and a mozilla.h (I moved
all the includes there
to play with their order but it didn't seem to help)
.. Any help would be
greately appreciated. The files SkipStonePrompter.cpp
and PromptService.cpp
compile just fine. Thanks in advance...

PS, please cc me, I'm not subscribed.
Maher


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to