I checked out the latest samba4 trunk code and tried to build it on latest OpenSolaris with latest SunStudio 12 update 1. The build failed.
The following is what I did:
1. git-clone git://git.samba.org/samba.git samba
2. cd samba/source4
4. ./configure.developer --enable-debug
I got following error
checking configure summary... configure: error: summary failure. Aborting config
I checked the config.log and found the root cause is that gcc option '-fullwarn' is passed to sun cc
Created attachment 4965 [details]
check sun compiler and remove -fullwarn when using sun cc
I would say that the patch is okay but I would also like to hear Jelmer's opinion.
Reviewed and applied. Thanks!