Compiler warnings on SunOS
- From: Roland Illig <1illig informatik uni-hamburg de>
- To: mc-devel gnome org
- Subject: Compiler warnings on SunOS
- Date: Wed, 12 Jun 2002 14:41:48 +0200
Hi,
compiling mc-4.55 on SunOS raises some compiler warnings. You might want to
avoid them.
~> uname -a
SunOS rzdspc5 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-4
~>./configure
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g -O2 -Wall
File system: Midnight Commander Virtual File System
tarfs, mcfs, ftpfs, fish
Text mode screen manager: SunOS 4.x /usr/5include curses
Install console saver: no
Text mode mouse library: xterm only
Text mode X11 support: no
Debugger code: none
With subshell support: yes
X11 versions: none
Internal editor: yes
Install path: /home/scratch/1illig/export/bin,
/home/scratch/1illig/export/lib/mc
~> gmake -s
Making all in intl
loadmsgcat.c: In function `_nl_load_domain':
loadmsgcat.c:510: warning: subscript has type `char'
localealias.c: In function `read_alias_file':
localealias.c:246: warning: subscript has type `char'
localealias.c:253: warning: subscript has type `char'
localealias.c:260: warning: subscript has type `char'
localealias.c:269: warning: subscript has type `char'
l10nflist.c: In function `_nl_normalize_codeset':
l10nflist.c:358: warning: subscript has type `char'
l10nflist.c:362: warning: subscript has type `char'
l10nflist.c:376: warning: subscript has type `char'
l10nflist.c:378: warning: subscript has type `char'
Making all in po
Making all in vfs
direntry.c: In function `vfs_s_dump':
direntry.c:1015: warning: int format, long int arg (arg 4)
tar.c: In function `from_oct':
tar.c:43: warning: subscript has type `char'
tar.c:54: warning: subscript has type `char'
ftpfs.c: In function `setup_passive':
ftpfs.c:873: warning: subscript has type `char'
ftpfs.c:877: warning: subscript has type `char'
Making all in slang
Making all in edit
Making all in src
util.c: In function `size_trunc_sep':
util.c:294: warning: subscript has type `char'
util.c: In function `skip_numbers':
util.c:829: warning: subscript has type `char'
screen.c: In function `string_file_perm_octal':
screen.c:312: warning: unsigned int format, mode_t arg (arg 4)
screen.c: In function `string_file_nlinks':
screen.c:322: warning: int format, long int arg (arg 4)
screen.c: In function `string_file_nuid':
screen.c:342: warning: int format, uid_t arg (arg 4)
screen.c: In function `string_file_ngid':
screen.c:352: warning: int format, gid_t arg (arg 4)
In file included from key.c:48:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring pragma: "@(#)Xlib.h
1.10 00/10/12 SMI
file.c: In function `do_transform_source':
file.c:210: warning: subscript has type `char'
find.c: In function `search_content':
find.c:427: warning: subscript has type `char'
user.c: In function `expand_format':
user.c:189: warning: subscript has type `char'
user.c: In function `execute_menu_command':
user.c:601: warning: subscript has type `char'
user.c:603: warning: subscript has type `char'
subshell.c: In function `init_subshell':
subshell.c:436: warning: int format, pid_t arg (arg 4)
subshell.c: In function `exit_subshell':
subshell.c:780: warning: int format, pid_t arg (arg 4)
main.c: In function `OS_Setup':
main.c:2390: warning: int format, pid_t arg (arg 4)
main.c: In function `handle_args':
main.c:2878: warning: subscript has type `char'
poptparse.c: In function `poptParseArgvString':
poptparse.c:48: warning: subscript has type `char'
poptconfig.c: In function `configLine':
poptconfig.c:30: warning: subscript has type `char'
poptconfig.c:31: warning: subscript has type `char'
poptconfig.c:34: warning: subscript has type `char'
poptconfig.c:36: warning: subscript has type `char'
poptconfig.c:40: warning: subscript has type `char'
poptconfig.c:42: warning: subscript has type `char'
poptconfig.c: In function `poptReadConfigFile':
poptconfig.c:104: warning: subscript has type `char'
popthelp.c: In function `singleOptionHelp':
popthelp.c:100: warning: subscript has type `char'
popthelp.c:102: warning: subscript has type `char'
popthelp.c:108: warning: subscript has type `char'
charsets.c: In function `translate_character':
charsets.c:116: warning: passing arg 2 of `iconv' from incompatible pointer
type
Making all in lib
Making all in doc
Making all in syntax
Making all in pc
Making all in gtkedit
Making all in gnome
config.status: creating gnome/mc.keys.in
Making all in new_icons
Making all in idl
Making all in doc-gnome
Making all in C
Making all in figs
That's all. It's just because I like programs that compile without any
warnings ...
Roland
PS: I'm not on the list, so please cc me.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]