Forum: CFEngine Help Subject: Re: [ANNOUNCE] CFEngine Community 3.3.0a1 is released Author: mvpel Link to topic: https://cfengine.com/forum/read.php?3,24790,24852#msg-24852
The config and make on HP-UX 11.11 with GCC 4.6.0 had no errors, just some warnings. gbrhpq$ gmake Making all in pub CC getopt.lo getopt.c: In function '_getopt_internal': getopt.c:409:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] getopt.c:485:2: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] getopt.c:487:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] getopt.c:487:32: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:511:16: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:541:17: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:554:17: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:558:16: warning: incompatible implicit declaration of built-in function 'strlen' CC getopt1.lo CC getloadavg.lo getloadavg.c:472:12: warning: 'channel' defined but not used [-Wunused-variable] getloadavg.c:474:12: warning: 'getloadavg_initialized' defined but not used [-Wunused-variable] getloadavg.c:476:13: warning: 'offset' defined but not used [-Wunused-variable] getloadavg.c:479:21: warning: 'nl' defined but not used [-Wunused-variable] CC unsetenv.lo CC strnlen.lo CC strndup.lo strndup.c: In function 'strndup': strndup.c:33:2: warning: implicit declaration of function 'strnlen' [-Wimplicit-function-declaration] CC setlinebuf.lo CC strlcat.lo CC strlcpy.lo CC memdup.lo CC snprintf.lo CC dirfd.lo CCLD libcfpub.la Making all in src CC libpromises_la-cf3parse.lo CC libpromises_la-cf3lex.lo CC libpromises_la-alloc.lo CC libpromises_la-patches.lo CC libpromises_la-attributes.lo CC libpromises_la-install.lo install.c: In function 'AppendPromise': install.c:217:4: warning: array subscript has type 'char' [-Wchar-subscripts] CC libpromises_la-generic_agent.lo generic_agent.c: In function 'CheckControlPromises': generic_agent.c:1662:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] generic_agent.c:1668:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC libpromises_la-dbm_api.lo CC libpromises_la-dbm_berkeley.lo dbm_berkeley.c:42:13: warning: 'BDB_NewDBComplexKey' declared 'static' but never defined [-Wunused-function] CC libpromises_la-dbm_quick.lo CC libpromises_la-dbm_tokyocab.lo CC libpromises_la-dbm_sqlite3.lo CC libpromises_la-dir.lo dir.c: In function 'GetNameMax': dir.c:196:1: warning: implicit declaration of function 'dirfd' [-Wimplicit-function-declaration] CC libpromises_la-dtypes.lo CC libpromises_la-classes.lo CC libpromises_la-env_context.lo env_context.c: In function 'IsHardClass': env_context.c:1343:1: warning: array subscript has type 'char' [-Wchar-subscripts] env_context.c:1348:1: warning: array subscript has type 'char' [-Wchar-subscripts] env_context.c:1353:1: warning: array subscript has type 'char' [-Wchar-subscripts] env_context.c:1358:1: warning: array subscript has type 'char' [-Wchar-subscripts] env_context.c: In function 'DeleteAllClasses': env_context.c:1472:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC libpromises_la-string_expressions.lo CC libpromises_la-logic_expressions.lo CC libpromises_la-files_interfaces.lo CC libpromises_la-files_properties.lo files_properties.c: In function 'ConsiderFile': files_properties.c:113:4: warning: array subscript has type 'char' [-Wchar-subscripts] CC libpromises_la-files_select.lo files_select.c: In function 'SelectModeMatch': files_select.c:369:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC libpromises_la-files_operators.lo files_operators.c: In function 'MakeUidList': files_operators.c:1986:10: warning: implicit declaration of function 'setnetgrent' [-Wimplicit-function-declaration] files_operators.c:1989:10: warning: implicit declaration of function 'getnetgrent' [-Wimplicit-function-declaration] files_operators.c:1997:10: warning: implicit declaration of function 'endnetgrent' [-Wimplicit-function-declaration] CC libpromises_la-files_repository.lo CC libpromises_la-files_copy.lo CC libpromises_la-files_editline.lo files_editline.c: In function 'EditLineByColumn': files_editline.c:1426:10: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] files_editline.c:1431:10: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] files_editline.c:1442:10: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] files_editline.c:1447:10: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] CC libpromises_la-files_edit.lo CC libpromises_la-files_links.lo CC libpromises_la-files_hashes.lo CC libpromises_la-files_names.lo files_names.c: In function 'EmptyString': files_names.c:333:4: warning: array subscript has type 'char' [-Wchar-subscripts] files_names.c: In function 'CanonifyNameInPlace': files_names.c:611:4: warning: array subscript has type 'char' [-Wchar-subscripts] CC libpromises_la-chflags.lo CC libpromises_la-modes.lo CC libpromises_la-exec_tools.lo exec_tools.c: In function 'ArgSplitCommand': exec_tools.c:219:4: warning: array subscript has type 'char' [-Wchar-subscripts] CC libpromises_la-nfs.lo nfs.c: In function 'VerifyNotInFstab': nfs.c:409:15: warning: variable 'rmountpt' set but not used [-Wunused-but-set-variable] CC libpromises_la-ontology.lo CC libpromises_la-item_lib.lo CC libpromises_la-string_lib.lo CC libpromises_la-files_lib.lo CC libpromises_la-addr_lib.lo CC libpromises_la-package_lib.lo CC libpromises_la-alphalist.lo alphalist.c:167:13: warning: 'ShowAlphaList' defined but not used [-Wunused-function] CC libpromises_la-cf_sql.lo CC libpromises_la-client_protocol.lo client_protocol.c: In function 'IdentifyAgent': client_protocol.c:85:31: warning: passing argument 3 of 'getsockname' from incompatible pointer type /opt/hp-gcc-4.6.0/lib/gcc/hppa1.1-hp-hpux11.11/4.6.0/include-fixed/sys/socket.h:454:15: note: expected 'socklen_t *' but argument is of type 'int *' CC libpromises_la-client_code.lo client_code.c: In function 'NewServerConnection': client_code.c:119:10: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] CC libpromises_la-communication.lo CC libpromises_la-net.lo CC libpromises_la-sockaddr.lo CC libpromises_la-recursion.lo CC libpromises_la-processes_select.lo CC libpromises_la-fncall.lo fncall.c:126:13: warning: 'PrintFunctions' defined but not used [-Wunused-function] CC libpromises_la-cf3globals.lo CC libpromises_la-reporting.lo CC libpromises_la-evalfunction.lo evalfunction.c: In function 'FnCallReturnsZero': evalfunction.c:699:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c:705:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c: In function 'FnCallExecResult': evalfunction.c:738:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c:744:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c: In function 'FnCallSplayClass': evalfunction.c:815:22: warning: variable 'minblocks' set but not used [-Wunused-but-set-variable] evalfunction.c: In function 'FnCallGetFields': evalfunction.c:1510:10: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] evalfunction.c: In function 'FnCallSelectServers': evalfunction.c:1808:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c:1816:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c: In function 'FnCallIsNewerThan': evalfunction.c:1848:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] evalfunction.c: In function 'FnCallIsAccessedBefore': evalfunction.c:1879:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] evalfunction.c: In function 'FnCallIsChangedBefore': evalfunction.c:1910:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] evalfunction.c: In function 'FnCallHostInNetgroup': evalfunction.c:2087:1: warning: implicit declaration of function 'setnetgrent' [-Wimplicit-function-declaration] evalfunction.c:2089:1: warning: implicit declaration of function 'getnetgrent' [-Wimplicit-function-declaration] evalfunction.c:2093:7: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] evalfunction.c:2100:7: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] evalfunction.c:2106:1: warning: implicit declaration of function 'endnetgrent' [-Wimplicit-function-declaration] evalfunction.c: In function 'ReadList': evalfunction.c:3177:14: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c:3188:14: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] evalfunction.c: In function 'BuildLineArray': evalfunction.c:3907:14: warning: variable 'rval' set but not used [-Wunused-but-set-variable] CC libpromises_la-sysinfo.lo sysinfo.c:1031:12: warning: 'Linux_Fedora_Version' defined but not used [-Wunused-function] sysinfo.c:1113:12: warning: 'Linux_Redhat_Version' defined but not used [-Wunused-function] sysinfo.c:926:13: warning: 'Linux_Oracle_VM_Server_Version' defined but not used [-Wunused-function] sysinfo.c:987:13: warning: 'Linux_Oracle_Version' defined but not used [-Wunused-function] sysinfo.c:1348:12: warning: 'Linux_Suse_Version' defined but not used [-Wunused-function] sysinfo.c:1545:12: warning: 'Linux_Slackware_Version' defined but not used [-Wunused-function] sysinfo.c:1588:12: warning: 'Linux_Debian_Version' defined but not used [-Wunused-function] sysinfo.c:1679:12: warning: 'Linux_Mandrake_Version' defined but not used [-Wunused-function] sysinfo.c:1728:12: warning: 'Linux_Mandriva_Version' defined but not used [-Wunused-function] CC libpromises_la-conversion.lo conversion.c: In function 'IsSpace': conversion.c:1367:5: warning: array subscript has type 'char' [-Wchar-subscripts] conversion.c: In function 'IsNumber': conversion.c:1384:5: warning: array subscript has type 'char' [-Wchar-subscripts] conversion.c: In function 'Str2Uid': conversion.c:1500:4: warning: implicit declaration of function 'setnetgrent' [-Wimplicit-function-declaration] conversion.c:1503:4: warning: implicit declaration of function 'getnetgrent' [-Wimplicit-function-declaration] conversion.c:1511:4: warning: implicit declaration of function 'endnetgrent' [-Wimplicit-function-declaration] CC libpromises_la-scope.lo CC libpromises_la-assoc.lo assoc.c:94:13: warning: 'ShowAssoc' defined but not used [-Wunused-function] CC libpromises_la-comparray.lo CC libpromises_la-vars.lo vars.c: In function 'GetVariable': vars.c:173:7: warning: initialization discards 'const' qualifier from pointer target type vars.c:204:4: warning: initialization discards 'const' qualifier from pointer target type vars.c:215:4: warning: initialization discards 'const' qualifier from pointer target type vars.c: In function 'AddVariableHash': vars.c:803:4: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat] CC libpromises_la-args.lo CC libpromises_la-hashes.lo CC libpromises_la-crypto.lo crypto.c:633:14: warning: 'KeyPrint' defined but not used [-Wunused-function] CC libpromises_la-sort.lo CC libpromises_la-keyring.lo CC libpromises_la-full_write.lo CC libpromises_la-expand.lo expand.c: In function 'ConvergeVarHashPromise': expand.c:1162:17: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] expand.c:1162:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat] expand.c: At top level: expand.c:1228:13: warning: 'ConvergePromiseValues' defined but not used [-Wunused-function] CC libpromises_la-matching.lo matching.c: In function 'MatchPolicy': matching.c:481:10: warning: array subscript has type 'char' [-Wchar-subscripts] matching.c:485:10: warning: array subscript has type 'char' [-Wchar-subscripts] matching.c:493:16: warning: array subscript has type 'char' [-Wchar-subscripts] matching.c:495:19: warning: array subscript has type 'char' [-Wchar-subscripts] matching.c:521:13: warning: array subscript has type 'char' [-Wchar-subscripts] matching.c: In function 'EscapeSpecialChars': matching.c:787:4: warning: array subscript has type 'char' [-Wchar-subscripts] CC libpromises_la-selfdiagnostic.lo selfdiagnostic.c:37:13: warning: 'TestFunctionIntegrity' declared 'static' but never defined [-Wunused-function] CC libpromises_la-instrumentation.lo CC libpromises_la-granules.lo granules.c:134:14: warning: 'PrintTimeSlot' defined but not used [-Wunused-function] CC libpromises_la-timeout.lo CC libpromises_la-promises.lo promises.c:640:13: warning: 'DeleteDeRefPromise' defined but not used [-Wunused-function] CC libpromises_la-constraints.lo CC libpromises_la-iteration.lo iteration.c: In function 'NewIterationContext': iteration.c:65:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC libpromises_la-rlist.lo rlist.c:196:12: warning: 'IsRegexIn' defined but not used [-Wunused-function] CC libpromises_la-syntax.lo CC libpromises_la-logging.lo CC libpromises_la-signals.lo CC libpromises_la-transaction.lo transaction.c: In function 'RemoveDates': transaction.c:659:7: warning: array subscript has type 'char' [-Wchar-subscripts] CC libpromises_la-cfstream.lo CC libpromises_la-pipes.lo CC libpromises_la-html.lo CC libpromises_la-storage_tools.lo CC libpromises_la-verify_reports.lo CC libpromises_la-verify_processes.lo CC libpromises_la-enterprise_stubs.lo CC libpromises_la-bootstrap.lo CC libpromises_la-mod_common.lo CC libpromises_la-mod_access.lo CC libpromises_la-mod_exec.lo CC libpromises_la-mod_methods.lo CC libpromises_la-mod_interfaces.lo CC libpromises_la-mod_packages.lo CC libpromises_la-mod_files.lo CC libpromises_la-mod_report.lo CC libpromises_la-mod_storage.lo CC libpromises_la-mod_knowledge.lo CC libpromises_la-mod_measurement.lo CC libpromises_la-mod_databases.lo CC libpromises_la-mod_services.lo CC libpromises_la-mod_process.lo CC libpromises_la-mod_environ.lo CC libpromises_la-mod_outputs.lo CC libpromises_la-writer.lo CC libpromises_la-unix.lo unix.c: In function 'Unix_DoAllSignals': unix.c:305:13: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] unix.c:309:13: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] unix.c:314:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] unix.c: In function 'Unix_LoadProcessTable': unix.c:421:4: warning: array subscript has type 'char' [-Wchar-subscripts] unix.c: In function 'Unix_GetInterfaceInfo': unix.c:536:26: warning: unused variable 'hw_mac' [-Wunused-variable] CC libpromises_la-json.lo CC libpromises_la-xml_writer.lo CCLD libpromises.la CC cfknow.o cfknow.c: In function 'VerifyInferencePromise': cfknow.c:767:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] cfknow.c:767:7: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] cfknow.c: In function 'VerifyThingsPromise': cfknow.c:798:4: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] cfknow.c:824:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] cfknow.c:837:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] cfknow.c: In function 'VerifyTopicPromise': cfknow.c:896:4: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] cfknow.c:910:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] cfknow.c:923:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] cfknow.c: In function 'VerifyOccurrencePromises': cfknow.c:1002:4: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] cfknow.c: In function 'AddTopicAssociation': cfknow.c:1267:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC manual.o manual.c: In function 'ReadTexinfoFileF': manual.c:600:1: warning: implicit declaration of function 'ftello' [-Wimplicit-function-declaration] CC export_xml.o CCLD cf-know libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-know' will be relinked during installation CC cfpromises.o CCLD cf-promises libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-promises' will be relinked during installation CC agent.o agent.c: In function 'CheckOpts': agent.c:225:14: warning: array subscript has type 'char' [-Wchar-subscripts] agent.c:230:14: warning: array subscript has type 'char' [-Wchar-subscripts] agent.c: In function 'KeepControlPromises': agent.c:486:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] agent.c:621:2: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] agent.c:697:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] agent.c:719:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] agent.c: In function 'CheckAgentAccess': agent.c:946:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] agent.c:954:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC verify_files.o CC verify_storage.o CC verify_exec.o CC verify_methods.o CC verify_interfaces.o CC verify_packages.o verify_packages.c: In function 'PackageSanityCheck': verify_packages.c:160:10: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'void *' [-Wformat] verify_packages.c: In function 'VerifyPromisedPackage': verify_packages.c:529:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] verify_packages.c:590:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] verify_packages.c: In function 'FindLargestVersionAvail': verify_packages.c:1748:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC verify_databases.o CC verify_services.o verify_services.c: In function 'VerifyServices': verify_services.c:248:14: warning: 'default_bundle' may be used uninitialized in this function [-Wuninitialized] verify_services.c:204:11: note: 'default_bundle' was declared here CC verify_environments.o CC agentdiagnostic.o CCLD cf-agent libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-agent' will be relinked during installation CC verify_measurements.o CC env_monitor.o CC mon_cpu.o CC mon_disk.o CC mon_entropy.o CC mon_load.o CC mon_network_sniffer.o CC mon_network.o CC mon_processes.o CC mon_temp.o CC monitor.o CCLD cf-monitord libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-monitord' will be relinked during installation CC server.o server.c: In function 'StartServer': server.c:429:38: warning: passing argument 3 of 'accept' from incompatible pointer type /opt/hp-gcc-4.6.0/lib/gcc/hppa1.1-hp-hpux11.11/4.6.0/include-fixed/sys/socket.h:450:15: note: expected 'socklen_t *' but argument is of type 'int *' server.c: In function 'AuthorizeRoles': server.c:2486:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] server.c:2500:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] server.c:2505:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] CC server_transform.o server_transform.c: In function 'KeepControlPromises': server_transform.c:363:7: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat] CCLD cf-serverd libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-serverd' will be relinked during installation CC exec.o exec.c: In function 'MailResult': exec.c:979:10: warning: unused variable 'now' [-Wunused-variable] CCLD cf-execd libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-execd' will be relinked during installation CC runagent.o CCLD cf-runagent libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-runagent' will be relinked during installation CC cfkey.o CCLD cf-key libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-key' will be relinked during installation CC cfreport.o cfreport.c: In function 'KeepReportsControlPromises': cfreport.c:700:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] cfreport.c: In function 'Format': cfreport.c:2038:4: warning: array subscript has type 'char' [-Wchar-subscripts] CCLD cf-report libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `cf-report' will be relinked during installation Making all in docs Making all in examples Making all in example_config Making all in masterfiles Making all in tests Making all in unit Making all in load Making all in acceptance CC mock-package-manager.o CCLD mock-package-manager libtool: link: warning: this platform does not like uninstalled shared libraries libtool: link: warning: `mock-package-manager' will be relinked during installation gbrhpq$ _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine