Can we include "includes" a little later?
realrichardsharpe at gmail.com
Fri Dec 7 10:09:27 MST 2012
In our build there are lots of instances of these warnings:
warning: "PRIi64" redefined
In file included from include/includes.h:23,
./../lib/replace/../replace/replace.h:91:1: warning: this is the
location of the previous definition
In file included from
These come about because we include includes.h before smb_krb5.conf in
includes.h pulls in replace.h which defines all those PRIxxx things
before the system includes that get pulled in by smb_krb5.h.
It sure would remove a lot of useless noise warnings if we changed the
order of includes ...
More information about the samba-technical