Apache OpenOffice (AOO) Bugzilla – Issue 14771
IRIX Port: dmake fails to build on 1.1 beta 2
Last modified: 2003-05-26 02:26:37 UTC
Someone has changed the return type of main in dmake.c to int from void, but the header file IRIX uses still had the old definition of main with the return type of void. Line 91 of dmake/unix/sysvr4/public.h was: void main ANSI((int, char **)); and should be: int main ANSI((int, char **)); in order for IRIX to compile dmake.
accepting issue
Taking issue...
Hey Ken, I actually have a patch for this, and was planning on checking it in soon. If you would like to do it however, I'll post my patch (as trivial as it may be :-) ) George
Created attachment 6342 [details] dmake/unix/sysvr4/public.h
Created attachment 6379 [details] This is a complete patch for this problem on ALL public files, check and approve.
Committed the IRIX specific patch. Waing approval of the others to apply and close.
Ken, there are mac, qssl ?!, tos, OS/2 and many DOS/windows compilers involved. I think most of them haven't been used to compile dmake in a long time. As main() changed from void to int, it should be save to change the declaration for all remaining architectures. Despite the one solaris and maybe some bsd's none of these architectures is actually used to build OOo, so maybe your patch fixes a warning for them. I'd say go! At least it's save for me to say GO for all DOS/Windows and OS/2 targets. :-) Also GO for tos. I'd really like to see someone complaining that his OOo build broke on his Atari TT due to your change to dmake.
Applied patches, no matter how unlikely to be hit. I never want to see this problem again. George please verify and close.
patch verified, thanks Ken.
closing issue