[op5-users] Merlin (0.6.3 beta1) compilation warnings

Frost, Mark {PBG} mark.frost1 at pepsi.com
Thu Sep 17 03:05:47 CEST 2009


Thought I'd report this.  I'm building Merlin 0.6.3 beta1 (most current
version I can see via git on the website).

I'm on OpenSuse 11.1 which uses gcc 4.3.2.


		$ make CPPFLAGS="-I/usr/local/include"
		    CC module.o
		module.c: In function mrm_ipc_write:
		module.c:138: warning: cast from pointer to integer of
different size
		module.c: In function setup_host_hash_tables:
		module.c:178: warning: cast from pointer to integer of
different size
		module.c:186: warning: cast to pointer from integer of
different size
		    CC hooks.o
		hooks.c: In function get_selection:
		hooks.c:28: warning: cast from pointer to integer of
different size
		    CC control.o
		control.c: In function create_host_lists:
		control.c:34: warning: cast from pointer to integer of
different size
		control.c: In function create_service_lists:
		control.c:52: warning: cast from pointer to integer of
different size
		    CC hash.o
		sh gen-version.sh > version.c
		    CC version.o
		    CC logging.o
		    CC cfgfile.o
		    CC ipc.o
		    CC shared.o
		    CC io.o
		    CC protocol.o
		    CC data.o
		    CC binlog.o
		    LINK merlin.so
		    CC status.o
		    CC daemonize.o
		    CC daemon.o
		daemon.c: In function ipc_reap_events:
		daemon.c:354: warning: format %zu expects type size_t,
but argument 3 has type int
		daemon.c: In function import_objects_and_status:
		daemon.c:270: warning: result may be used uninitialized
in this function
		    CC net.o
		    CC sql.o
		    CC db_updater.o
		    LINK merlind

Mark


More information about the op5-users mailing list