[syslog-ng] [Bug 116] New: Gentoo QA warning: app-admin/syslog-ng-3.1.4: logpatterns.c: 220: warning: implicit declaration of function ‘atoi’

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Wed Mar 2 05:07:58 CET 2011


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 at balabit.hu
        ReportedBy: mrdanwallis at 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.


More information about the syslog-ng mailing list