Samba4, latest build fails: wrong int and long int casts

Charles Tryon charles.tryon at gmail.com
Wed Aug 1 08:04:36 MDT 2012


Just curious: What platform are you getting this error on?  I saw this
error too, but *only* on my development box which was still running an
older version of Fedora13.  My newer test boxes haven't had the same error.


On Wed, Aug 1, 2012 at 8:19 AM, steve <steve at steve-ss.com> wrote:

> Ubuntu 12.04
>
> [2493/4244] Compiling source4/heimdal/lib/com_err/**error.c
> ../source4/heimdal/lib/com_**err/error.c: In function ‘com_right_r’:
> ../source4/heimdal/lib/com_**err/error.c:68:6: error: format ‘%d’ expects
> argument of type ‘int’, but argument 4 has type ‘long int’ [-Werror=format]
> ../source4/heimdal/lib/com_**err/error.c:68:6: error: format ‘%d’ expects
> argument of type ‘int’, but argument 4 has type ‘long int’ [-Werror=format]
> cc1: some warnings being treated as errors
> Waf: Leaving directory `/home/steve/samba-master/bin'
> Build failed: -> task failed (err #1):
> {task: cc error.c -> error_128.o}
> make: *** [install] Error 1
>
> Cheers,
> Steve
>
>


-- 
    Charles Tryon
_________________________________________________________________________
  “Risks are not to be evaluated in terms of the probability of success,
but in terms of the value of the goal.”
                - Ralph D. Winter


More information about the samba-technical mailing list