bugGNU nano - Bugs: bug #27276, Compiler warnings generated with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27276: Compiler warnings generated with -pedantic -Wall -Wextra

Submitter:  Andreas Gockel <gecko>
Submitted:  Tue 18 Aug 2009 09:44:00 AM UTC
   
 
Severity:  3 - Normal Status:  Works For Me
Assigned to:  bens Open/Closed:  Closed

Sat 17 May 2014 11:55:00 AM UTC, comment #4: 

Warnings are not bugs.  However, patches to silence the warnings are welcome.

Benno Schulenberg <bens>
Group administrator
Sun 23 Feb 2014 12:47:00 AM UTC, comment #3: 

Lets update the bug:


Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix


The patch applies changes from version 2.3.2 to current svn version (4595)
sudo -u fink-bld [ENV] sh -c /tmp/fink.Mzpat
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf /sw/src/nano-2.3.2.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.6evte
[ -r /sw/fink/dists/stable/main/finkinfo/editors/nano-cur.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.VJEM1
patch -p1 < /sw/fink/dists/stable/main/finkinfo/editors/nano-cur.patch
patching file AUTHORS
patching file ChangeLog
patching file NEWS
patching file README
patching file configure.ac
patching file doc/faq.html
patching file doc/man/nano.1
patching file doc/nanorc.sample.in
patching file doc/syntax/c.nanorc
patching file doc/syntax/html.nanorc
patching file src/cut.c
patching file src/files.c
patching file src/global.c
patching file src/nano.c
patching file src/winio.c
sudo -u fink-bld [ENV] sh -c /tmp/fink.KZbB_
sed -i -e 's,makeinfo,/usr/bin/makeinfo,g' doc/texinfo/Makefile.am
autoreconf -f -i -s
Creating directory intl
Copying file intl/ChangeLog
Copying file intl/Makefile.in
Copying file intl/VERSION
Copying file intl/bindtextdom.c
Copying file intl/config.charset
Copying file intl/dcgettext.c
Copying file intl/dcigettext.c
Copying file intl/dcngettext.c
Copying file intl/dgettext.c
Copying file intl/dngettext.c
Copying file intl/eval-plural.h
Copying file intl/explodename.c
Copying file intl/finddomain.c
Copying file intl/gettext.c
Copying file intl/gettextP.h
Copying file intl/gmo.h
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/l10nflist.c
Copying file intl/libgnuintl.h
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/ngettext.c
Copying file intl/os2compat.c
Copying file intl/os2compat.h
Copying file intl/osdep.c
Copying file intl/plural-exp.c
Copying file intl/plural-exp.h
Copying file intl/plural.c
Copying file intl/plural.y
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/textdomain.c
Copying file mkinstalldirs
main::scan_file() called too early to check prototype at /sw/bin/aclocal line 643.
./configure --prefix=/sw --disable-dependency-tracking --disable-wrapping-as-root --enable-utf8
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define _EXTENSIONS_... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether ln -s works... yes
checking for strerror in -lcposix... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for msgfmt... /sw/bin/msgfmt
checking for gmsgfmt... /sw/bin/msgfmt
checking for xgettext... /sw/bin/xgettext
checking for msgmerge... /sw/bin/msgmerge
checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... /sw/lib/libiconv.dylib
checking for GNU gettext in libintl... yes
checking how to link with libintl... /sw/lib/libintl.dylib
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking magic.h usability... no
checking magic.h presence... no
checking for magic.h... no
checking whether to enable UTF-8 support... yes
checking whether to use slang... no
checking for getdelim... yes
checking for getline... yes
checking for isblank... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strncasecmp... yes
checking for strnlen... yes
checking for vsnprintf... yes
checking for iswalnum... yes
checking for iswblank... yes
checking for iswpunct... yes
checking for iswspace... yes
checking for nl_langinfo... yes
checking for mblen... yes
checking for mbstowcs... yes
checking for mbtowc... yes
checking for wctomb... yes
checking for wcwidth... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for ncursesw5-config... ncursesw5-config
checking for get_wch in -lncursesw... yes
Using ncursesw as the curses library
checking for use_default_colors in -lncursesw... yes
checking for GNU-style word boundary regex support... no
checking whether _XOPEN_SOURCE_EXTENDED is needed... no
checking whether LINES and COLS can be redefined... yes
checking for magic_open in -lmagic... no
checking for HTML support in groff... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/nanorc.sample
config.status: creating doc/man/Makefile
config.status: creating doc/man/fr/Makefile
config.status: creating doc/syntax/Makefile
config.status: creating doc/texinfo/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating nano.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make prefix=/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in doc
Making all in man
groff -t -mandoc -Thtml < nano.1 > nano.1.html
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in fr
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[6]: Nothing to be done for `all-am'.
make[5]: Nothing to be done for `all-am'.
Making all in syntax
make[3]: Nothing to be done for `all'.
Making all in texinfo
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c browser.c
browser.c:289:16: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                if (selected >= width)
                    ~~~~~~~~ ^  ~~~~~
browser.c:466:12: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (d_len > longest)
            ~~~~~ ^ ~~~~~~~
browser.c:467:23: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
            longest = (d_len > COLS) ? COLS : d_len;
                       ~~~~~ ^ ~~~~
browser.c:622:41: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        bool dots = (COLS >= 15 && filetaillen >= longest -
                                   ~~~~~~~~~~~ ^  ~~~~~~~~~
browser.c:703:13: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (foolen > foomaxlen) {
            ~~~~~~ ^ ~~~~~~~~~
browser.c:786:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                (strlenpt(last_search) > COLS / 3) ? "..." : "");
                 ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  _builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS_)
                                                       ^
6 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c chars.c
chars.c:485:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (pos_prev <= buf_mb_len)
            ~~~~~~~~ ^  ~~~~~~~~~~
1 warning generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c color.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c cut.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c files.c
files.c:2821:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                if (common_len > COLS - 1) {
                    ~~~~~~~~~~ ^ ~~~~~~~~
files.c:2826:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                if (common_len > longest_name)
                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~
files.c:2853:24: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
                        num_matches - match > ncols) {
                        ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c global.c
global.c:1355:17: warning: unused parameter 'menu' [-Wunused-parameter]
sc *strtosc(int menu, char *input)
                ^
1 warning generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c help.c
help.c:115:20: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
            for (i = 0; i < editwinrows && *ptr != '\0'; i++) {
                        ~ ^ ~~~~~~~~~~~
help.c:152:12: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                if (line > editwinrows - 2)
                    ~~~~ ^ ~~~~~~~~~~~~~~~
help.c:542:32: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    if (strnlenpt(ptr, retval) > help_cols + 1)
        ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c move.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c nano.c
nano.c:417:61: warning: unused parameter 'file_bot' [-Wunused-parameter]
void copy_from_filestruct(filestruct *file_top, filestruct *file_bot)
                                                            ^
nano.c:1133:35: warning: unused parameter 'signal' [-Wunused-parameter]
RETSIGTYPE cancel_stdin_pager(int signal)
                                  ^
nano.c:1211:31: warning: unused parameter 'signal' [-Wunused-parameter]
RETSIGTYPE handle_hupterm(int signal)
                              ^
nano.c:1217:27: warning: unused parameter 'signal' [-Wunused-parameter]
RETSIGTYPE do_suspend(int signal)
                          ^
nano.c:1259:28: warning: unused parameter 'signal' [-Wunused-parameter]
RETSIGTYPE do_continue(int signal)
                           ^
nano.c:1288:32: warning: unused parameter 'signal' [-Wunused-parameter]
RETSIGTYPE handle_sigwinch(int signal)
                               ^
6 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c prompt.c
prompt.c:260:14: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        if (mouse_x >= start_col && mouse_y == 0) {
            ~~~~~~~ ^  ~~~~~~~~~
prompt.c:753:37: warning: comparison of integers of different signs: 'long' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    reverse = ((ch - matchbrackets) >= matchhalf);
                ~~~~~~~~~~~~~~~~~~  ^  ~~~~~~~~~
prompt.c:826:39: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    if (column == start_col || column < COLS - 1)
                               ~~~~~~ ^ ~~~~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c rcfile.c
rcfile.c:383:28: warning: unused parameter 'ptr' [-Wunused-parameter]
void parse_magictype(char *ptr)
                           ^
rcfile.c:479:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    for (i = 0; i < strlen(keycopy); i++)
                ~ ^ ~~~~~~~~~~~~~~~
rcfile.c:576:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    for (i = 0; i < strlen(keycopy); i++)
                ~ ^ ~~~~~~~~~~~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c search.c
search.c:169:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                (strlenpt(last_search) > COLS / 3) ? "..." : "");
                 ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  _builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS_)
                                                       ^
search.c:609:46: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        if (*c != '\\' || num < 1 || num > 9 || num >
                                                ~~~ ^
search.c:1235:37: warning: comparison of integers of different signs: 'long' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    reverse = ((ch - matchbrackets) >= matchhalf);
                ~~~~~~~~~~~~~~~~~~  ^  ~~~~~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c text.c
text.c:295:15: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
            if (cols <= indent_col) {
                ~~~~ ^  ~~~~~~~~~~
text.c:752:31: warning: unused parameter 'signal' [-Wunused-parameter]
RETSIGTYPE cancel_command(int signal)
                              ^
text.c:901:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
        if (u->begin != strlen(fs->current->data)) {
            ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~
text.c:1021:27: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (fs->current_x == u->begin) {
            ~~~~~~~~~~~~~ ^  ~~~~~~~~
text.c:1035:27: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        } else if (fs->current_x == u->begin - 1) {
                   ~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
text.c:1189:15: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        if (wrap_loc == indent_len)
            ~~~~~~~~ ^  ~~~~~~~~~~
text.c:1228:38: warning: comparison of integers of different signs: 'unsigned long' and 'ssize_t' (aka 'long') [-Wsign-compare]
        if (after_break_len + next_line_len <= fill) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
text.c:1319:29: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'ssize_t' (aka 'long') [-Wsign-compare]
    if (openfile->current_x > wrap_loc) {
        ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
text.c:1336:61: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'ssize_t' (aka 'long') [-Wsign-compare]
        if (openfile->mark_begin == line && openfile->mark_begin_x >
                                            ~~~~~~~~~~~~~~~~~~~~~~ ^
text.c:1372:34: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    while (*line != '\0' && goal >= cur_pos) {
                            ~~~~ ^  ~~~~~~~
text.c:1392:14: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    if (goal >= cur_pos)
        ~~~~ ^  ~~~~~~~
text.c:1537:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
                        paragraph && openfile->mark_begin_x >= end -
                                     ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~
text.c:1592:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
                        paragraph && openfile->mark_begin_x >= end -
                                     ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~
text.c:1633:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
            if (openfile->mark_begin_x > new_end - new_paragraph_data)
                ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
text.c:2035:55: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare]
        filebot_inpar = (openfile->current->lineno + par_len ==
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
text.c:2152:58: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'ssize_t' (aka 'long') [-Wsign-compare]
        while (par_len > 0 && strlenpt(openfile->current->data) >
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
text.c:2210:47: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'ssize_t' (aka 'long') [-Wsign-compare]
                openfile->current && openfile->mark_begin_x >
                                     ~~~~~~~~~~~~~~~~~~~~~~ ^
17 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c utils.c
utils.c:274:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    for (i = 0; i < strlen(r); i++) {
                ~ ^ ~~~~~~~~~
utils.c:466:31: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    if (column == 0 || column < COLS - 1)
                       ~~~~~~ ^ ~~~~~~~~
utils.c:525:13: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (maxlen <= s_len)
            ~~~~~~ ^  ~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/share/locale\" -DSYSCONFDIR=\"/tmp/fink.build/root-nano-cur-2.3.2+svn4595-1/sw/etc\"  -I/sw/include/ncursesw -I/sw/include -D_FORTIFY_SOURCE=2 -I/sw/include/ncursesw -I/sw/include  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra -c winio.c
winio.c:1693:13: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
            if ((j >= currslen) && (*mouse_x % i < COLS % i))
                 ~ ^  ~~~~~~~~
winio.c:1698:12: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
            if (j >= currslen)
                ~ ^  ~~~~~~~~
winio.c:1775:19: warning: unused parameter 'func_key' [-Wunused-parameter]
        *meta_key, bool *func_key)
                         ^
winio.c:2128:13: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (verlen > (COLS / 3) - 3)
            ~~~~~~ ^ ~~~~~~~~~~~~~~
winio.c:2156:31: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    if (space > 0 && statelen < space)
                     ~~~~~~~~ ^ ~~~~~
winio.c:2176:41: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
    if (!newfie && prefixlen + statelen < space)
                   ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
winio.c:2185:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    if (space >= prefixlen + statelen)
        ~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~
winio.c:2197:30: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        dots = (space >= 8 && lenpt >= space);
                              ~~~~~ ^  ~~~~~
winio.c:2237:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (statelen >= COLS - 1)
            ~~~~~~~~ ^  ~~~~~~~~
winio.c:2561:33: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                    else if (startmatch.rm_so < endpos &&
                             ~~~~~~~~~~~~~~~~ ^ ~~~~~~
winio.c:2562:21: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                        startmatch.rm_eo > startpos) {
                        ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
winio.c:2563:32: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                        x_start = (startmatch.rm_so <= startpos) ? 0 :
                                   ~~~~~~~~~~~~~~~~ ^  ~~~~~~~~
winio.c:2666:19: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                        endmatch.rm_eo <= startpos))
                        ~~~~~~~~~~~~~~ ^  ~~~~~~~~
winio.c:2690:24: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                    while (start_col < endpos) {
                           ~~~~~~~~~ ^ ~~~~~~
winio.c:2694:34: warning: comparison of integers of different signs: 'long long' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                                start_col + startmatch.rm_so >= endpos)
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
winio.c:2702:32: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                        x_start = (startmatch.rm_so <= startpos) ? 0 :
                                   ~~~~~~~~~~~~~~~~ ^  ~~~~~~~~
winio.c:2719:27: warning: comparison of integers of different signs: 'regoff_t' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
                            if (endmatch.rm_eo > startpos &&
                                ~~~~~~~~~~~~~~ ^ ~~~~~~~~
winio.c:2900:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
        for (index += COLS; index <= full_length && line < editwinrows; index += COLS) {
                            ~~~~~ ^  ~~~~~~~~~~~
18 warnings generated.
gcc  -g -O2 -fstack-protector -Wformat -Werror=format-security -fPIE -pedantic -Wall -Wextra  -Wl,-read_only_stubs -Wl,-bind_at_load -fPIE -Wl,-pie -L/sw/lib -o nano browser.o chars.o color.o cut.o files.o global.o help.o move.o nano.o prompt.o rcfile.o search.o text.o utils.o winio.o /sw/lib/libintl.dylib -L/sw/lib -lncursesw
make[2]: Nothing to be done for `all-am'.

Andreas Gockel <gecko>
Sat 22 Feb 2014 08:24:01 PM UTC, comment #2: 

Patches that fix any of these warnings are welcome.

Benno Schulenberg <bens>
Group administrator
Tue 18 Aug 2009 09:45:35 AM UTC, comment #1: 

Forgot to add used compiler:

gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)

Andreas Gockel <gecko>
Tue 18 Aug 2009 09:44:00 AM UTC, original submission:  

Making all in src
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c browser.c
In file included from proto.h:27,
                 from browser.c:24:
nano.h:494: warning: comma at end of enumerator list
browser.c: In function 'do_browser':
browser.c:289: warning: comparison between signed and unsigned
browser.c: In function 'browser_init':
browser.c:466: warning: comparison between signed and unsigned
browser.c:467: warning: comparison between signed and unsigned
browser.c:467: warning: signed and unsigned type in conditional expression
browser.c: In function 'browser_refresh':
browser.c:623: warning: comparison between signed and unsigned
browser.c:703: warning: comparison between signed and unsigned
browser.c: In function 'filesearch_init':
browser.c:786: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c chars.c
In file included from proto.h:27,
                 from chars.c:24:
nano.h:494: warning: comma at end of enumerator list
chars.c: In function 'move_mbleft':
chars.c:475: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c color.c
In file included from proto.h:27,
                 from color.c:24:
nano.h:494: warning: comma at end of enumerator list
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c cut.c
In file included from proto.h:27,
                 from cut.c:24:
nano.h:494: warning: comma at end of enumerator list
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c files.c
In file included from proto.h:27,
                 from files.c:24:
nano.h:494: warning: comma at end of enumerator list
files.c: In function 'input_tab':
files.c:2458: warning: comparison between signed and unsigned
files.c:2463: warning: comparison between signed and unsigned
files.c:2490: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c global.c
In file included from proto.h:27,
                 from global.c:24:
nano.h:494: warning: comma at end of enumerator list
global.c:1390: warning: unused parameter 'menu'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c help.c
In file included from proto.h:27,
                 from help.c:24:
nano.h:494: warning: comma at end of enumerator list
help.c: In function 'do_help':
help.c:115: warning: comparison between signed and unsigned
help.c:152: warning: comparison between signed and unsigned
help.c: In function 'help_line_len':
help.c:542: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c move.c
In file included from proto.h:27,
                 from move.c:24:
nano.h:494: warning: comma at end of enumerator list
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c nano.c
In file included from proto.h:27,
                 from nano.c:24:
nano.h:494: warning: comma at end of enumerator list
nano.c:1079: warning: unused parameter 'signal'
nano.c:1155: warning: unused parameter 'signal'
nano.c:1161: warning: unused parameter 'signal'
nano.c:1199: warning: unused parameter 'signal'
nano.c:1228: warning: unused parameter 'signal'
nano.c: In function 'precalc_multicolorinfo':
nano.c:1740: warning: ISO C90 does not support the 'z' printf length modifier
nano.c:1773: warning: ISO C90 does not support the 'z' printf length modifier
nano.c:1801: warning: ISO C90 does not support the 'z' printf length modifier
nano.c:1807: warning: ISO C90 does not support the 'z' printf length modifier
nano.c:1812: warning: ISO C90 does not support the 'z' printf length modifier
nano.c:1820: warning: ISO C90 does not support the 'z' printf length modifier
nano.c:1825: warning: ISO C90 does not support the 'z' printf length modifier
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c prompt.c
In file included from proto.h:27,
                 from prompt.c:24:
nano.h:494: warning: comma at end of enumerator list
prompt.c: In function 'do_statusbar_mouse':
prompt.c:260: warning: comparison between signed and unsigned
prompt.c: In function 'do_statusbar_find_bracket':
prompt.c:753: warning: comparison between signed and unsigned
prompt.c: In function 'get_statusbar_page_start':
prompt.c:826: warning: comparison between signed and unsigned
prompt.c: In function 'get_prompt_string':
prompt.c:959: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c rcfile.c
In file included from proto.h:27,
                 from rcfile.c:24:
nano.h:494: warning: comma at end of enumerator list
rcfile.c: In function 'check_bad_binding':
rcfile.c:370: warning: comparison between signed and unsigned
rcfile.c: In function 'parse_keybinding':
rcfile.c:392: warning: comparison between signed and unsigned
rcfile.c:438: warning: format '%d' expects type 'int', but argument 3 has type 'struct sc **'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c search.c
In file included from proto.h:27,
                 from search.c:24:
nano.h:494: warning: comma at end of enumerator list
search.c: In function 'search_init':
search.c:170: warning: comparison between signed and unsigned
search.c: In function 'replace_regexp':
search.c:610: warning: comparison between signed and unsigned
search.c: In function 'do_find_bracket':
search.c:1235: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c text.c
In file included from proto.h:27,
                 from text.c:24:
nano.h:494: warning: comma at end of enumerator list
text.c: In function 'do_indent':
text.c:292: warning: comparison between signed and unsigned
text.c: In function 'redo_cut':
text.c:412: warning: ISO C90 does not support the 'z' printf length modifier
text.c: At top level:
text.c:740: warning: unused parameter 'signal'
text.c: In function 'add_undo':
text.c:889: warning: comparison between signed and unsigned
text.c:947: warning: ISO C90 does not support the 'z' printf length modifier
text.c: In function 'update_undo':
text.c:970: warning: ISO C90 does not support the 'z' printf length modifier
text.c:972: warning: ISO C90 does not support the 'z' printf length modifier
text.c:993: warning: ISO C90 does not support the 'z' printf length modifier
text.c:1007: warning: comparison between signed and unsigned
text.c:1021: warning: comparison between signed and unsigned
text.c: In function 'do_wrap':
text.c:1173: warning: comparison between signed and unsigned
text.c:1212: warning: comparison between signed and unsigned
text.c:1303: warning: comparison between signed and unsigned
text.c:1321: warning: comparison between signed and unsigned
text.c: In function 'break_line':
text.c:1356: warning: comparison between signed and unsigned
text.c:1376: warning: comparison between signed and unsigned
text.c: In function 'justify_format':
text.c:1522: warning: comparison between signed and unsigned
text.c:1577: warning: comparison between signed and unsigned
text.c:1617: warning: comparison between signed and unsigned
text.c: In function 'backup_lines':
text.c:1781: warning: comparison between signed and unsigned
text.c: In function 'do_justify':
text.c:2018: warning: comparison between signed and unsigned
text.c:2028: warning: signed and unsigned type in conditional expression
text.c:2135: warning: comparison between signed and unsigned
text.c:2157: warning: comparison between signed and unsigned
text.c:2193: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c utils.c
In file included from proto.h:27,
                 from utils.c:24:
nano.h:494: warning: comma at end of enumerator list
utils.c: In function 'ngetdelim':
utils.c:235: warning: signed and unsigned type in conditional expression
utils.c: In function 'fixbounds':
utils.c:270: warning: comparison between signed and unsigned
utils.c: In function 'get_page_start':
utils.c:462: warning: comparison between signed and unsigned
utils.c: In function 'strnlenpt':
utils.c:521: warning: comparison between signed and unsigned
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/sw/share/locale\" -DSYSCONFDIR=\"/sw/etc\"  -I/usr/include/ncursesw -I/sw/include/ncursesw -I/sw/include  -pedantic -Wall -Wextra -c winio.c
In file included from proto.h:27,
                 from winio.c:24:
nano.h:494: warning: comma at end of enumerator list
winio.c: In function 'get_mouseinput':
winio.c:1693: warning: comparison between signed and unsigned
winio.c:1698: warning: comparison between signed and unsigned
winio.c: In function 'titlebar':
winio.c:2128: warning: comparison between signed and unsigned
winio.c:2156: warning: comparison between signed and unsigned
winio.c:2176: warning: comparison between signed and unsigned
winio.c:2185: warning: comparison between signed and unsigned
winio.c:2197: warning: comparison between signed and unsigned
winio.c:2237: warning: comparison between signed and unsigned
winio.c:2240: warning: comparison of unsigned expression >= 0 is always true
winio.c: In function 'reset_cursor':
winio.c:2441: warning: ISO C90 forbids mixed declarations and code
winio.c: In function 'edit_draw':
winio.c:2481: warning: comparison between signed and unsigned
winio.c:2810: warning: comparison between signed and unsigned
winio.c: In function 'update_line':
winio.c:2859: warning: 'return' with no value, in function returning non-void
winio.c:2887: warning: comparison between signed and unsigned
winio.c:2905: warning: this function may return with or without a value
winio.c:2905: warning: control reaches end of non-void function
gcc  -pedantic -Wall -Wextra  -L/sw/lib -o nano  browser.o chars.o color.o cut.o files.o global.o help.o move.o nano.o prompt.o rcfile.o search.o text.o utils.o winio.o /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lc -lncursesw

Andreas Gockel <gecko>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by gecko (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-17 bens StatusPostponed Works For Me
        Open/ClosedOpen Closed
    2014-02-22 bens StatusNone Postponed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code