Bug 12646 - source4/heimdal/lib/krb5/mit_glue.c
Summary: source4/heimdal/lib/krb5/mit_glue.c
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-11 17:14 UTC by Ruga
Modified: 2018-04-25 10:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-11 17:14:39 UTC
[ 887/3257] Compiling source4/heimdal/lib/krb5/mit_glue.c
In file included from ../source4/heimdal/lib/krb5/mit_glue.c:34:
In file included from ../source4/heimdal/lib/krb5/krb5_locl.h:147:
In file included from ../source4/heimdal_build/roken.h:156:
../source4/heimdal/lib/roken/roken.h.in:1081:9: warning: 'closefrom' macro redefined [-Wmacro-redefined]
#define closefrom rk_closefrom
        ^
../lib/replace/replace.h:251:9: note: previous definition is here
#define closefrom rep_closefrom
        ^
../source4/heimdal/lib/krb5/mit_glue.c:79:37: warning: passing 'const krb5_checksum *' (aka 'const struct Checksum *') to parameter of type 'Checksum *' (aka 'struct Checksum *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                               data->data, data->length, cksum);
                                                         ^~~~~
default/source4/heimdal/lib/krb5/krb5-protos.h:3784:21: note: passing argument to parameter here
        Checksum */*cksum*/);
                           ^
2 warnings generated.
Comment 1 Ruga 2018-04-25 10:02:23 UTC
[ 734/2913] Compiling source4/heimdal/lib/krb5/mit_glue.c
In file included from ../source4/heimdal/lib/krb5/mit_glue.c:34:
In file included from ../source4/heimdal/lib/krb5/krb5_locl.h:147:
In file included from ../source4/heimdal_build/roken.h:156:
../source4/heimdal/lib/roken/roken.h.in:1081:9: warning: 'closefrom' macro redefined [-Wmacro-redefined]
#define closefrom rk_closefrom
        ^
../lib/replace/replace.h:255:9: note: previous definition is here
#define closefrom rep_closefrom
        ^
../source4/heimdal/lib/krb5/mit_glue.c:79:37: warning: passing 'const krb5_checksum *' (aka 'const struct Checksum *') to parameter of type 'Checksum *' (aka 'struct Checksum *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                               data->data, data->length, cksum);
                                                         ^~~~~
default/source4/heimdal/lib/krb5/krb5-protos.h:3784:21: note: passing argument to parameter here
        Checksum */*cksum*/);
                           ^