S4: Patches needed to compile current HEAD on OpenSolaris 09.05

Torgeir Lerkerød torgeir.lerkerod at gmail.com
Fri Jul 31 01:07:02 MDT 2009


Hi Stefan,

Thanks... Yeah compilers can be tricky.... The functions (unreachable
statment) should be refactored into singel return statments. There are loads
of them in the s4 code. Oh well, when one get time.

Regards,
Torgeir

2009/7/31 Stefan (metze) Metzmacher <metze at samba.org>

> Hi Torgeir,
>
> > Attached are fixes that retain the existing functionality while add
> enough
> > for S4 to be able to compile/link and run make test. This is for files
> 0001
> > to 0004. 0005 -> removes some compiler warnings and are just cosmetic as
> > such.
> >
> > 0001-0004 is a must have for compilation with Sun cc and Sun ld.
>
> Thanks! I'll apply most of them today (after fixing some whitespaces).
>
> But I'm not sure about the code unreachable ones, maybe other compilers
> would complain, when a function exists without a 'return value;'.
>
> metze
>
>
>


More information about the samba-technical mailing list