[Bug 116] New: Gentoo QA warning: app-admin/syslog-ng-3.1.4: logpatterns.c: 220: warning: implicit declaration of function ‘atoi’
https://bugzilla.balabit.com/show_bug.cgi?id=116 Summary: Gentoo QA warning: app-admin/syslog-ng-3.1.4: logpatterns.c:220: warning: implicit declaration of function ‘atoi’ Product: syslog-ng Version: 3.1.x Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: mrdanwallis@gmail.com Type of the Report: bug Estimated Hours: 0.0 When installing the app-admin/syslog-ng-3.1.4 package on my Gentoo system, I received the following notification: * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * logpatterns.c:220: warning: implicit declaration of function ‘atoi’ * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://www.balabit.com/products/syslog_ng/ * ERROR: app-admin/syslog-ng-3.1.4 failed: * install aborted due to poor programming practices shown above Looking through the build output, here is the warning in context: i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -Wall -c apphook.c i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -Wall -c radix.c i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -Wall -c logpatterns.c logpatterns.c: In function ‘log_classifier_xml_start_element’: logpatterns.c:220: warning: implicit declaration of function ‘atoi’ i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -Wall -c cfg-lex.c cfg-lex.c:1562: warning: ‘input’ defined but not used i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -Wall -c cfg-grammar.c -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=116 Balazs Scheidler <bazsi@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution| |FIXED Status|NEW |RESOLVED --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2011-03-02 10:27:37 --- Thanks. Fixed here: commit ab5e6af8b570068ae99d43e62274856d667c5939 Author: Balazs Scheidler <bazsi@balabit.hu> Date: Wed Mar 2 10:25:08 2011 +0100 fixed compilation warnings Reported-By: Dan Wallis <mrdanwallis@gmail.com> Signed-off-by: Balazs Scheidler <bazsi@balabit.hu> -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com