>>> Building on exopi-3 under editors/fte DIST = [editors/fte:fte-20090118.tar.gz] FULLPKGNAME = fte-20090118p3 distfiles size=599457 >>> Running build in editors/fte at 1732125759.99 ===> editors/fte ===> Building from scratch fte-20090118p3 ===> Verifying specs: X11 Xau Xdmcp Xpm c m c++ c++abi pthread ===> found X11.18.2 Xau.10.0 Xdmcp.11.0 Xpm.10.0 c.100.3 m.10.1 c++.10.0 c++abi.7.0 pthread.27.1 ===> Checking files for fte-20090118p3 `/exopi-cvs/ports/distfiles/fte-20090118.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for fte-20090118p3 ===> Patching for fte-20090118p3 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Sun Jan 18 17:55:27 2009 |+++ Makefile Sun Jan 18 18:26:39 2009 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-config_main_fte Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- config/main.fte.orig Sun Jan 18 17:31:40 2009 |+++ config/main.fte Mon Jan 19 08:41:36 2009 -------------------------- Patching file config/main.fte using Plan A... Hunk #1 succeeded at 117. done ===> Applying OpenBSD patch patch-config_uicstyle_fte Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- config/uicstyle.fte.orig Sun Jan 18 16:37:13 2009 |+++ config/uicstyle.fte Sat Apr 18 18:17:55 2009 -------------------------- Patching file config/uicstyle.fte using Plan A... Hunk #1 succeeded at 6. Hunk #2 succeeded at 18. done ===> Applying OpenBSD patch patch-install Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- install.orig Sun Jan 18 16:37:13 2009 |+++ install Sun Jan 16 17:25:16 2011 -------------------------- Patching file install using Plan A... Hunk #1 succeeded at 12. Hunk #2 succeeded at 29. Hunk #3 succeeded at 42. done ===> Applying OpenBSD patch patch-src_fte-unix_mak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/fte-unix.mak.orig Sun Jan 18 18:06:25 2009 |+++ src/fte-unix.mak Sun Jan 18 18:25:08 2009 -------------------------- Patching file src/fte-unix.mak using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 57. Hunk #3 succeeded at 78. Hunk #4 succeeded at 138. done ===> Applying OpenBSD patch patch-src_mkdefcfg_pl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/mkdefcfg.pl |--- src/mkdefcfg.pl.orig |+++ src/mkdefcfg.pl -------------------------- Patching file src/mkdefcfg.pl using Plan A... Hunk #1 succeeded at 8. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for fte-20090118p3 ===> Configuring for fte-20090118p3 ===> Building for fte-20090118p3 sed < fte.in >fte -e "s|@@CONFIGDIR@@|/usr/local/share/fte/config|g" -e "s|@@BINDIR@@|/usr/local/bin|g" chmod a+x fte (cd src; /usr/bin/make unix) make -f fte-unix.mak c++ -c cfte.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON cfte.cpp:111:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] PutObject(cp, xtag, slen(str), str); ~~~~~~~~~ ^~~~~~~~~ cfte.cpp:30:35: note: expanded from macro 'slen' #define slen(s) ((s) ? (strlen(s) + 1) : 0) ~~~~~~~~~~^~~ cfte.cpp:115:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] unsigned long l = num; ~ ^~~ cfte.cpp:638:84: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] colors = (struct _color *)realloc(colors, sizeof (struct _color) * (colorCount + 1)); ~ ~~~~~~~~~~~^~~ cfte.cpp:808:29: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *cp.c = n; ~ ^ cfte.cpp:832:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cp.c < cp.z && *cp.c == '-' || *cp.c == '+') { ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ~~ cfte.cpp:832:21: note: place parentheses around the '&&' expression to silence this warning if (cp.c < cp.z && *cp.c == '-' || *cp.c == '+') { ^ ( ) cfte.cpp:853:22: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return i | CMD_EXT; ~~~~~~ ~~^~~~~~~~~ cfte.cpp:863:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return CMacros - 1; ~~~~~~ ~~~~~~~~^~~ cfte.cpp:954:50: warning: address of array 'Name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ParseCommands(cp, strdup(Name ? Name : "")) == -1) ^~~~ ~ cfte.cpp:1956:45: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] buffer = (char *) malloc(statbuf.st_size+1); ~~~~~~ ~~~~~~~~~~~~~~~^~ cfte.cpp:1964:34: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (read(fd, buffer, statbuf.st_size) != statbuf.st_size) { ~~~~ ~~~~~~~~^~~~~~~ cfte.cpp:1971:21: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] cp.sz = statbuf.st_size; ~ ~~~~~~~~^~~~~~~ 11 warnings generated. c++ -c s_files.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON s_files.cpp:96:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(Path); ~~~ ^~~~~~~~~~~~ s_files.cpp:118:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(Path); ~~~ ^~~~~~~~~~~~ s_files.cpp:148:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(Path); ~~~ ^~~~~~~~~~~~ s_files.cpp:384:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(Dir, Path, DirSize); ~~~~~~~ ^~~~~~~ s_files.cpp:405:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(Dir, Path + secondLastSlash, lastSlash - secondLastSlash); ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ s_files.cpp:392:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int lastSlash = strlen(Path); ~~~~~~~~~ ^~~~~~~~~~~~ s_files.cpp:415:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(Name, Path + len, NameSize); ~~~~~~~ ^~~~~~~~ s_files.cpp:412:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(Path); ~~~ ^~~~~~~~~~~~ s_files.cpp:421:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(Root, SSLASH, RootSize); ~~~~~~~ ^~~~~~~~ s_files.cpp:462:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(P + 6, p1 + l1 - len, len - 6); ~~~~~~~ ~~~~^~~ s_files.cpp:456:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] l1 = strlen(p1); ~ ^~~~~~~~~~ s_files.cpp:512:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(RelPath, p + dl, RelPathSize); ~~~~~~~ ^~~~~~~~~~~ s_files.cpp:506:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] dl = strlen (d); pl = strlen (p); ~ ^~~~~~~~~~ s_files.cpp:506:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] dl = strlen (d); pl = strlen (p); ~ ^~~~~~~~~~ 14 warnings generated. c++ -c s_string.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -o cfte cfte.o s_files.o s_string.o ld: warning: cfte.cpp:212(cfte.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: cfte.cpp:72(cfte.o:(Fail(_CurPos&, char const*, ...))): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: s_files.cpp:481(s_files.o:(JoinDirFile(char*, char const*, char const*))): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: s_files.cpp:483(s_files.o:(JoinDirFile(char*, char const*, char const*))): warning: strcat() is almost always misused, please use strlcat() ./cfte defcfg.fte defcfg.cnf cfte 0.50.01-cvs Copyright (c) 1994-1998 Marko Macek Copyright (c) 2000-2006 Others Compiling to 'defcfg.cnf' Done. perl mkdefcfg.pl defcfg.h ......................................................................... cc -MM -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON indent.cpp e_mark.cpp o_modemap.cpp c_desktop.cpp c_bind.cpp c_color.cpp c_config.cpp c_history.cpp c_hilit.cpp c_mode.cpp e_block.cpp e_buffer.cpp e_cmds.cpp e_cvslog.cpp e_svnlog.cpp e_redraw.cpp e_file.cpp e_fold.cpp e_trans.cpp e_line.cpp e_loadsave.cpp e_regex.cpp e_print.cpp e_search.cpp e_undo.cpp e_tags.cpp g_draw.cpp g_menu.cpp h_ada.cpp h_c.cpp h_fte.cpp h_ipf.cpp h_make.cpp h_pascal.cpp h_perl.cpp h_plain.cpp h_msg.cpp h_rexx.cpp h_sh.cpp h_tex.cpp h_catbs.cpp h_simple.cpp i_complete.cpp i_ascii.cpp i_choice.cpp i_input.cpp i_key.cpp i_search.cpp i_view.cpp i_modelview.cpp i_oview.cpp o_buflist.cpp o_list.cpp o_messages.cpp o_model.cpp o_routine.cpp o_buffer.cpp o_directory.cpp o_cvsbase.cpp o_cvs.cpp o_cvsdiff.cpp o_svnbase.cpp o_svn.cpp o_svndiff.cpp s_files.cpp s_direct.cpp s_util.cpp s_string.cpp view.cpp gui.cpp egui.cpp fte.cpp commands.cpp log.cpp 1>.depend c++ -c indent.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c e_mark.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_mark.cpp:99:72: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(marks[0]) * (markCount + 1)); ~ ~~~~~~~~~~^~~ e_mark.cpp:108:69: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(marks + L + 1, marks + L, sizeof(marks[0]) * (markCount - L)); ~ ~~~~~~~~~~^~~ e_mark.cpp:153:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(marks[0]) * (markCount - M - 1)); ~ ~~~~~~~~~~~~~~^~~ e_mark.cpp:157:68: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(marks[0]) * (markCount)); ~ ^~~~~~~~~ 4 warnings generated. c++ -c o_modemap.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_modemap.cpp:18:66: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] BList = (char **)realloc((void *)BList, sizeof(char *) * BCount); ~ ^~~~~~ o_modemap.cpp:37:58: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] GetKeyName(KeyName + strlen(KeyName), sizeof(KeyName)-strlen(KeyName), Key->fKey); ~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ o_modemap.cpp:44:101: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] sprintf(p, "%d:%s ", Macros[id].cmds[i].repeat, GetCommandName(Macros[id].cmds[i].u.num)); ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~ o_modemap.cpp:46:71: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] sprintf(p, "%s ", GetCommandName(Macros[id].cmds[i].u.num)); ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~ o_modemap.cpp:79:63: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] GetKeyName(Prefix + strlen(Prefix), sizeof(Prefix)-strlen(Prefix), Key->fKey); ~~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ o_modemap.cpp:149:53: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, Width, BList[Line] + Col, color, Width); ~~~~~~~ ^~~~~ o_modemap.cpp:166:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(AName, "EventMapView", MaxLen); ~~~~~~~ ^~~~~~ o_modemap.cpp:179:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ASTitle, "EventMapView", SMaxLen); ~~~~~~~ ^~~~~~~ 8 warnings generated. c++ -c c_desktop.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c_desktop.cpp:141:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] P.Row = strtol(p, &c, 10); ~ ^~~~~~~~~~~~~~~~~ c_desktop.cpp:145:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] P.Col = strtol(p, &c, 10); ~ ^~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -c c_bind.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c_bind.cpp:306:23: warning: implicit conversion changes signedness: 'TKeyCode' (aka 'unsigned long') to 'long' [-Wsign-conversion] long flags = aKey & ~ 0xFFFF; ~~~~~ ~~~~~^~~~~~~~~~ c_bind.cpp:306:25: warning: implicit conversion changes signedness: 'int' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] long flags = aKey & ~ 0xFFFF; ~ ^~~~~~~~ c_bind.cpp:315:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (isascii(key)) ^ c_bind.cpp:329:16: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] aKey = key | flags; ~ ~~~~^~~~~~~ c_bind.cpp:315:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] else if (isascii(key)) ~~~~~~~ ^~~ c_bind.cpp:316:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] key = toupper(key); ~~~~~~~ ^~~ c_bind.cpp:326:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (isascii(key)) ~~~~~~~ ^~~ c_bind.cpp:327:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] key = toupper(key); ~~~~~~~ ^~~ c_bind.cpp:510:26: warning: implicit conversion changes signedness: 'int' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] ks.Key = toupper(ks.Key); ~ ^~~~~~~~~~~~~~~ c_bind.cpp:510:37: warning: implicit conversion loses integer precision: 'TKeyCode' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ks.Key = toupper(ks.Key); ~~~~~~~ ~~~^~~ c_bind.cpp:518:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(Key, "", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:520:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Key & kfAlt) strlcat(Key, "A+", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:521:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Mask & kfAlt) strlcat(Key, "A-", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:522:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Key & kfCtrl) strlcat(Key, "C+", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:523:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Mask & kfCtrl) strlcat(Key, "C-", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:524:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Key & kfGray) strlcat(Key, "G+", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:525:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Mask & kfGray) strlcat(Key, "G-", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:526:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Key & kfShift) strlcat(Key, "S+", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:527:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (ks.Mask & kfShift) strlcat(Key, "S-", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:539:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcat(Key, "Space", KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:541:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcat(Key, c, KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:545:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcat(Key, KeyList[i].Name, KeySize); ~~~~~~~ ^~~~~~~ c_bind.cpp:598:103: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Macros[no].cmds = (CommandType *)realloc(Macros[no].cmds, sizeof(CommandType) * (Macros[no].Count + 1)); ~ ~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:608:103: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Macros[no].cmds = (CommandType *)realloc(Macros[no].cmds, sizeof(CommandType) * (Macros[no].Count + 1)); ~ ~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:618:103: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Macros[no].cmds = (CommandType *)realloc(Macros[no].cmds, sizeof(CommandType) * (Macros[no].Count + 1)); ~ ~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:628:103: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Macros[no].cmds = (CommandType *)realloc(Macros[no].cmds, sizeof(CommandType) * (Macros[no].Count + 1)); ~ ~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:638:103: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Macros[no].cmds = (CommandType *)realloc(Macros[no].cmds, sizeof(CommandType) * (Macros[no].Count + 1)); ~ ~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:648:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Macros = (ExMacro *) realloc(Macros, sizeof(ExMacro) * (1 + CMacros)); ~ ~~^~~~~~~~~ c_bind.cpp:664:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(str, Macros[Macro].cmds[Pos].u.string, maxlen); ~~~~~~~ ^~~~~~ c_bind.cpp:670:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (view->GetStrVar(Macros[Macro].cmds[Pos].u.num, str, maxlen) == 0) ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:678:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(str); ~~~ ^~~~~~~~~~~ c_bind.cpp:697:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] *value = Macros[Macro].cmds[Pos].u.num; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:700:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (view->GetIntVar(Macros[Macro].cmds[Pos].u.num, value) == 0) ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ c_bind.cpp:715:14: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return i % maxim; ~~~~~~ ~~^~~~~~~ c_bind.cpp:715:16: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] return i % maxim; ~ ^~~~~ 35 warnings generated. c++ -c c_color.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c c_config.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c_config.cpp:117:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] if ((i = strlen(g->chars)) < strlen(defChars)) { ~ ^~~~~~~~~~~~~~~~ c_config.cpp:147:45: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] g->name = (char *)malloc((s-string) + 1); ~~~~~~ ~~~~~~~~~~~^~~ c_config.cpp:154:36: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncat(g->name, string, (s-string)); ~~~~~~~ ~^~~~~~~ c_config.cpp:176:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] key = (char *)realloc(tab->key[len], lx + len + 1 + 1); ~~~~~~~ ~~~~~~~~~~~~~^~~ c_config.cpp:185:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] tab->key[len] = (char *)malloc(len + 2); ~~~~~~ ~~~~^~~ c_config.cpp:169:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len = strlen(keyword); ~ ^~~~~~~~~~~~~~~ c_config.cpp:173:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int lx = strlen(tab->key[len]); ~~ ^~~~~~~~~~~~~~~~~~~~~ c_config.cpp:325:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] RGBColor[idx].r = r; ~ ^ c_config.cpp:326:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] RGBColor[idx].g = g; ~ ^ c_config.cpp:327:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] RGBColor[idx].b = b; ~ ^ c_config.cpp:365:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Map->SetMenu(what, string); ~~~~~~~ ^~~~ c_config.cpp:393:13: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = *cp.c++; ~ ^~~~~~~ c_config.cpp:395:27: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] len = (l[1] << 8) + l[0]; ~ ~~~~~~~~~~~~^~~~~~ c_config.cpp:427:19: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] num = num | (~0xFFFFFFFFUL); ~ ~~~~^~~~~~~~~~~~~~~~~ c_config.cpp:427:15: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] num = num | (~0xFFFFFFFFUL); ^~~ ~ c_config.cpp:469:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCommand(Cmd, cmd, cnt, ign) == 0) { ~~~~~~~~~~ ^~~ c_config.cpp:469:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCommand(Cmd, cmd, cnt, ign) == 0) { ~~~~~~~~~~ ^~~ c_config.cpp:469:37: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCommand(Cmd, cmd, cnt, ign) == 0) { ~~~~~~~~~~ ^~~ c_config.cpp:469:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCommand(Cmd, cmd, cnt, ign) == 0) { ~~~~~~~~~~ ^~~ c_config.cpp:482:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddString(Cmd, s) == 0) ENDFUNCRC(-1); ~~~~~~~~~ ^~~ c_config.cpp:490:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddNumber(Cmd, num) == 0) ENDFUNCRC(-1); ~~~~~~~~~ ^~~ c_config.cpp:498:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddVariable(Cmd, num) == 0) ENDFUNCRC(-1); ~~~~~~~~~~~ ^~~ c_config.cpp:498:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddVariable(Cmd, num) == 0) ENDFUNCRC(-1); ~~~~~~~~~~~ ^~~ c_config.cpp:502:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddConcat(Cmd) == 0) ENDFUNCRC(-1); ~~~~~~~~~ ^~~ c_config.cpp:505:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ENDFUNCRC(Cmd); ~~~~~~~~~~^~~~ ./log.h:183:80: note: expanded from macro 'ENDFUNCRC' #define ENDFUNCRC(rc) do { LOGOBJNAME.RC(__LINE__) << (rc) << ENDLINE; return (rc); } while (0) ~~~~~~ ^~ c_config.cpp:615:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (Colorize->SetColor(cidx, svalue) == 0) ~~~~~~~~ ^~~~ c_config.cpp:916:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] Col = ColFg | (ColBg << 4); ~ ~~~~~~^~~~~~~~~~~~~~ c_config.cpp:788:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] newState.color = color; ~ ^~~~~ c_config.cpp:821:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] newTrans.nextState = nextState; ~ ^~~~~~~~~ c_config.cpp:822:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] newTrans.color = color; ~ ^~~~~ c_config.cpp:836:41: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] newTrans.matchLen = strlen(match); ~ ^~~~~~~~~~~~~ c_config.cpp:877:66: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Colorize->hm->LastState()->nextKwdMatchedState = nextKwdMatchedState; ~ ^~~~~~~~~~~~~~~~~~~ c_config.cpp:878:69: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Colorize->hm->LastState()->nextKwdNotMatchedState = nextKwdNotMatchedState; ~ ^~~~~~~~~~~~~~~~~~~~~~ c_config.cpp:879:65: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Colorize->hm->LastState()->nextKwdNoCharState = nextKwdNoCharState; ~ ^~~~~~~~~~~~~~~~~~ c_config.cpp:976:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (SetModeString(Mode, what, val) != 0) return -1; ~~~~~~~~~~~~~ ^~~~ c_config.cpp:984:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (SetModeNumber(Mode, what, num) != 0) return -1; ~~~~~~~~~~~~~ ^~~ c_config.cpp:984:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (SetModeNumber(Mode, what, num) != 0) return -1; ~~~~~~~~~~~~~ ^~~~ c_config.cpp:1025:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCRegexp(file, line, msg, regexp) == 0) return -1; ~~~~~~~~~~ ^~~ c_config.cpp:1025:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCRegexp(file, line, msg, regexp) == 0) return -1; ~~~~~~~~~~ ^~~~ c_config.cpp:1025:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (AddCRegexp(file, line, msg, regexp) == 0) return -1; ~~~~~~~~~~ ^~~~ c_config.cpp:1072:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (SetGlobalNumber(what, num) != 0) return -1; ~~~~~~~~~~~~~~~ ^~~ c_config.cpp:1072:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (SetGlobalNumber(what, num) != 0) return -1; ~~~~~~~~~~~~~~~ ^~~~ c_config.cpp:1248:38: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] buffer = (char *) malloc(statbuf.st_size); ~~~~~~ ~~~~~~~~^~~~~~~ c_config.cpp:1253:34: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (read(fd, buffer, statbuf.st_size) != statbuf.st_size) { ~~~~ ~~~~~~~~^~~~~~~ c_config.cpp:1264:52: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ln = (l[3] << 24) + (l[2] << 16) + (l[1] << 8) + l[0]; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ c_config.cpp:1273:52: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ln = (l[3] << 24) + (l[2] << 16) + (l[1] << 8) + l[0]; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ c_config.cpp:1283:21: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] cp.sz = statbuf.st_size; ~ ~~~~~~~~^~~~~~~ 47 warnings generated. c++ -c c_history.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c_history.cpp:157:92: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] nb=(HBookmark **)realloc (last->Books,sizeof (HBookmark *)*(last->BookCount+1)); ~ ~~~~~~~~~~~~~~~^~ c_history.cpp:100:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] r = strtol(p, &e, 10); ~ ^~~~~~~~~~~~~~~~~ c_history.cpp:107:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] c = strtol(p = e, &e, 10); ~ ^~~~~~~~~~~~~~~~~~~~~ c_history.cpp:139:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] r = strtol(p, &e, 10); ~ ^~~~~~~~~~~~~~~~~ c_history.cpp:146:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] c = strtol(p = e, &e, 10); ~ ^~~~~~~~~~~~~~~~~~~~~ c_history.cpp:173:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = strtol(p, &e, 10); ~ ^~~~~~~~~~~~~~~~~ c_history.cpp:230:53: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] NH = (FPosHistory **)realloc((void *)FPHistory, N * sizeof(FPosHistory *)); ^ ~ c_history.cpp:243:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] (FPHistoryCount - L) * sizeof(FPosHistory *)); ~~~~~~~~~~~~~~~^~~ ~ c_history.cpp:289:64: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] inputHistory.Count * sizeof(char *)); ~~~~~~~~~~~~~^~~~~ ~ c_history.cpp:291:60: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] inputHistory.Count * sizeof(int *)); ~~~~~~~~~~~~~^~~~~ ~ c_history.cpp:298:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(inputHistory.Line + 1, inputHistory.Line, i * sizeof(char *)); ^ ~ c_history.cpp:299:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(inputHistory.Id + 1, inputHistory.Id, i * sizeof(int *)); ^ ~ c_history.cpp:322:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(String, inputHistory.Line[i], len); ~~~~~~~ ^~~ c_history.cpp:406:80: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] FPHistory[M]->Books=(HBookmark **)malloc (sizeof (HBookmark *)*j); ~^ 14 warnings generated. c++ -c c_hilit.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c_hilit.cpp:103:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] WordList = (char **)realloc((void *)WordList, (1 + WordCount) * sizeof(char *)); ~~^~~~~~~~~~~ ~ c_hilit.cpp:129:81: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(WordList + i, WordList + i + 1, sizeof(char *) * (WordCount - i - 1)); ~ ~~~~~~~~~~~~~~^~~ c_hilit.cpp:131:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] WordList = (char **)realloc((void *)WordList, WordCount * sizeof(char *)); ^~~~~~~~~ ~ c_hilit.cpp:203:25: warning: implicit conversion changes signedness: 'unsigned int' to 'ChColor' (aka 'int') [-Wsign-conversion] Colors[idx] = ColFg | (ColBg << 4); ~ ~~~~~~^~~~~~~~~~~~~~ c_hilit.cpp:241:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(p, str, len) == 0) { ~~~~~~~~ ^~~ c_hilit.cpp:249:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (memcmp(p, str, len) == 0) { ~~~~~~ ^~~ c_hilit.cpp:301:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] state = (HState *)realloc(state, (stateCount + 1) * sizeof(HState) ); ~~~~~~~~~~~^~~ ~ c_hilit.cpp:310:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] trans = (HTrans *)realloc(trans, (transCount + 1) * sizeof(HTrans) ); ~~~~~~~~~~~^~~ ~ 8 warnings generated. c++ -c c_mode.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c_mode.cpp:102:34: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] FileName, strlen(FileName), FileName, ^~~~~~~~~~~~~~~~ c_mode.cpp:111:13: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] l = read(fd, buf, 80); ~ ^~~~~~~~~~~~~~~~~ c++ -c e_block.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON 2 warnings generated. e_block.cpp:287:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(CP.Col) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_block.cpp:288:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(CP.Row) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_block.cpp:699:57: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ((int)fwrite(LL->Chars + A, 1, Z - A, fp) != Z - A) { ~~~~~~ ~~^~~ e_block.cpp:707:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ e_block.cpp:712:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ e_block.cpp:791:59: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memcmp(LA->Chars, LB->Chars, (lA < lB) ? lA : lB); ~~~~~~ ^~ e_block.cpp:791:64: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memcmp(LA->Chars, LB->Chars, (lA < lB) ? lA : lB); ~~~~~~ ^~ e_block.cpp:793:60: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memicmp(LA->Chars, LB->Chars, (lA < lB) ? lA : lB); ~~~~~~~ ^~ e_block.cpp:793:65: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memicmp(LA->Chars, LB->Chars, (lA < lB) ? lA : lB); ~~~~~~~ ^~ e_block.cpp:822:72: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memcmp(LA->Chars+ PA, LB->Chars + PB, (lA < lB) ? lA : lB); ~~~~~~ ^~ e_block.cpp:822:77: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memcmp(LA->Chars+ PA, LB->Chars + PB, (lA < lB) ? lA : lB); ~~~~~~ ^~ e_block.cpp:824:74: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memicmp(LA->Chars + PA, LB->Chars + PB, (lA < lB) ? lA : lB); ~~~~~~~ ^~ e_block.cpp:824:79: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] rc = memicmp(LA->Chars + PA, LB->Chars + PB, (lA < lB) ? lA : lB); ~~~~~~~ ^~ e_block.cpp:869:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] SortRows = (int *)malloc((SortMaxRow - SortMinRow + 1) * sizeof(int)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ~ e_block.cpp:877:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] qsort(SortRows, SortMaxRow - SortMinRow + 1, sizeof(int), SortProc); ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~ 15 warnings generated. c++ -c e_buffer.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_buffer.cpp:291:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ e_buffer.cpp:300:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ e_buffer.cpp:308:23: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else M.Row -= Rows; ^ e_buffer.cpp:466:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(CP.Col) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_buffer.cpp:467:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(CP.Row) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_buffer.cpp:604:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(RLine(Row)->Count) == 0) return 0; ~~~~~~~~~ ~~~~~~~~~~~~^~~~~ e_buffer.cpp:605:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Row) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:628:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(PELine) * (RCount - RGap)); ~ ~~~~~~~^~~~~~ e_buffer.cpp:642:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(VV[0]) * (VCount - VGap)); ~ ~~~~~~~^~~~~~ e_buffer.cpp:675:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Row) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:690:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(PELine) * (RCount - RGap)); ~ ~~~~~~~^~~~~~ e_buffer.cpp:704:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(VV[0]) * (VCount - VGap)); ~ ~~~~~~~^~~~~~ e_buffer.cpp:738:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(ACount) == 0) return 0; ~~~~~~~~~ ^~~~~~ e_buffer.cpp:739:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Ofs) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:740:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Row) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:746:73: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(L->Chars + Ofs, L->Chars + Ofs + ACount, L->Count - Ofs - ACount); ~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~ e_buffer.cpp:748:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (L->Allocate(L->Count) == 0) return 0; ~~~~~~~~ ~~~^~~~~ e_buffer.cpp:771:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Row) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:772:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Ofs) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:773:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(ACount) == 0) return 0; ~~~~~~~~~ ^~~~~~ e_buffer.cpp:777:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (L->Allocate(L->Count + ACount) == 0) return 0; ~~~~~~~~ ~~~~~~~~~^~~~~~~~ e_buffer.cpp:779:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(L->Chars + Ofs + ACount, L->Chars + Ofs, L->Count - Ofs); ~~~~~~~ ~~~~~~~~~^~~~~ e_buffer.cpp:781:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(L->Chars + Ofs, ' ', ACount); ~~~~~~ ^~~~~~ e_buffer.cpp:783:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(L->Chars + Ofs, Buffer, ACount); ~~~~~~~ ^~~~~~ e_buffer.cpp:828:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(ACount) == 0) return 0; ~~~~~~~~~ ^~~~~~ e_buffer.cpp:829:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Ofs) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:830:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Row) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:832:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Row) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:833:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Ofs) == 0) return 0; ~~~~~~~~~ ^~~ e_buffer.cpp:834:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(ACount) == 0) return 0; ~~~~~~~~~ ^~~~~~ e_buffer.cpp:968:30: warning: implicit conversion changes signedness: 'short' to 'hlState' (aka 'unsigned short') [-Wsign-conversion] RLine(Row)->StateE = short((Row > 0) ? RLine(Row - 1)->StateE : 0); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 warnings generated. c++ -c e_cmds.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_cmds.cpp:839:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Str, L->Chars + P, Len); ~~~~~~ ^~~ e_cmds.cpp:850:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Len = strlen(ab->Replace); ~ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -c e_cvslog.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_cvslog.cpp:50:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] int *position=new int[cnt]; ~~~ ^~~ e_cvslog.cpp:51:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] int *len=new int[cnt]; ~~~ ^~~ e_cvslog.cpp:52:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] char *status=new char[cnt]; ~~~ ^~~ e_cvslog.cpp:82:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete position;delete len;delete status; ^ [] e_cvslog.cpp:50:23: note: allocated with 'new[]' here int *position=new int[cnt]; ^ e_cvslog.cpp:82:25: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete position;delete len;delete status; ^ [] e_cvslog.cpp:51:18: note: allocated with 'new[]' here int *len=new int[cnt]; ^ e_cvslog.cpp:82:36: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete position;delete len;delete status; ^ [] e_cvslog.cpp:52:22: note: allocated with 'new[]' here char *status=new char[cnt]; ^ e_cvslog.cpp:37:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] InsText (4,18,strlen (Directory),Directory); ~~~~~~~ ^~~~~~~~~~~~~~~~~~ e_cvslog.cpp:103:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int i=strlen (title); ~ ^~~~~~~~~~~~~~ e_cvslog.cpp:157:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (AName,"CVS log",MaxLen); ~~~~~~~ ^~~~~~ e_cvslog.cpp:167:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (ATitle,"CVS log",MaxLen); ~~~~~~~ ^~~~~~ e_cvslog.cpp:168:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (ASTitle,"CVS log",SMaxLen); ~~~~~~~ ^~~~~~~ 11 warnings generated. c++ -c e_svnlog.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_svnlog.cpp:51:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] int *position=new int[cnt]; ~~~ ^~~ e_svnlog.cpp:52:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] int *len=new int[cnt]; ~~~ ^~~ e_svnlog.cpp:53:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] char *status=new char[cnt]; ~~~ ^~~ e_svnlog.cpp:83:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete position;delete len;delete status; ^ [] e_svnlog.cpp:51:23: note: allocated with 'new[]' here int *position=new int[cnt]; ^ e_svnlog.cpp:83:25: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete position;delete len;delete status; ^ [] e_svnlog.cpp:52:18: note: allocated with 'new[]' here int *len=new int[cnt]; ^ e_svnlog.cpp:83:36: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete position;delete len;delete status; ^ [] e_svnlog.cpp:53:22: note: allocated with 'new[]' here char *status=new char[cnt]; ^ e_svnlog.cpp:38:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] InsText (4,18,strlen (Directory),Directory); ~~~~~~~ ^~~~~~~~~~~~~~~~~~ e_svnlog.cpp:104:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int i=strlen (title); ~ ^~~~~~~~~~~~~~ e_svnlog.cpp:158:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (AName,"SVN log",MaxLen); ~~~~~~~ ^~~~~~ e_svnlog.cpp:168:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (ATitle,"SVN log",MaxLen); ~~~~~~~ ^~~~~~ e_svnlog.cpp:169:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (ASTitle,"SVN log",SMaxLen); ~~~~~~~ ^~~~~~~ 11 warnings generated. c++ -c e_redraw.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_redraw.cpp:23:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] *StateMap = (hsState *) malloc(*StateLen); ~~~~~~ ^~~~~~~~~ e_redraw.cpp:144:28: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, W, ' ', hcPlain_Background, W); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~ e_redraw.cpp:167:95: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, ECol - C, W, ConGetDrawChar((Row == RCount - 1) ? DCH_EOF : DCH_EOL), hcPlain_Markers, 1); ~~~~~~~~ ^~~~~~~~~~~~~~~ e_redraw.cpp:183:55: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, ECol - C + 1, W, fold, foldColor, 10); ~~~~~~~ ^~~~~~~~~ e_redraw.cpp:192:55: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, ECol - C + 1, W, fold, foldColor, 10); ~~~~~~~ ^~~~~~~~~ e_redraw.cpp:194:39: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveAttr(B, 0, W, foldColor, W); ~~~~~~~~ ^~~~~~~~~ e_redraw.cpp:230:44: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveBgAttr(B, StartPos, W, hcPlain_Selected, EndPos - StartPos); ~~~~~~~~~~ ^~~~~~~~~~~~~~~~ e_redraw.cpp:232:42: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveAttr(B, StartPos, W, hcPlain_Selected, EndPos - StartPos); ~~~~~~~~ ^~~~~~~~~~~~~~~~ e_redraw.cpp:243:45: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveBgAttr(B, 0, W, hcPlain_Bookmark, W); ~~~~~~~~~~ ^~~~~~~~~~~~~~~~ e_redraw.cpp:245:43: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveAttr(B, 0, W, hcPlain_Bookmark, W); ~~~~~~~~ ^~~~~~~~~~~~~~~~ e_redraw.cpp:254:53: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveBgAttr(B, Match.Col - C, W, hcPlain_Found, MatchLen); ~~~~~~~~~~ ^~~~~~~~~~~~~ e_redraw.cpp:256:51: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveAttr(B, Match.Col - C, W, hcPlain_Found, MatchLen); ~~~~~~~~ ^~~~~~~~~~~~~ e_redraw.cpp:261:56: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, W, ConGetDrawChar(DCH_END), hcPlain_Markers, W); ~~~~~~~~ ^~~~~~~~~~~~~~~ e_redraw.cpp:401:38: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, W->Cols, ' ', SColor, W->Cols); ~~~~~~~~ ^~~~~~ e_redraw.cpp:425:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] CurCh = VLine(CurLine)->Chars[CurPos]; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_redraw.cpp:475:43: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, W->Cols, s, SColor, W->Cols); ~~~~~~~ ^~~~~~ e_redraw.cpp:477:65: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); ~~~~~~~ ^~~~~~ e_redraw.cpp:477:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); ~~~^~~~ ~ e_redraw.cpp:482:64: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, l, W->Cols, FileName + fl - fw, SColor, W->Cols); ~~~~~~~ ^~~~~~ e_redraw.cpp:484:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, l, W->Cols, FileName, SColor, W->Cols); ~~~~~~~ ^~~~~~ e_redraw.cpp:488:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, W->Cols, V->CurMsg, SColor, W->Cols); ~~~~~~~ ^~~~~~ e_redraw.cpp:419:26: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int lf = strlen(fName); ~~ ^~~~~~~~~~~~~ e_redraw.cpp:470:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int l = strlen(s); ~ ^~~~~~~~~ e_redraw.cpp:472:26: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int fl = strlen(FileName); ~~ ^~~~~~~~~~~~~~~~ e_redraw.cpp:477:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); ~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~ e_redraw.cpp:577:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(s, str, len); ~~~~~~ ^~~ e_redraw.cpp:589:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(p, str, len) == 0) { ~~~~~~~~ ^~~ e_redraw.cpp:597:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (memcmp(p, str, len) == 0) { ~~~~~~ ^~~ e_redraw.cpp:608:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(s, str, len); ~~~~~~ ^~~ 29 warnings generated. c++ -c e_file.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c e_fold.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_fold.cpp:59:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(int) * (VCount - VGap)); ~ ~~~~~~~^~~~~~ e_fold.cpp:97:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(int) * (VCount - VGap)); ~ ~~~~~~~^~~~~~ e_fold.cpp:153:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ e_fold.cpp:183:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Line) == 0) return 0; ~~~~~~~~~ ^~~~ e_fold.cpp:190:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] FF = (EFold *) realloc((void *)FF, sizeof(EFold) * ((1 + FCount) | 7)); ~ ~~~~~~~~~~~~~^~~ e_fold.cpp:192:57: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(FF + n + 1, FF + n, sizeof(EFold) * (FCount - n)); ~ ~~~~~~~^~~ e_fold.cpp:268:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Line) == 0) return 0; ~~~~~~~~~ ^~~~ e_fold.cpp:273:61: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(FF + f, FF + f + 1, sizeof(EFold) * (FCount - f - 1)); ~ ~~~~~~~~~~~^~~ e_fold.cpp:275:64: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] FF = (EFold *) realloc((void *)FF, sizeof(EFold) * (FCount | 7)); ~ ~~~~~~~^~~ e_fold.cpp:302:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Line) == 0) return 0; ~~~~~~~~~ ^~~~ e_fold.cpp:326:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Line) == 0) return 0; ~~~~~~~~~ ^~~~ e_fold.cpp:351:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Line) == 0) return 0; ~~~~~~~~~ ^~~~ e_fold.cpp:434:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(Line) == 0) return 0; ~~~~~~~~~ ^~~~ 13 warnings generated. c++ -c e_trans.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_trans.cpp:138:32: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] LL->Chars[I] = tab[(unsigned char)LL->Chars[I]]; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_trans.cpp:147:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] unsigned int P = CharOffset(L, CP.Col); ~ ^~~~~~~~~~~~~~~~~~~~~ e_trans.cpp:150:26: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (ChgChars(CP.Row, P, 1, 0) == 0) return 0; ~~~~~~~~ ^ e_trans.cpp:151:19: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] L->Chars[P] = tab[(unsigned char)L->Chars[P]]; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_trans.cpp:162:27: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] L->Chars[I] = tab[(unsigned char)L->Chars[I]]; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. c++ -c e_line.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_line.cpp:15:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] Allocate(Count); ~~~~~~~~ ^~~~~ e_line.cpp:20:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Chars, AChars, Count); ~~~~~~ ^~~~~ e_line.cpp:22:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(Chars, ' ', Count); ~~~~~~ ^~~~~ e_line.cpp:114:57: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] L = (PELine *) realloc(LL, sizeof(PELine) * (ACount + 1)); ~ ~~~~~~~^~~ e_line.cpp:134:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(PELine) * (RPos - RGap)); ~ ~~~~~^~~~~~ e_line.cpp:142:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(PELine) * (RGap - RPos)); ~ ~~~~~^~~~~~ e_line.cpp:152:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] V = (int *) realloc(VV, sizeof(int) * (ACount + 1)); ~ ~~~~~~~^~~ e_line.cpp:171:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(VV[0]) * (VPos - VGap)); ~ ~~~~~^~~~~~ e_line.cpp:179:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(VV[0]) * (VGap - VPos)); ~ ~~~~~^~~~~~ 9 warnings generated. c++ -c e_loadsave.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_loadsave.cpp:115:69: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] e = (char *)memchr((void *)p, lchar, FileBuffer - p + len); ~~~~~~ ~~~~~~~~~~~~~~~^~~~~ e_loadsave.cpp:134:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] m = (char *)realloc((void *)m, (lm + partLen) + CHAR_TRESHOLD); ~~~^~~~~~~~~ ~ e_loadsave.cpp:137:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy((void *)(m + lm), p, partLen); ~~~~~~ ^~~~~~~ e_loadsave.cpp:139:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] numChars += partLen; ~~ ^~~~~~~ e_loadsave.cpp:207:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memset(VV, 0, VCount * sizeof(int)); ^~~~~~ ~ e_loadsave.cpp:259:99: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (len_end != 0 && memcmp(LL[l]->Chars + pos, BFS(this, BFS_CommentEnd), len_end) != 0) continue; ~~~~~~ ^~~~~~~ e_loadsave.cpp:276:111: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (pos < 0 || (len_start != 0 && memcmp(LL[l]->Chars + pos, BFS(this, BFS_CommentStart), len_start) != 0)) continue; ~~~~~~ ^~~~~~~~~ e_loadsave.cpp:336:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(buf, LL[l]->Chars + pos, i); buf[i] = 0; ~~~~~~ ^ e_loadsave.cpp:357:95: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (len_end != 0 && memcmp(LL[l]->Chars + pos, BFS(this, BFS_CommentEnd), len_end) != 0) continue; ~~~~~~ ^~~~~~~ e_loadsave.cpp:369:39: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] FF[f].level = (char)(level & 0xFF); ~ ^~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:376:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] LL[l]->Count - pos); ~~~~~~~~~~~~~^~~~~ e_loadsave.cpp:70:19: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] while ((len = read(fd, FileBuffer, sizeof(FileBuffer))) > 0) { ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:133:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] partLen = e - p; // # of chars in buffer for current line ~ ~~^~~ e_loadsave.cpp:226:26: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] else len_start = strlen(BFS(this, BFS_CommentStart)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:228:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] else len_end = strlen(BFS(this, BFS_CommentEnd)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:497:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] foldlen = sprintf(fold, ~ ^~~~~~~~~~~~~ e_loadsave.cpp:509:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] blen += sprintf(book + blen, "%04x%02zx%s", bpos.Col, strlen(bname), bname); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:512:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] blen += sprintf(book + blen, "x%04xb", blen); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:544:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ((int)(fwrite(L->Chars, 1, L->Count, fp)) != L->Count) ~~~~~~ ~~~^~~~~ e_loadsave.cpp:546:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ByteCount += L->Count; ~~ ~~~^~~~~ e_loadsave.cpp:487:50: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] if (BFS(this, BFS_CommentStart)) len_start = strlen(BFS(this, BFS_CommentStart)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:488:46: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] if (BFS(this, BFS_CommentEnd)) len_end = strlen(BFS(this, BFS_CommentEnd)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 warnings generated. c++ -c e_regex.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_regex.cpp:79:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:83:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:87:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:98:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 7) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:102:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 7) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:106:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 7) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:117:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) N = N + 48 - 65 + 10; if (N > 15) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:121:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) N = N + 48 - 65 + 10; if (N > 15) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:156:22: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] switch (Ch = *((*Regexp)++)) { ~ ^~~~~~~~~~~~~~ e_regex.cpp:168:26: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] switch (Ch = *((*Regexp)++)) { ~ ^~~~~~~~~~~~~~ e_regex.cpp:183:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:187:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:191:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:202:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 7) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:206:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 7) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:210:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 7) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:221:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) N = N + 48 - 65 + 10; if (N > 15) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:225:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] N = toupper(**Regexp) - 48; if (N > 9) N = N + 48 - 65 + 10; if (N > 15) return 0; ~ ~~~~~~~~~~~~~~~~~~^~~~ e_regex.cpp:248:33: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (isalnum(xx)) { ~~~~~~~ ^~ e_regex.cpp:256:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (!isalnum(xx)) { ~~~~~~~ ^~ e_regex.cpp:264:33: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (isdigit(xx)) { ~~~~~~~ ^~ e_regex.cpp:272:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (!isdigit(xx)) { ~~~~~~~ ^~ e_regex.cpp:142:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c = 0; ^ e_regex.cpp:659:46: warning: implicit conversion changes signedness: 'short' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (memcmp(rex, n->fChar, n->fLen) != 0) return 0; ~~~~~~ ~~~^~~~ e_regex.cpp:774:13: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] flags = RxOpt; ~ ^~~~~ e_regex.cpp:787:13: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] flags = RxOpt; ~ ^~~~~ e_regex.cpp:810:18: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] Ch = toupper(Ch); ~ ^~~~~~~~~~~ e_regex.cpp:847:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] *s = (char *) realloc(*s, NewLen); ~~~~~~~ ^~~~~~ e_regex.cpp:849:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(*s + *len, a, alen); ~~~~~~ ^~~~ e_regex.cpp:851:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] *s = (char *) malloc(NewLen); ~~~~~~ ^~~~~~ e_regex.cpp:853:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(*s, a, alen); ~~~~~~ ^~~~ 31 warnings generated. c++ -c e_print.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_print.cpp:77:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ((int)(fwrite(LL->Chars + A, 1, Z - A, fp)) != Z - A) { ~~~~~~ ~~^~~ e_print.cpp:88:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ e_print.cpp:94:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ e_print.cpp:148:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ByteCount += BChars; ~~ ^~~~~~ e_print.cpp:150:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ((int)(fwrite(FileBuffer, 1, BChars, fp)) != BChars) goto fail; ~~~~~~ ^~~~~~ e_print.cpp:156:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ByteCount += RLine(l)->Count; ~~ ~~~~~~~~~~^~~~~ e_print.cpp:158:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (int(fwrite(RLine(l)->Chars, 1, RLine(l)->Count, fp)) != RLine(l)->Count) goto fail; ~~~~~~ ~~~~~~~~~~^~~~~ e_print.cpp:160:68: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(FileBuffer + BChars, RLine(l)->Chars, RLine(l)->Count); ~~~~~~ ~~~~~~~~~~^~~~~ e_print.cpp:170:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ByteCount += BChars; ~~ ^~~~~~ e_print.cpp:172:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ((int)(fwrite(FileBuffer, 1, BChars, fp)) != BChars) goto fail; ~~~~~~ ^~~~~~ 10 warnings generated. c++ -c e_search.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_search.cpp:16:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] case 'c': opt &= ~SEARCH_NEXT; break; // search from current position ~~ ^~~~~~~~~~~~ e_search.cpp:130:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] opt.Options = Options; ~ ^~~~~~~ e_search.cpp:269:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] && (strnicmp(P + C, Data, Len) == 0))) /* && BOL | EOL */ ~~~~~~~~ ^~~ e_search.cpp:265:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] && (memcmp(P + C, Data, Len) == 0)) ~~~~~~ ^~~ e_search.cpp:136:23: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int Options = opt.Options; ~~~~~~~ ~~~~^~~~~~~ e_search.cpp:301:23: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int Options = opt.Options; ~~~~~~~ ~~~~^~~~~~~ e_search.cpp:475:16: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int slen = strlen(opt.strSearch); ~~~~ ^~~~~~~~~~~~~~~~~~~~~ e_search.cpp:476:23: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int Options = opt.Options; ~~~~~~~ ~~~~^~~~~~~ e_search.cpp:477:16: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int rlen = strlen(opt.strReplace); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~ e_search.cpp:583:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] opt.lastInsertLen = strlen(opt.strReplace); ~ ^~~~~~~~~~~~~~~~~~~~~~ e_search.cpp:807:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] LSearch.Options = Case | Next | (Options & ~SEARCH_NCASE); ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ e_search.cpp:842:69: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] LSearch.Options = Case | (Options & ~SEARCH_NCASE) | SEARCH_ALL | SEARCH_REPLACE; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ e_search.cpp:886:89: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] rlst.Lines = (int *) realloc((void *) rlst.Lines, sizeof(int) * (rlst.Count | 0x1F)); ~ ~~~~~~~~~~~^~~~~~ e_search.cpp:984:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] p = (EBookmark *) realloc(BMarks, sizeof (EBookmark) * (1 + BMCount)); ~ ~~^~~~~~~~~ e_search.cpp:999:82: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(BMarks + i, BMarks + i + 1, sizeof(EBookmark) * (BMCount - i - 1)); ~ ~~~~~~~~~~~~^~~ e_search.cpp:1001:73: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] BMarks = (EBookmark *) realloc(BMarks, sizeof (EBookmark) * BMCount); ~ ^~~~~~~ 16 warnings generated. c++ -c e_undo.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_undo.cpp:30:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(BB.Col) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_undo.cpp:31:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(BB.Row) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_undo.cpp:32:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(BE.Col) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_undo.cpp:33:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(BE.Row) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_undo.cpp:34:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(BlockMode) == 0) return 0; ~~~~~~~~~ ^~~~~~~~~ e_undo.cpp:53:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] US.Data = (void **) realloc(US.Data, sizeof(void *) * Order); ~ ^~~~~ e_undo.cpp:54:56: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] US.Top = (int *) realloc(US.Top, sizeof(int) * Order); ~ ^~~~~ e_undo.cpp:86:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] US.Data = (void **) realloc(US.Data, sizeof(void *) * (N | 255)); ~ ~~^~~~~ e_undo.cpp:87:69: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] US.Top = (int *) realloc(US.Top, sizeof(int) * (N | 255)); ~ ~~^~~~~ e_undo.cpp:94:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(US.Data, US.Data + 1, (N - 1) * sizeof(US.Data[0])); ~~^~~ ~ e_undo.cpp:95:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memmove(US.Top, US.Top + 1, (N - 1) * sizeof(US.Top[0])); ~~^~~ ~ e_undo.cpp:105:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(CP.Col) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_undo.cpp:106:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(CP.Row) == 0) return 0; ~~~~~~~~~ ~~~^~~ e_undo.cpp:119:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] US.Data[N] = realloc(US.Data[N], Order); ~~~~~~~ ^~~~~ e_undo.cpp:120:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy((char *) US.Data[N] + US.Top[N], data, len); ~~~~~~ ^~~ e_undo.cpp:208:25: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (DelLine(Line) == 0) return 0; ~~~~~~~ ^~~~ e_undo.cpp:214:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (GetUData(No, Pos, &data, Len) == 0) return 0; ~~~~~~~~ ^~~ e_undo.cpp:216:25: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (InsLine(Line, 0) == 0) return 0; ~~~~~~~ ^~~~ e_undo.cpp:218:34: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (InsText(Line, 0, Len, (char *) data) == 0) return 0; ~~~~~~~ ^~~ e_undo.cpp:218:25: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (InsText(Line, 0, Len, (char *) data) == 0) return 0; ~~~~~~~ ^~~~ e_undo.cpp:227:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (DelChars(Line, Col, ACount) == 0) return 0; ~~~~~~~~ ^~~~~~ e_undo.cpp:227:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (DelChars(Line, Col, ACount) == 0) return 0; ~~~~~~~~ ^~~ e_undo.cpp:227:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (DelChars(Line, Col, ACount) == 0) return 0; ~~~~~~~~ ^~~~ e_undo.cpp:234:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (GetUData(No, Pos, &data, ACount) == 0) return 0; ~~~~~~~~ ^~~~~~ e_undo.cpp:236:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (InsChars(Line, Col, ACount, (char *) data) == 0) return 0; ~~~~~~~~ ^~~~~~ e_undo.cpp:236:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (InsChars(Line, Col, ACount, (char *) data) == 0) return 0; ~~~~~~~~ ^~~ e_undo.cpp:236:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (InsChars(Line, Col, ACount, (char *) data) == 0) return 0; ~~~~~~~~ ^~~~ e_undo.cpp:244:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (SetPos(Col, Line) == 0) return 0; ~~~~~~ ^~~~ e_undo.cpp:244:24: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (SetPos(Col, Line) == 0) return 0; ~~~~~~ ^~~ e_undo.cpp:255:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] BlockMode = l; ~ ^ e_undo.cpp:256:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] UGET(rc, No, Pos, l); if (rc == 0) return 0; P.Row = l; ~ ^ e_undo.cpp:257:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] UGET(rc, No, Pos, l); if (rc == 0) return 0; P.Col = l; ~ ^ e_undo.cpp:259:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] UGET(rc, No, Pos, l); if (rc == 0) return 0; P.Row = l; ~ ^ e_undo.cpp:260:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] UGET(rc, No, Pos, l); if (rc == 0) return 0; P.Col = l; ~ ^ e_undo.cpp:268:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (FoldDestroy(Line) == 0) return 0; ~~~~~~~~~~~ ^~~~ e_undo.cpp:279:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (FoldCreate(Line) == 0) return 0; ~~~~~~~~~~ ^~~~ e_undo.cpp:281:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] ff = FindFold(Line); ~~~~~~~~ ^~~~ e_undo.cpp:289:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (FoldDemote(Line) == 0) return 0; ~~~~~~~~~~ ^~~~ e_undo.cpp:295:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (FoldPromote(Line) == 0) return 0; ~~~~~~~~~~~ ^~~~ e_undo.cpp:301:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (FoldClose(Line) == 0) return 0; ~~~~~~~~~ ^~~~ e_undo.cpp:307:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (FoldOpen(Line) == 0) return 0; ~~~~~~~~ ^~~~ e_undo.cpp:318:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (GetUData(No, Pos, &data, ACount) == 0) return 0; ~~~~~~~~ ^~~~~~ e_undo.cpp:325:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; ~~~~~~ ^~~ e_undo.cpp:325:67: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; ~~~~~~ ^~~~ e_undo.cpp:332:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (GetUData(No, Pos, &data, ACount) == 0) return 0; ~~~~~~~~ ^~~~~~ e_undo.cpp:336:68: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; ~~~~~~ ^~~ e_undo.cpp:336:63: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; ~~~~~~ ^~~~ 47 warnings generated. c++ -c e_tags.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON e_tags.cpp:51:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] NM = (char *)realloc((void *)TagMem, N); ~~~~~~~ ^ e_tags.cpp:57:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(TagMem + TagLen, Mem, Len); ~~~~~~ ^~~ e_tags.cpp:70:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ND = (TagData *)realloc((void *)TagD, N * sizeof(TagData)); ^ ~ e_tags.cpp:101:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] NI = (int *)realloc((void *)TagI, CTags * sizeof(int)); ^~~~~ ~ e_tags.cpp:108:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] qsort(TagI, CTags, sizeof(TagI[0]), cmptags); ~~~~~ ^~~~~ e_tags.cpp:129:35: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ((tags = (char *)malloc(sb.st_size)) == 0) { ~~~~~~ ~~~^~~~~~~ e_tags.cpp:134:30: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size = read(fd, tags, sb.st_size); ~~~~ ~~~^~~~~~~ e_tags.cpp:142:53: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] NM = (char *)realloc((void *)TagMem, TagLen + sb.st_size); ~~~~~~~ ~~~~~~~^~~~~~~~~~~~ e_tags.cpp:145:30: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] ATagMem = TagLen + sb.st_size; ~ ~~~~~~~^~~~~~~~~~~~ e_tags.cpp:161:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] TagL = p - LTag; ~ ~~^~~~~~ e_tags.cpp:166:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] FileL = p - LFile; ~ ~~^~~~~~~ e_tags.cpp:202:48: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] MStr = AllocMem(AStr, strlen(AStr) + 1); ~~~~~~~~ ~~~~~~~~~~~~~^~~ e_tags.cpp:225:59: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] NewT = (int *)realloc((void *)TagFiles, (TagFileCount + 1) * sizeof(int)); ~~~~~~~~~~~~~^~~ ~ e_tags.cpp:221:48: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] NewF = AllocMem(FileName, strlen(FileName) + 1); ~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~ e_tags.cpp:340:69: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if (((EBuffer *)ActiveModel)->FindStr(TagMem + TT->StrFind, strlen(TagMem + TT->StrFind), 0) == 0) ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_tags.cpp:343:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ((EBuffer *)ActiveModel)->FindStr(TagMem + TT->Tag, strlen(TagMem + TT->Tag), 0); ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ e_tags.cpp:497:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] c = strncmp(Tag, TagMem + TagD[TagI[M]].Tag, len); ~~~~~~~ ^~~ e_tags.cpp:500:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncmp(Tag, TagMem + TagD[TagI[M - 1]].Tag, len) == 0) ~~~~~~~ ^~~ e_tags.cpp:503:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] while(strncmp(Tag, TagMem + TagD[TagI[N]].Tag, len) == 0) { ~~~~~~~ ^~~ e_tags.cpp:507:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] int l = strlen(TagMem + TagD[TagI[N]].Tag) - len; ~ ^~~ e_tags.cpp:509:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] char *s = new char[l + 1]; ~~~ ~~^~~ e_tags.cpp:491:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int L = 0, R = CTags, len = strlen(Tag); ~~~ ^~~~~~~~~~~ e_tags.cpp:507:64: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int l = strlen(TagMem + TagD[TagI[N]].Tag) - len; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 23 warnings generated. c++ -c g_draw.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON g_draw.cpp:52:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] for (p += sizeof(TCell) * Pos; Count > 0; Count--) { ~ ^~~ g_draw.cpp:69:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] for (p += sizeof(TCell) * Pos; Count > 0; Count--) { ~ ^~~ g_draw.cpp:86:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] for (p += sizeof(TCell) * Pos; MaxCount > 0 && (*Ch != 0); MaxCount--) { ~ ^~~ g_draw.cpp:104:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] for (p += sizeof(TCell) * Pos; MaxCount > 0 && (*Ch != 0); MaxCount--) { ~ ^~~ g_draw.cpp:130:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] for (p += sizeof(TCell) * Pos; Count > 0; Count--) { ~ ^~~ g_draw.cpp:146:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] for (p += sizeof(TCell) * Pos; Count > 0; Count--) { ~ ^~~ g_draw.cpp:148:43: warning: implicit conversion changes signedness: 'int' to 'char' [-Wsign-conversion] *p = ((unsigned char)(*p & 0x0F)) | ((unsigned char) Attr); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. c++ -c g_menu.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON g_menu.cpp:31:58: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(mMenu) * (MenuCount + 1)); ~ ~~~~~~~~~~^~~ g_menu.cpp:48:78: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(mItem) * (Menus[menu].Count + 1)); ~ ~~~~~~~~~~~~~~~~~~^~~ g_menu.cpp:66:78: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] sizeof(mItem) * (Menus[menu].Count + 1)); ~ ~~~~~~~~~~~~~~~~~~^~~ 3 warnings generated. c++ -c h_ada.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_ada.cpp:32:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:32:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:32:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:32:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:32:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:58:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_ada.cpp:60:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:60:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:71:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:71:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:71:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:73:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:73:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:73:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:77:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:77:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:77:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:78:102: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.' || *p == '_')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:78:102: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.' || *p == '_')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:78:102: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.' || *p == '_')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:100:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:100:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:100:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:108:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ada.cpp:108:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ada.cpp:108:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ada.cpp:118:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((len1 == 0)) { ~~~~~^~~~ h_ada.cpp:118:15: note: remove extraneous parentheses around the comparison to silence this warning if ((len1 == 0)) { ~ ^ ~ h_ada.cpp:118:15: note: use '=' to turn this equality comparison into an assignment if ((len1 == 0)) { ^~ = h_ada.cpp:23:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] int firstnw = 0; ^ 28 warnings generated. c++ -c h_c.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_c.cpp:43:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:43:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:43:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:43:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:43:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:81:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_c.cpp:83:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:83:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:103:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:103:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:103:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:104:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:104:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:104:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:105:57: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:105:57: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:105:57: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:108:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:108:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:108:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:109:69: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && ('0' <= *p && *p <= '7')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:109:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && ('0' <= *p && *p <= '7')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:109:69: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && ('0' <= *p && *p <= '7')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:114:61: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && !isspace(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:114:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && !isspace(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:114:61: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && !isspace(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:120:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:120:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:120:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:121:93: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:121:93: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:121:93: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:124:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:124:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:124:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:131:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:131:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:131:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:135:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:135:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:135:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:136:58: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:136:58: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:136:58: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:137:73: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:137:73: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:137:73: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:161:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:161:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:161:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:162:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:162:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:162:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:170:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:170:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:170:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:171:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:171:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:171:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:191:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:191:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:191:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:201:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:201:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:201:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:211:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:211:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:211:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:221:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:221:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:221:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:237:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_c.cpp:239:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:239:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:253:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:253:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:253:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:255:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:255:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:255:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:261:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:261:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:261:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:262:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:262:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:262:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:263:57: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:263:57: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:263:57: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:266:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:266:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:266:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:267:69: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && ('0' <= *p && *p <= '7')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:267:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && ('0' <= *p && *p <= '7')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:267:69: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && ('0' <= *p && *p <= '7')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:272:61: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && !isspace(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:272:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && !isspace(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:272:61: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && !isspace(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:278:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:278:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:278:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:279:93: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:279:93: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:279:93: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:282:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:282:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:282:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:289:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:289:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:289:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:293:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:293:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:293:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:294:58: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:294:58: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:294:58: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:295:73: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:295:73: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:295:73: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:307:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_c.cpp:307:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_c.cpp:307:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_c.cpp:352:47: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] unsigned int uLineLength = B->RLine(Row)->Count; ~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~ h_c.cpp:353:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] Pos = B->CharOffset(B->RLine(Row), Pos); ~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ h_c.cpp:353:40: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] Pos = B->CharOffset(B->RLine(Row), Pos); ~~~~~~~~~~ ^~~ h_c.cpp:355:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (NoWord && uLineLength > Pos + Len && ISNAME(pLine[Pos + Len])) ~ ^~~ h_c.cpp:18:36: note: expanded from macro 'ISNAME' #define ISNAME(x) (isalnum(x) || (x == '_')) ^ h_c.cpp:355:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (NoWord && uLineLength > Pos + Len && ISNAME(pLine[Pos + Len])) ~ ^~~ h_c.cpp:18:29: note: expanded from macro 'ISNAME' #define ISNAME(x) (isalnum(x) || (x == '_')) ^ h_c.cpp:355:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (NoWord && uLineLength > Pos + Len && ISNAME(pLine[Pos + Len])) ~ ^~~ h_c.cpp:362:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] (!CaseInsensitive && memcmp(pLine + Pos, What, Len) == 0) ~~~~~~ ^~~ h_c.cpp:361:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] (CaseInsensitive && memicmp(pLine + Pos, What, Len) == 0) || ~~~~~~~ ^~~ h_c.cpp:345:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int Len = strlen(What); ~~~ ^~~~~~~~~~~~ h_c.cpp:368:44: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if( IsState(StateMap + Pos, State, strlen(What) ) ) ENDFUNCRC(1); ~~~~~~~ ^~~~~~~~~~~~ h_c.cpp:506:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (memcmp(P + Pos, Open, LOpen) == 0) Count++; ~~~~~~ ^~~~~ h_c.cpp:520:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (memcmp(P + Pos, Close, LClose) == 0) Count--; ~~~~~~ ^~~~~~ h_c.cpp:474:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int LOpen = strlen(Open); ~~~~~ ^~~~~~~~~~~~ h_c.cpp:475:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int LClose = strlen(Close); ~~~~~~ ^~~~~~~~~~~~~ h_c.cpp:747:67: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((Flags & FIND_CASE) || (BolChar == ':')) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ h_c.cpp:747:67: note: place parentheses around the '&&' expression to silence this warning if (((Flags & FIND_CASE) || (BolChar == ':')) && ^ ( h_c.cpp:1072:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) ~~~~~~ ^~~~ h_c.cpp:1075:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] && !LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) ~~~~~~ ^~~~ h_c.cpp:1078:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) ~~~~~~ ^~~~ h_c.cpp:1134:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) ~~~~~~ ^~~~ h_c.cpp:1137:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] && !LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) ~~~~~~ ^~~~ h_c.cpp:1140:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) ~~~~~~ ^~~~ h_c.cpp:1253:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (LookAt(B, Row - 1, I, "/*", hsC_Comment, 0)) I += C_COMMENT_DELTA; ~~~~~~ ^ h_c.cpp:1255:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (LookAt(B, Row - 1, I, "/*", hsC_CPP_Comm, 0)) I += C_COMMENT_DELTA; ~~~~~~ ^ 145 warnings generated. c++ -c h_fte.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_fte.cpp:34:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:34:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:34:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:34:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:34:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:51:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_fte.cpp:53:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:53:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:70:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:70:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:70:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:71:89: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:71:89: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:71:89: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:72:54: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] if (len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:72:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:72:54: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'U')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:73:54: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:73:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:73:54: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] if (len && (toupper(*p) == 'L')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:93:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:93:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:93:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:97:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:97:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:97:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:109:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:109:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:109:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:111:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:111:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:111:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:114:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:114:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:114:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:124:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:124:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:124:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:134:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:134:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:134:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_fte.cpp:144:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_fte.cpp:144:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_fte.cpp:144:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ 44 warnings generated. c++ -c h_ipf.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_ipf.cpp:27:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:27:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ipf.cpp:27:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ipf.cpp:27:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:27:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ipf.cpp:53:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_ipf.cpp:55:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:55:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ipf.cpp:67:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ipf.cpp:67:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:67:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ipf.cpp:75:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ipf.cpp:75:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:75:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ipf.cpp:83:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ipf.cpp:83:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:83:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_ipf.cpp:96:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_ipf.cpp:96:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_ipf.cpp:96:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ 20 warnings generated. c++ -c h_make.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_make.cpp:29:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_make.cpp:29:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_make.cpp:29:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_make.cpp:29:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_make.cpp:29:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_make.cpp:58:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_make.cpp:58:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_make.cpp:58:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ 8 warnings generated. c++ -c h_pascal.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_pascal.cpp:30:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:30:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:30:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:30:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:30:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:48:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_pascal.cpp:50:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:50:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:60:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:60:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:60:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:68:7: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:68:7: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:68:7: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:69:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:69:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:69:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:70:49: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:70:49: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:70:49: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && isxdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:74:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:74:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:74:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:75:89: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:75:89: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:75:89: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:94:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:94:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:94:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:95:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:95:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:95:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:103:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:103:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:103:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:111:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:111:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:111:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:119:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:119:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:119:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:124:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_pascal.cpp:124:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_pascal.cpp:124:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_pascal.cpp:23:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] int firstnw = 0; ^ 45 warnings generated. c++ -c h_perl.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_perl.cpp:127:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncmp(hereDocKey, Line->Chars, len) == 0; ~~~~~~~ ^~~ h_perl.cpp:134:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:134:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:134:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:134:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:134:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:152:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:152:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:152:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:154:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:154:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:154:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:156:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:156:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:156:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:158:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:158:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:158:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:160:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:160:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:160:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:162:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:162:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:162:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:254:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_perl.cpp:256:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:256:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:299:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:299:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:299:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:300:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:300:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:300:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:306:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:306:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:306:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:309:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:309:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:309:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:315:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:315:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:315:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:316:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:316:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:316:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:322:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:322:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:322:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:328:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:328:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:328:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:332:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:332:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:332:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:339:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:339:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:339:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:340:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:340:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:340:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:347:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:347:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:347:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:348:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:348:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:348:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:357:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:357:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:357:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:359:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:359:25: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:359:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:359:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:359:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:360:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:360:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:360:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:370:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:370:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:370:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:383:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:383:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:383:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:387:48: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] UntilMatchBrace(first, ColorNext()); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' cmd; \ ^~~ h_perl.cpp:387:48: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] UntilMatchBrace(first, ColorNext()); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' cmd; \ ^~~ h_perl.cpp:387:48: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] UntilMatchBrace(first, ColorNext()); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' cmd; \ ^~~ h_perl.cpp:396:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:396:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:396:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:403:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:403:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:403:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:404:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:404:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:404:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:405:64: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isxdigit(*p) || *p == '_')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:405:64: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isxdigit(*p) || *p == '_')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:405:64: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isxdigit(*p) || *p == '_')) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:413:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:413:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:413:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:414:91: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while (len && (isdigit(*p) || (*p == 'e' || *p == 'E' || *p == '_'))) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:414:91: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || (*p == 'e' || *p == 'E' || *p == '_'))) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:414:91: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while (len && (isdigit(*p) || (*p == 'e' || *p == 'E' || *p == '_'))) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:447:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:447:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:447:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:481:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:481:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:481:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:482:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:482:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:482:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:488:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:488:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:488:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:494:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:494:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:494:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:525:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:525:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:525:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:541:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:541:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:541:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:569:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:569:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:569:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:572:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:572:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:572:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:588:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:588:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:588:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:591:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:591:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:591:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:619:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:619:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:619:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:636:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:636:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:636:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:656:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:656:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:656:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:664:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:664:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:664:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:665:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:665:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:665:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:666:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:666:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:666:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:667:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:667:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:667:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:681:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:681:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:681:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:691:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:691:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:691:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:701:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_perl.cpp:701:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_perl.cpp:701:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_perl.cpp:114:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] int firstnw = 0; ^ 168 warnings generated. c++ -c h_plain.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_plain.cpp:24:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:24:13: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:24:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_plain.cpp:24:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:24:13: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:37:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_plain.cpp:39:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:39:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:48:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_plain.cpp:48:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:48:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:56:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:56:13: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:56:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_plain.cpp:56:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:56:13: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:57:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_plain.cpp:57:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:57:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:64:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Width); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:64:61: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Width); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:66:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap, State, Line->Count); ~~~~~~ ~~~~~~^~~~~ h_plain.cpp:69:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Line->Count - Pos); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_plain.cpp:69:61: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Line->Count - Pos); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_plain.cpp:71:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap, State, Line->Count); ~~~~~~ ~~~~~~^~~~~ 25 warnings generated. c++ -c h_msg.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_msg.cpp:93:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:93:13: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:93:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_msg.cpp:93:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:93:13: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:105:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_msg.cpp:107:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:107:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:115:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_msg.cpp:115:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:115:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:123:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:123:13: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:123:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_msg.cpp:123:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:123:13: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:124:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_msg.cpp:124:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_msg.cpp:124:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_msg.cpp:131:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, 0, Width, Line->Chars + Pos, Color, Width); ~~~~~~~ ^~~~~ h_msg.cpp:133:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap, State, Line->Count); ~~~~~~ ~~~~~~^~~~~ h_msg.cpp:136:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, 0, Width, Line->Chars + Pos, Color, Line->Count - Pos); ~~~~~~~ ^~~~~ h_msg.cpp:138:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap, State, Line->Count); ~~~~~~ ~~~~~~^~~~~ 23 warnings generated. c++ -c h_rexx.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_rexx.cpp:31:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:31:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:31:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:31:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:31:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:36:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:36:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:36:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:38:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:38:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:38:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:83:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_rexx.cpp:85:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:85:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:99:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:99:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:99:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:101:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:101:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:101:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:106:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:106:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:106:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:107:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:107:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:107:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:111:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:111:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:111:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:112:47: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] while(len && isdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_rexx.cpp:112:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] while(len && isdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_rexx.cpp:112:47: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] while(len && isdigit(*p)) ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_rexx.cpp:23:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] int firstnw = 0; ^ h_rexx.cpp:159:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(String, Text + Pos, L) == 0) ~~~~~~~~ ^ h_rexx.cpp:155:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int L = strlen(String); ~ ^~~~~~~~~~~~~~ h_rexx.cpp:173:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(String, Text + Pos, L) == 0) ~~~~~~~~ ^ h_rexx.cpp:165:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int L = strlen(String); ~ ^~~~~~~~~~~~~~ h_rexx.cpp:210:29: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if( Ctx == 3 ) ^ h_rexx.cpp:208:25: note: previous statement is here if (StateMap) ^ 38 warnings generated. c++ -c h_sh.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_sh.cpp:34:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t len_left = len; ~~~~~~~~ ^~~ h_sh.cpp:40:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:40:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:40:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:40:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:40:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:77:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] s = strncmp(p, "in", j); ~~~~~~~ ^ h_sh.cpp:80:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] s = strncmp(p, "for", j); ~~~~~~~ ^ h_sh.cpp:83:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] s = strncmp(p, "read", j); ~~~~~~~ ^ h_sh.cpp:86:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] s = strncmp(p, "unset", j); ~~~~~~~ ^ h_sh.cpp:89:62: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] s = strncmp(p, "export", j); ~~~~~~~ ^ h_sh.cpp:118:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:118:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:118:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:121:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:121:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:121:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:124:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:124:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:124:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:146:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:146:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:146:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:147:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:147:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:147:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:148:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:148:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:148:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:232:49: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] UntilMatchBrace('{',ColorNext()); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' cmd; \ ^~~ h_sh.cpp:232:49: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] UntilMatchBrace('{',ColorNext()); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' cmd; \ ^~~ h_sh.cpp:232:49: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] UntilMatchBrace('{',ColorNext()); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' cmd; \ ^~~ h_sh.cpp:239:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_sh.cpp:239:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:239:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_sh.cpp:263:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_sh.cpp:265:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, p, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_sh.cpp:265:47: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, p, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ 38 warnings generated. c++ -c h_tex.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_tex.cpp:24:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:24:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_tex.cpp:24:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_tex.cpp:24:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:24:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_tex.cpp:35:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_tex.cpp:35:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:35:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_tex.cpp:40:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_tex.cpp:40:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:40:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_tex.cpp:56:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, State, j); ~~~~~~ ^ h_tex.cpp:58:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:58:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_tex.cpp:67:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_tex.cpp:67:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:67:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_tex.cpp:78:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_tex.cpp:78:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_tex.cpp:78:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ 20 warnings generated. c++ -c h_catbs.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_catbs.cpp:23:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_catbs.cpp:23:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_catbs.cpp:23:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_catbs.cpp:23:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_catbs.cpp:23:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() else { ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_catbs.cpp:43:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_catbs.cpp:43:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_catbs.cpp:43:17: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ 8 warnings generated. c++ -c h_simple.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON h_simple.cpp:76:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:76:21: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:76:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_simple.cpp:76:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:76:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:78:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_simple.cpp:78:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:78:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:119:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (memicmp(match, p, matchLen)) ~~~~~~~ ^~~~~~~~ h_simple.cpp:138:29: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = nextState; ~ ^~~~~~~~~ h_simple.cpp:145:33: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = nextState; ~ ^~~~~~~~~ h_simple.cpp:152:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:152:25: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:152:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_simple.cpp:152:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:152:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:154:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_simple.cpp:154:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:154:29: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:156:33: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = nextState; ~ ^~~~~~~~~ h_simple.cpp:186:37: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = st->nextKwdNoCharState; ~ ~~~~^~~~~~~~~~~~~~~~~~ h_simple.cpp:198:41: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = st->nextKwdMatchedState; ~ ~~~~^~~~~~~~~~~~~~~~~~~ h_simple.cpp:201:41: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = st->nextKwdNotMatchedState; ~ ~~~~^~~~~~~~~~~~~~~~~~~~~~ h_simple.cpp:223:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memset(StateMap + i, MState, j); ~~~~~~ ^ h_simple.cpp:225:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:225:69: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:240:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:240:9: warning: implicit conversion loses integer precision: 'int' to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:240:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_simple.cpp:240:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:240:9: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] IF_TAB() ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' if (BFI(BF, BFI_ShowTabs)) ColorChar();\ ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:242:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' BPtr[0] = *p; \ ~ ^~ h_simple.cpp:242:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ^~~~~~~~~~~~~ h_simple.cpp:242:13: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] ColorNext(); ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' #define ColorNext() do { ColorChar(); NextChar(); } while (0) ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' BPtr[1] = HILIT_CLRD(); \ ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) ~~~~~~^~~~~~~~~~~ h_simple.cpp:263:21: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] State = nextState; ~ ^~~~~~~~~ h_simple.cpp:98:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] matchFlags = tr->matchFlags; ~ ~~~~^~~~~~~~~~ h_simple.cpp:251:26: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] matchFlags = tr->matchFlags; ~ ~~~~^~~~~~~~~~ 37 warnings generated. c++ -c i_complete.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_complete.cpp:83:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int l = strlen(Words[WordPos]); ~ ^~~~~~~~~~~~~~~~~~~~~~ i_complete.cpp:96:24: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] unsigned long kb = kbCode(Event.Key.Code); ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ i_complete.cpp:181:43: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (CheckASCII(Event.Key.Code&~kfShift)) { ~^~~~~~~~ i_complete.cpp:186:22: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] s[WordFixed] = (unsigned char)(Event.Key.Code & 0xFF); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i_complete.cpp:181:42: warning: implicit conversion loses integer precision: 'TKeyCode' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if (CheckASCII(Event.Key.Code&~kfShift)) { ~~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~ i_complete.cpp:271:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int l = strlen(Words[WordPos]); ~ ^~~~~~~~~~~~~~~~~~~~~~ i_complete.cpp:312:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] WordBegin = new char[wlen + 1]; ~~~ ~~~~~^~~ i_complete.cpp:316:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(WordBegin, L->Chars + P, wlen); ~~~~~~~ ^~~~ i_complete.cpp:349:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] char *s = new char[len + 1]; ~~~ ~~~~^~~ i_complete.cpp:352:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(s, M->Chars + X + wlen, len); ~~~~~~~ ^~~ i_complete.cpp:397:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] qsort(Words, WordsLast, sizeof(Words[0]), CmpStr); ~~~~~ ^~~~~~~~~ i_complete.cpp:331:48: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] while (Buffer->FindStr(L->Chars + P, wlen, mask) == 1) { ~~~~~~~ ^~~~ i_complete.cpp:414:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] WordFixed += add; ~~ ^~~ i_complete.cpp:417:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] WordFixed += add; ~~ ^~~ i_complete.cpp:426:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] WordFixedCount = WordsLast; ~ ^~~~~~~~~ In file included from i_complete.cpp:10: In file included from ./fte.h:49: ./i_complete.h:24:11: warning: private field 'WordContinue' is not used [-Wunused-private-field] char *WordContinue; ^ 16 warnings generated. c++ -c i_ascii.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_ascii.cpp:42:16: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch(kbCode(Event.Key.Code)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ i_ascii.cpp:124:39: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B + i, char(i + LPos), hcAsciiChars, 1); ~~~~~~ ^~~~~~~~~~~~ 2 warnings generated. c++ -c i_choice.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_choice.cpp:21:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] lTitle = strlen(Title); ~ ^~~~~~~~~~~~~ i_choice.cpp:77:17: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(Event.Key.Code)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ i_choice.cpp:112:60: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Cur = FindChoiceByPoint(Event.Mouse.X, Event.Mouse.Y); ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^ i_choice.cpp:112:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Cur = FindChoiceByPoint(Event.Mouse.X, Event.Mouse.Y); ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^ i_choice.cpp:117:64: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Cur = FindChoiceByPoint(Event.Mouse.X, Event.Mouse.Y); ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^ i_choice.cpp:117:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Cur = FindChoiceByPoint(Event.Mouse.X, Event.Mouse.Y); ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^ i_choice.cpp:126:60: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Cur = FindChoiceByPoint(Event.Mouse.X, Event.Mouse.Y); ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^ i_choice.cpp:126:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Cur = FindChoiceByPoint(Event.Mouse.X, Event.Mouse.Y); ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^ i_choice.cpp:167:20: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ' ', hcChoice_Background, W); ~~~~~~ ^~~~~~~~~~~~~~~~~~~ i_choice.cpp:168:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, W, Title, hcChoice_Title, W); ~~~~~~~ ^~~~~~~~~~~~~~ i_choice.cpp:169:33: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, lTitle, W, ':', hcChoice_Background, 1); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ i_choice.cpp:170:39: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, lTitle + 2, W, Prompt, hcChoice_Param, W); ~~~~~~~ ^~~~~~~~~~~~~~ i_choice.cpp:175:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color1 = hcChoice_ActiveItem; ~ ^~~~~~~~~~~~~~~~~~~ i_choice.cpp:176:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color2 = hcChoice_ActiveChar; ~ ^~~~~~~~~~~~~~~~~~~ i_choice.cpp:178:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color1 = hcChoice_NormalItem; ~ ^~~~~~~~~~~~~~~~~~~ i_choice.cpp:179:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color2 = hcChoice_NormalChar; ~ ^~~~~~~~~~~~~~~~~~~ i_choice.cpp:183:52: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, pos, W, ConGetDrawChar(DCH_V), hcChoice_Background, 1); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 17 warnings generated. c++ -c i_input.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_input.cpp:24:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] Pos = strlen(Line); ~ ^~~~~~~~~~~~ i_input.cpp:58:17: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(Event.Key.Code)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ i_input.cpp:182:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strlen(Line) + len < MaxLen) { ~ ^~~ i_input.cpp:184:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Line + Pos, SSBuffer->RLine(0)->Chars, len); ~~~~~~ ^~~ i_input.cpp:187:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] Pos += len; ~~ ^~~ i_input.cpp:209:56: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] else if (GetInputHistory(HistId, Line, MaxLen, CurItem)); ~~~~~~~~~~~~~~~ ^~~~~~ i_input.cpp:227:41: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if ((TabCount == 1) && (kbCode(Event.Key.Code) == kbTab)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ i_input.cpp:76:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned int len = strlen(Line); ~~~ ^~~~~~~~~~~~ i_input.cpp:91:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] case kbEnd: Pos = strlen(Line); SelStart = SelEnd = 0; TabCount = 0; Event.What = evNone; break; ~ ^~~~~~~~~~~~ i_input.cpp:109:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] Pos = strlen(Line); ~ ^~~~~~~~~~~~ i_input.cpp:211:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] Pos = strlen(Line); ~ ^~~~~~~~~~~~ i_input.cpp:233:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] Pos = strlen(Line); ~ ^~~~~~~~~~~~ i_input.cpp:294:16: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (LPos + FLen <= Pos) LPos = Pos - FLen + 1; ~ ^~~~ i_input.cpp:294:42: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (LPos + FLen <= Pos) LPos = Pos - FLen + 1; ~ ^~~~ i_input.cpp:297:28: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, W, ' ', hcEntry_Field, W); ~~~~~~~~ ^~~~~~~~~~~~~ i_input.cpp:298:30: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, W, Prompt, hcEntry_Prompt, FPos); ~~~~~~~ ^~~~~~~~~~~~~~ i_input.cpp:299:35: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, FPos - 2, W, ':', hcEntry_Prompt, 1); ~~~~~~~~ ^~~~~~~~~~~~~~ i_input.cpp:300:38: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, FPos, W, Line + LPos, hcEntry_Field, FLen); ~~~~~~~ ^~~~~~~~~~~~~ i_input.cpp:301:70: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] MoveAttr(B, FPos + SelStart - LPos, W, hcEntry_Selection, SelEnd - SelStart); ~~~~~~~~ ~~~~~~~^~~~~~~~~~ i_input.cpp:301:44: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveAttr(B, FPos + SelStart - LPos, W, hcEntry_Selection, SelEnd - SelStart); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ i_input.cpp:301:33: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] MoveAttr(B, FPos + SelStart - LPos, W, hcEntry_Selection, SelEnd - SelStart); ~~~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~ i_input.cpp:301:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] MoveAttr(B, FPos + SelStart - LPos, W, hcEntry_Selection, SelEnd - SelStart); ^~~~ ~ i_input.cpp:302:32: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] ConSetCursorPos(FPos + Pos - LPos, H - 1); ~~~~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ i_input.cpp:302:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ConSetCursorPos(FPos + Pos - LPos, H - 1); ^~~~ ~ i_input.cpp:288:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] FPos = strlen(Prompt) + 2; ~ ~~~~~~~~~~~~~~~^~~ i_input.cpp:292:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] Pos = strlen(Line); ~ ^~~~~~~~~~~~ 26 warnings generated. c++ -c i_key.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c i_search.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_search.cpp:44:17: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(Event.Key.Code)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ i_search.cpp:99:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len = strlen(ISearchStr); ~ ^~~~~~~~~~~~~~~~~~ i_search.cpp:112:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len = strlen(ISearchStr); ~ ^~~~~~~~~~~~~~~~~~ i_search.cpp:180:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ConSetCursorPos(strlen(s) - 1, H - 1); ~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~ 4 warnings generated. c++ -c i_view.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_view.cpp:106:56: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ExpandHeight(Event.Mouse.Y - H + 1); ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~ i_view.cpp:218:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] rc = DLGPickChoice(this, Title, NSel, ap, Flags); ~~~~~~~~~~~~~ ^~~~~ 2 warnings generated. c++ -c i_modelview.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c i_oview.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON i_oview.cpp:36:36: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (Event.What == evKeyDown && kbCode(Event.Key.Code) == kbF12) ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -c o_buflist.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_buflist.cpp:42:53: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, Width, BList[Line] + Col, color, Width); ~~~~~~~ ^~~~~ o_buflist.cpp:67:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] BList = (char **) malloc(sizeof(char *) * BCount); ~ ^~~~~~ o_buflist.cpp:182:21: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(Event.Key.Code)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ o_buflist.cpp:228:86: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (BList[i][j] == SearchString[0] && strnicmp(SearchString, BList[i]+j, SearchLen) == 0) { ~~~~~~~~ ^~~~~~~~~ o_buflist.cpp:259:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ATitle, "Buffers", MaxLen); ~~~~~~~ ^~~~~~ o_buflist.cpp:261:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ASTitle, "Buffers", SMaxLen); ~~~~~~~ ^~~~~~~ 6 warnings generated. c++ -c o_list.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_list.cpp:50:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] List->ScrollDown(Event.Msg.Param1); ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:54:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] List->ScrollUp(Event.Msg.Param1); ~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:70:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] List->TopRow = Event.Msg.Param1; ~ ~~~~~~~~~~^~~~~~ o_list.cpp:76:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] List->ScrollRight(Event.Msg.Param1); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:80:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] List->ScrollLeft(Event.Msg.Param1); ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:92:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] List->LeftCol = Event.Msg.Param1; ~ ~~~~~~~~~~^~~~~~ o_list.cpp:115:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = Event.Mouse.X; ~ ~~~~~~~~~~~~^ o_list.cpp:116:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = Event.Mouse.Y; ~ ~~~~~~~~~~~~^ o_list.cpp:247:36: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, W, ' ', color, W); ~~~~~~~~ ^~~~~ o_list.cpp:284:18: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'char' [-Wimplicit-int-conversion] SColor = hcStatus_Active; ~ ^~~~~~~~~~~~~~~ o_list.cpp:286:18: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'char' [-Wimplicit-int-conversion] SColor = hcStatus_Normal; ~ ^~~~~~~~~~~~~~~ o_list.cpp:287:20: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] MoveCh(B, ' ', SColor, W); ~~~~~~ ^~~~~~ o_list.cpp:290:43: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] MoveStr(B, 0, W, List->Title, SColor, W); ~~~~~~~ ^~~~~~ o_list.cpp:292:41: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] MoveStr(B, W - strlen(s), W, s, SColor, W); ~~~~~~~ ^~~~~~ o_list.cpp:292:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] MoveStr(B, W - strlen(s), W, s, SColor, W); ^ ~ o_list.cpp:294:40: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] MoveStr(B, 0, W, View->CurMsg, SColor, W); ~~~~~~~ ^~~~~~ o_list.cpp:292:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] MoveStr(B, W - strlen(s), W, s, SColor, W); ~~~~~~~ ~~^~~~~~~~~~~ o_list.cpp:678:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 18 warnings generated. c++ -c o_messages.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_messages.cpp:213:60: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ErrList = (Error **) realloc(ErrList, sizeof(void *) * ErrCount); ~ ^~~~~~~~ o_messages.cpp:272:68: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); ~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~ o_messages.cpp:272:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); ~ ^~~~~~ o_messages.cpp:286:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] p = (char *)memchr(MsgBuf + BufPos, '\n', l); ~~~~~~ ^ o_messages.cpp:296:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(MsgBuf, MsgBuf + BufPos, BufLen - BufPos); ~~~~~~~ ~~~~~~~^~~~~~~~ o_messages.cpp:304:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Line, MsgBuf + BufPos, l); ~~~~~~ ^ o_messages.cpp:311:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(MsgBuf, MsgBuf + BufPos, BufLen - BufPos); ~~~~~~~ ~~~~~~~^~~~~~~~ o_messages.cpp:290:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] l = strlen(Line); ~ ^~~~~~~~~~~~ o_messages.cpp:293:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] BufPos = p + 1 - MsgBuf; ~ ~~~~~~^~~~~~~~ o_messages.cpp:384:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(fn, line + RM.Open[n], RM.Close[n] - RM.Open[n]); ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~ o_messages.cpp:387:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(ln, line + RM.Open[n], RM.Close[n] - RM.Open[n]); ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~ o_messages.cpp:390:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(msg, line + RM.Open[n], RM.Close[n] - RM.Open[n]); ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~ o_messages.cpp:371:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if (RxExec(CRegexp[i].rx, line, strlen(line), line, &RM) == 1) { ~~~~~~ ^~~~~~~~~~~~ o_messages.cpp:573:49: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, Width, str + Col, color, Width); ~~~~~~~ ^~~~~ o_messages.cpp:570:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] strlen(ErrList[Line]->text)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ o_messages.cpp:616:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(AName, "Messages", MaxLen); ~~~~~~~ ^~~~~~ o_messages.cpp:629:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(APath, Directory, MaxLen); ~~~~~~~ ^~~~~~ o_messages.cpp:636:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ASTitle, "Messages", SMaxLen); ~~~~~~~ ^~~~~~~ o_messages.cpp:645:9: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return strlen(ErrList[ARow]->text); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. c++ -c o_model.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c o_routine.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_routine.cpp:73:45: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, Width, str + Col, color, len - Col); ~~~~~~~ ^~~~~ o_routine.cpp:81:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] p = (char *) malloc(L->Count + 1); ~~~~~~ ~~~~~~~~~^~~ o_routine.cpp:83:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(p, L->Chars, L->Count); ~~~~~~ ~~~^~~~~ o_routine.cpp:113:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(AName, "Routines", MaxLen); ~~~~~~~ ^~~~~~ o_routine.cpp:122:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ASTitle, "Routines", SMaxLen); ~~~~~~~ ^~~~~~~ 5 warnings generated. c++ -c o_buffer.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_buffer.cpp:116:58: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] View->MView->ConScroll(csDown, 0, 0, Cols, Rows, hcPlain_Background, Delta); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ o_buffer.cpp:119:56: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] View->MView->ConScroll(csUp, 0, 0, Cols, Rows, hcPlain_Background, Delta); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ o_buffer.cpp:157:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Buffer->ScrollDown(Event.Msg.Param1); ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:161:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Buffer->ScrollUp(Event.Msg.Param1); ~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:178:69: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Buffer->SetNearPos(Buffer->CP.Col, Event.Msg.Param1 + ypos); ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~ o_buffer.cpp:179:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] SetTop(TP.Col, Event.Msg.Param1); ~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:185:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Buffer->ScrollRight(Event.Msg.Param1); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:189:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Buffer->ScrollLeft(Event.Msg.Param1); ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:205:53: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Buffer->SetNearPos(Event.Msg.Param1 + xpos, Buffer->CP.Row); ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~ o_buffer.cpp:206:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] SetTop(Event.Msg.Param1, TP.Row); ~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:229:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = Event.Mouse.X; ~ ~~~~~~~~~~~~^ o_buffer.cpp:230:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = Event.Mouse.Y; ~ ~~~~~~~~~~~~^ o_buffer.cpp:685:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] No = atol(Num); ~ ^~~~~~~~~ o_buffer.cpp:698:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] No = atol(Num); ~ ^~~~~~~~~ o_buffer.cpp:731:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(prev.Row) == 0) return 0; ~~~~~~~~~ ~~~~~^~~ o_buffer.cpp:732:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(prev.Col) == 0) return 0; ~~~~~~~~~ ~~~~~^~~ o_buffer.cpp:733:51: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if (PushUData((void *)n,strlen (n)+1) == 0) return 0; ~~~~~~~~~ ~~~~~~~~~~^~ o_buffer.cpp:758:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(p.Row) == 0) return 0; ~~~~~~~~~ ~~^~~ o_buffer.cpp:759:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (PushULong(p.Col) == 0) return 0; ~~~~~~~~~ ~~^~~ o_buffer.cpp:760:47: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if (PushUData((void *)n,strlen (n)+1) == 0) return 0; ~~~~~~~~~ ~~~~~~~~~~^~ o_buffer.cpp:881:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return InsertString(strbuf, strlen(strbuf)); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1171:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] LSearch.Options &= ~SEARCH_GLOBAL; ~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1181:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] LSearch.Options &= ~SEARCH_GLOBAL; ~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1191:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] LSearch.Options &= ~SEARCH_GLOBAL; ~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1192:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] LSearch.Options &= ~SEARCH_ALL; ~~ ^~~~~~~~~~~ o_buffer.cpp:1241:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] No = atol(Num); ~ ^~~~~~~~~ o_buffer.cpp:1265:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] No = atol(Num) - 1; ~ ~~~~~~~~~~^~~ o_buffer.cpp:1280:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] No = atol(Num) - 1; ~ ~~~~~~~~~~^~~ o_buffer.cpp:1363:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(AName, FileName, MaxLen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1398:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ATitle, FileName, MaxLen - 1); ~~~~~~~ ~~~~~~~^~~ o_buffer.cpp:1402:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ASTitle, p + 1, SMaxLen - 1); ~~~~~~~ ~~~~~~~~^~~ o_buffer.cpp:1405:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ASTitle, FileName, SMaxLen - 1); ~~~~~~~ ~~~~~~~~^~~ o_buffer.cpp:1503:30: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return InsertString(buf, strlen(buf)); ~~~~~~~~~~~~ ^~~~~~~~~~~ o_buffer.cpp:1518:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return InsertString(p, strlen(p)); ~~~~~~~~~~~~ ^~~~~~~~~ o_buffer.cpp:1575:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(str, FileName, buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1598:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, buf, buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1613:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, dot, buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1627:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, "", buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1637:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcat(str, tmp, buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1651:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, "", buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1679:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, &L->Chars[wordBegin], length); ~~~~~~~ ^~~~~~ o_buffer.cpp:1690:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, "", buflen); ~~~~~~~ ^~~~~~ o_buffer.cpp:1706:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, L->Chars, length); ~~~~~~~ ^~~~~~ o_buffer.cpp:1712:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(str, VERSION, buflen); ~~~~~~~ ^~~~~~ 44 warnings generated. c++ -c o_directory.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_directory.cpp:47:20: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ' ', color, Width); ~~~~~~ ^~~~~ o_directory.cpp:86:43: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveStr(B, 0, Width, s + Col, color, Width); ~~~~~~~ ^~~~~ o_directory.cpp:133:73: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Files = (FileInfo **)realloc((void *)Files, ((FCount | 255) + 1) * sizeof(FileInfo *)); ~~~~~~~~~~~~~~~^~~ ~ o_directory.cpp:143:41: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion] SizeCount += Files[FCount]->Size(); ~~ ~~~~~~~~~~~~~~~^~~~~~ o_directory.cpp:164:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] qsort(Files, FCount, sizeof(FileInfo *), FileNameCmp); ~~~~~ ^~~~~~ o_directory.cpp:243:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(SearchName, Files[i]->Name(), SearchLen) == 0) { ~~~~~~~~ ^~~~~~~~~ o_directory.cpp:255:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(SearchName, Files[i]->Name(), SearchLen) == 0) { ~~~~~~~~ ^~~~~~~~~ o_directory.cpp:294:32: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] LOG << "Key Code: " << kbCode(Event.Key.Code) << ENDLINE; ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ o_directory.cpp:296:17: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(Event.Key.Code)) { ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ o_directory.cpp:326:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strnicmp(SearchName, Files[i]->Name(), SearchLen) == 0) { ~~~~~~~~ ^~~~~~~~~ o_directory.cpp:443:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(AName, Path, MaxLen); ~~~~~~~ ^~~~~~ o_directory.cpp:449:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(APath, Path, MaxLen); ~~~~~~~ ^~~~~~ o_directory.cpp:484:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy(ATitle, Path, MaxLen - 1); ~~~~~~~ ~~~~~~~^~~ 13 warnings generated. c++ -c o_cvsbase.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_cvsbase.cpp:84:19: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] l->Status=status; ~^~~~~~ o_cvsbase.cpp:87:61: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Lines=(CvsLine **)realloc (Lines,sizeof (CvsLine *)*LineCount); ~^~~~~~~~~ o_cvsbase.cpp:154:68: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); ~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~ o_cvsbase.cpp:154:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); ~ ^~~~~~ o_cvsbase.cpp:166:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] p = (char *)memchr(MsgBuf + BufPos, '\n', l); ~~~~~~ ^ o_cvsbase.cpp:176:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(MsgBuf, MsgBuf + BufPos, BufLen - BufPos); ~~~~~~~ ~~~~~~~^~~~~~~~ o_cvsbase.cpp:184:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Line, MsgBuf + BufPos, l); ~~~~~~ ^ o_cvsbase.cpp:191:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(MsgBuf, MsgBuf + BufPos, BufLen - BufPos); ~~~~~~~ ~~~~~~~^~~~~~~~ o_cvsbase.cpp:170:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] l = strlen(Line); ~ ^~~~~~~~~~~~ o_cvsbase.cpp:173:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] BufPos = p + 1 - MsgBuf; ~ ~~~~~~^~~~~~~~ o_cvsbase.cpp:209:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len=strlen (line); ~~~ ^~~~~~~~~~~~~ o_cvsbase.cpp:312:53: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] if (len>Col) MoveStr (B,0,Width,str+Col,color,Width); ~~~~~~~ ^~~~~ o_cvsbase.cpp:311:61: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len=UnTabStr (str,sizeof (str),Lines[Line]->Msg,strlen (Lines[Line]->Msg)); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ o_cvsbase.cpp:405:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (AName,Title,MaxLen); ~~~~~~~ ^~~~~~ o_cvsbase.cpp:412:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sprintf (format,"%2d %04d/%03d %s (%%.%lus) ",ModelNo,Row,Count,Title,MaxLen-24-strlen (Title)); ~~~~~~^~~~ o_cvsbase.cpp:418:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (APath,Directory,MaxLen); ~~~~~~~ ^~~~~~ o_cvsbase.cpp:427:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sprintf (format,"%s: %%.%lus",Title,MaxLen-4-strlen (Title)); ~~~~~~^~~ o_cvsbase.cpp:429:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (ASTitle,Title,SMaxLen); ~~~~~~~ ^~~~~~~ 18 warnings generated. c++ -c o_cvs.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_cvs.cpp:18:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (l1InsertLine (tl++,strlen (Lines[i]->Msg+2),Lines[i]->Msg+2); ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -c o_svnbase.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_svnbase.cpp:84:19: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] l->Status=status; ~^~~~~~ o_svnbase.cpp:87:61: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] Lines=(SvnLine **)realloc (Lines,sizeof (SvnLine *)*LineCount); ~^~~~~~~~~ o_svnbase.cpp:154:68: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); ~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~ o_svnbase.cpp:154:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); ~ ^~~~~~ o_svnbase.cpp:166:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] p = (char *)memchr(MsgBuf + BufPos, '\n', l); ~~~~~~ ^ o_svnbase.cpp:176:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(MsgBuf, MsgBuf + BufPos, BufLen - BufPos); ~~~~~~~ ~~~~~~~^~~~~~~~ o_svnbase.cpp:184:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Line, MsgBuf + BufPos, l); ~~~~~~ ^ o_svnbase.cpp:191:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memmove(MsgBuf, MsgBuf + BufPos, BufLen - BufPos); ~~~~~~~ ~~~~~~~^~~~~~~~ o_svnbase.cpp:170:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] l = strlen(Line); ~ ^~~~~~~~~~~~ o_svnbase.cpp:173:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] BufPos = p + 1 - MsgBuf; ~ ~~~~~~^~~~~~~~ o_svnbase.cpp:209:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len=strlen (line); ~~~ ^~~~~~~~~~~~~ o_svnbase.cpp:312:53: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] if (len>Col) MoveStr (B,0,Width,str+Col,color,Width); ~~~~~~~ ^~~~~ o_svnbase.cpp:311:61: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len=UnTabStr (str,sizeof (str),Lines[Line]->Msg,strlen (Lines[Line]->Msg)); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ o_svnbase.cpp:405:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (AName,Title,MaxLen); ~~~~~~~ ^~~~~~ o_svnbase.cpp:412:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sprintf (format,"%2d %04d/%03d %s (%%.%lus) ",ModelNo,Row,Count,Title,MaxLen-24-strlen (Title)); ~~~~~~^~~~ o_svnbase.cpp:418:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (APath,Directory,MaxLen); ~~~~~~~ ^~~~~~ o_svnbase.cpp:427:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sprintf (format,"%s: %%.%lus",Title,MaxLen-4-strlen (Title)); ~~~~~~^~~ o_svnbase.cpp:429:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncpy (ASTitle,Title,SMaxLen); ~~~~~~~ ^~~~~~~ 18 warnings generated. c++ -c o_svn.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON o_svn.cpp:17:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (l1InsertLine(tl++, strlen(Lines[i]->Msg + 2), ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -c s_direct.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON s_direct.cpp:306:19: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (Flags && ffLINK) ^ ~~~~~~ s_direct.cpp:306:19: note: use '&' for a bitwise operation if (Flags && ffLINK) ^~ & s_direct.cpp:306:19: note: remove constant to silence this warning if (Flags && ffLINK) ~^~~~~~~~~ 1 warning generated. c++ -c s_util.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON s_util.cpp:91:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == kbEsc) { *Ch = 27; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:92:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == kbEnter) { *Ch = 13; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:93:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == (kbEnter | kfCtrl)) { *Ch = 10; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:94:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == kbBackSp) { *Ch = 8; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:95:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == (kbBackSp | kfCtrl)) { *Ch = 127; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:96:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == kbTab) { *Ch = 9; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:97:9: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] if (kbCode(E.Key.Code) == kbDel) { *Ch = 127; return 1; } ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ s_util.cpp:168:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] (namep, dname, len) == 0) ^~~ s_util.cpp:140:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len = strlen(namep); ~ ^~~~~~~~~~~~~ s_util.cpp:160:67: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] (!CompletionFilter || RxExec(CompletionFilter, dname, strlen(dname), dname, &RM) != 1)) ~~~~~~ ^~~~~~~~~~~~~ 10 warnings generated. c++ -c view.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON view.cpp:496:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'char' [-Wimplicit-int-conversion] SColor = hcStatus_Active; ~ ^~~~~~~~~~~~~~~ view.cpp:498:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'char' [-Wimplicit-int-conversion] SColor = hcStatus_Normal; ~ ^~~~~~~~~~~~~~~ view.cpp:500:35: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] MoveChar(B, 0, Cols, ' ', SColor, Cols); ~~~~~~~~ ^~~~~~ view.cpp:501:37: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] MoveStr(B, 0, Cols, CurMsg, SColor, Cols); ~~~~~~~ ^~~~~~ view.cpp:742:75: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if (ExpandPath("~/.fterc", command + strlen(command), sizeof(command) - strlen(command)) != 0) ~~~~~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 5 warnings generated. c++ -c gui.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c egui.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON egui.cpp:173:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if (ExecCommand(view, m->cmds[i].u.num, State) == 0 && !m->cmds[i].ign) ~~~~~~~~~~~ ~~~~~~~~~~~~~^~~ egui.cpp:294:37: warning: implicit conversion loses integer precision: 'TCommand' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ExecCommand(view, Event.Msg.Command, State); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~ egui.cpp:298:35: warning: implicit conversion loses integer precision: 'TCommand' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ExecMacro(view, Event.Msg.Command); ~~~~~~~~~ ~~~~~~~~~~^~~~~~~ egui.cpp:311:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] Event.Msg.Model->NotifyPipe(Event.Msg.Param1); ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ egui.cpp:952:21: warning: variable 'NW' set but not used [-Wunused-but-set-variable] EView *BW, *NW; ^ 5 warnings generated. c++ -c fte.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c commands.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c log.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON log.cpp:104:39: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion] os << FillChar('|', myIndentLevel - 1); ~~~~~~~~ ~~~~~~~~~~~~~~^~~ 1 warning generated. c++ -c e_unix.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c memicmp.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c g_text.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON g_text.cpp:325:44: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_AUP), hcScrollBar_Arrows, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~~ g_text.cpp:327:46: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_ADOWN), hcScrollBar_Arrows, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~~ g_text.cpp:342:33: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, fore, hcScrollBar_Fore, 1); ~~~~~~ ^~~~~~~~~~~~~~~~ g_text.cpp:344:33: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, back, hcScrollBar_Back, 1); ~~~~~~ ^~~~~~~~~~~~~~~~ g_text.cpp:349:46: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_ALEFT), hcScrollBar_Arrows, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~~ g_text.cpp:351:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_ARIGHT), hcScrollBar_Arrows, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~~ g_text.cpp:367:33: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, fore, hcScrollBar_Fore, 1); ~~~~~~ ^~~~~~~~~~~~~~~~ g_text.cpp:369:33: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, back, hcScrollBar_Back, 1); ~~~~~~ ^~~~~~~~~~~~~~~~ g_text.cpp:374:24: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ' ', hcScrollBar_Arrows, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~~ g_text.cpp:802:14: warning: explicitly assigning value of variable of type 'GView *' to itself [-Wself-assign] view = view; ~~~~ ^ ~~~~ g_text.cpp:924:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = E.Mouse.Y; ~ ~~~~~~~~^ g_text.cpp:1013:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = E.Mouse.X; ~ ~~~~~~~~^ g_text.cpp:1199:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int id = E.Msg.Param1; ~~ ~~~~~~^~~~~~ 13 warnings generated. c++ -c menu_text.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON menu_text.cpp:73:31: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, Cols, ' ', hcMenu_Background, Cols); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:77:26: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color1 = hcMenu_ActiveItem; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:78:26: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color2 = hcMenu_ActiveChar; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:80:26: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color1 = hcMenu_NormalItem; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:81:26: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color2 = hcMenu_NormalChar; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:90:63: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, pos, Cols, ConGetDrawChar(DCH_V), hcMenu_Background, 1); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:135:46: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, w, ConGetDrawChar(DCH_H), hcMenu_Background, w); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:136:39: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_C1), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:137:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B + w - 1, ConGetDrawChar(DCH_C2), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:141:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color1 = hcMenu_ActiveItem; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:142:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color2 = hcMenu_ActiveChar; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:144:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color1 = hcMenu_NormalItem; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:145:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] color2 = hcMenu_NormalChar; ~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:162:46: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_V), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:163:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B + w - 1, ConGetDrawChar(DCH_V), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:173:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, w, ConGetDrawChar(DCH_H), hcMenu_Background, w); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:174:46: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_V), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:175:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B + w - 1, ConGetDrawChar(DCH_V), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:179:46: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveChar(B, 0, w, ConGetDrawChar(DCH_H), hcMenu_Background, w); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:180:39: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B, ConGetDrawChar(DCH_C3), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:181:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] MoveCh(B + w - 1, ConGetDrawChar(DCH_C4), hcMenu_Background, 1); ~~~~~~ ^~~~~~~~~~~~~~~~~ menu_text.cpp:218:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ menu_text.cpp:227:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ menu_text.cpp:240:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] c = (PCell) malloc(w * h * sizeof(TCell)); ~~^~~ ~ menu_text.cpp:295:21: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(E.Key.Code)) { ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ menu_text.cpp:325:62: warning: implicit conversion changes signedness: 'int' to 'TCommand' (aka 'unsigned long') [-Wsign-conversion] E.Msg.Command = Menus[id].Items[cur].Cmd; ~ ~~~~~~~~~~~~~~~~~~~~~^~~ menu_text.cpp:354:82: warning: implicit conversion changes signedness: 'int' to 'TCommand' (aka 'unsigned long') [-Wsign-conversion] E.Msg.Command = Menus[id].Items[cur].Cmd; ~ ~~~~~~~~~~~~~~~~~~~~~^~~ menu_text.cpp:460:58: warning: implicit conversion changes signedness: 'int' to 'TCommand' (aka 'unsigned long') [-Wsign-conversion] E.Msg.Command = Menus[id].Items[cur].Cmd; ~ ~~~~~~~~~~~~~~~~~~~~~^~~ menu_text.cpp:254:59: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:254:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:372:67: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:372:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:387:71: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:387:56: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:399:102: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = GetVPosItem(p->id, p->w, E.Mouse.X - p->x, E.Mouse.Y - p->y); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ menu_text.cpp:399:84: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = GetVPosItem(p->id, p->w, E.Mouse.X - p->x, E.Mouse.Y - p->y); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ menu_text.cpp:403:76: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = GetHPosItem(p->id, E.Mouse.X); ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:426:67: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:426:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetVPosItem(id, w, E.Mouse.X - x, E.Mouse.Y - y); ~~~~~~~~~~~ ~~~~~~~~~~^~~ menu_text.cpp:436:90: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = GetVPosItem(p->id, p->w, E.Mouse.X - p->x, E.Mouse.Y - p->y); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ menu_text.cpp:436:72: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = GetVPosItem(p->id, p->w, E.Mouse.X - p->x, E.Mouse.Y - p->y); ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ menu_text.cpp:440:64: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = GetHPosItem(p->id, E.Mouse.X); ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:552:21: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] switch (kbCode(E.Key.Code)) { ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' #define kbCode(x) (((x) & 0x0FFFFFFF) & ~(kfGray | kfAltXXX)) ~ ^~~~~~~~~~~~~~~~~~~~ menu_text.cpp:581:62: warning: implicit conversion changes signedness: 'int' to 'TCommand' (aka 'unsigned long') [-Wsign-conversion] E.Msg.Command = Menus[id].Items[cur].Cmd; ~ ~~~~~~~~~~~~~~~~~~~~~^~~ menu_text.cpp:605:82: warning: implicit conversion changes signedness: 'int' to 'TCommand' (aka 'unsigned long') [-Wsign-conversion] E.Msg.Command = Menus[id].Items[cur].Cmd; ~ ~~~~~~~~~~~~~~~~~~~~~^~~ menu_text.cpp:653:58: warning: implicit conversion changes signedness: 'int' to 'TCommand' (aka 'unsigned long') [-Wsign-conversion] E.Msg.Command = Menus[id].Items[cur].Cmd; ~ ~~~~~~~~~~~~~~~~~~~~~^~~ menu_text.cpp:517:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetHPosItem(id, E.Mouse.X); ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:623:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetHPosItem(id, E.Mouse.X); ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:636:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetHPosItem(id, E.Mouse.X); ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:644:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cur = GetHPosItem(id, E.Mouse.X); ~~~~~~~~~~~ ~~~~~~~~^ 50 warnings generated. c++ -c con_x11.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON con_x11.cpp:244:48: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] Colors[i].blue = (RGBColor[i].b << 8) | RGBColor[i].b; ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ con_x11.cpp:245:48: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] Colors[i].green = (RGBColor[i].g << 8) | RGBColor[i].g; ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ con_x11.cpp:246:48: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] Colors[i].red = (RGBColor[i].r << 8) | RGBColor[i].r; ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ con_x11.cpp:249:43: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] Colors[i].blue = (dcolors[i].b << 8) | dcolors[i].b; ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ con_x11.cpp:250:43: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] Colors[i].green = (dcolors[i].g << 8) | dcolors[i].g; ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ con_x11.cpp:251:43: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] Colors[i].red = (dcolors[i].r << 8) | dcolors[i].r; ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ con_x11.cpp:272:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] clr.pixel = j; ~ ^ con_x11.cpp:292:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] pix = j; ~ ^ con_x11.cpp:471:32: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] XSelectInput(display, win, mask); ~~~~~~~~~~~~ ^~~~ con_x11.cpp:560:53: warning: implicit conversion changes signedness: 'int' to 'char' [-Wsign-conversion] ((char *)(colors + j))[0] = xc.blue >> 8; ~ ~~~~~~~~^~~~ con_x11.cpp:561:54: warning: implicit conversion changes signedness: 'int' to 'char' [-Wsign-conversion] ((char *)(colors + j))[1] = xc.green >> 8; ~ ~~~~~~~~~^~~~ con_x11.cpp:562:52: warning: implicit conversion changes signedness: 'int' to 'char' [-Wsign-conversion] ((char *)(colors + j))[2] = xc.red >> 8; ~ ~~~~~~~^~~~ con_x11.cpp:563:45: warning: implicit conversion changes signedness: 'int' to 'char' [-Wsign-conversion] ((char *)(colors + j))[3] = 0xff; ~ ^~~~ con_x11.cpp:572:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] long *iconBuffer = (long *)malloc(iconBufferSize * sizeof(long)); ^~~~~~~~~~~~~~ ~ con_x11.cpp:600:67: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] XResizeWindow(display, win, ScreenCols * FontCX, ScreenRows * FontCY); ~ ^~~~~~ con_x11.cpp:600:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] XResizeWindow(display, win, ScreenCols * FontCX, ScreenRows * FontCY); ~ ^~~~~~ con_x11.cpp:461:16: warning: variable 'mask' is used uninitialized whenever '?:' condition is false [-Wsometimes-uninitialized] i18n_ctx = useI18n ? i18n_open(display, win, &mask) : 0; ^~~~~~~ con_x11.cpp:468:5: note: uninitialized use occurs here mask |= ExposureMask | StructureNotifyMask | VisibilityChangeMask | ^~~~ con_x11.cpp:461:16: note: remove the '?:' if its condition is always true i18n_ctx = useI18n ? i18n_open(display, win, &mask) : 0; ^~~~~~~~~~ ~~~~ con_x11.cpp:419:23: note: initialize the variable 'mask' to silence this warning unsigned long mask; ^ = 0 con_x11.cpp:608:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenCols = XSize; ~ ^~~~~ con_x11.cpp:610:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenRows = YSize; ~ ^~~~~ con_x11.cpp:634:26: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] MoveCh(B, ' ', 0x07, ScreenCols); ~~~~~~ ^~~~~~~~~~ con_x11.cpp:635:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return ConPutLine(0, 0, ScreenCols, ScreenRows, B); ~~~~~~~~~~ ^~~~~~~~~~ con_x11.cpp:635:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return ConPutLine(0, 0, ScreenCols, ScreenRows, B); ~~~~~~~~~~ ^~~~~~~~~~ con_x11.cpp:659:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(Title, winTitle, MaxLen); ~~~~~~~ ^~~~~~ con_x11.cpp:660:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strlcpy(STitle, winSTitle, SMaxLen); ~~~~~~~ ^~~~~~~ con_x11.cpp:678:39: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] fontStruct->max_bounds.ascent + CursorY * FontCY, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ con_x11.cpp:678:51: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] fontStruct->max_bounds.ascent + CursorY * FontCY, ~ ^~~~~~ con_x11.cpp:678:32: warning: implicit conversion changes signedness: 'short' to 'unsigned int' [-Wsign-conversion] fontStruct->max_bounds.ascent + CursorY * FontCY, ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ con_x11.cpp:677:17: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] CursorX * FontCX, ~~~~~~~~^~~~~~~~ con_x11.cpp:677:19: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] CursorX * FontCX, ~ ^~~~~~ con_x11.cpp:683:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] CursorX * FontCX, FontCYD + CursorY * FontCY, ~~~~~~~~^~~~~~~~~~~~~~~~~~ con_x11.cpp:683:49: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] CursorX * FontCX, FontCYD + CursorY * FontCY, ~ ^~~~~~ con_x11.cpp:683:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] CursorX * FontCX, FontCYD + CursorY * FontCY, ^~~~~~~ ~ con_x11.cpp:683:19: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] CursorX * FontCX, FontCYD + CursorY * FontCY, ~~~~~~~~^~~~~~~~ con_x11.cpp:683:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] CursorX * FontCX, FontCYD + CursorY * FontCY, ~ ^~~~~~ con_x11.cpp:714:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] len = W; ~ ^ con_x11.cpp:715:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] p = CursorXYPos(X, Y + i); ^ ~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ con_x11.cpp:715:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] p = CursorXYPos(X, Y + i); ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:717:6: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] x = X; ~ ^ con_x11.cpp:720:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] c = CursorXYPos(x, Y + i); ^ ~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ con_x11.cpp:751:48: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] (char *)temp, l); ^ con_x11.cpp:749:76: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] x * FontCX, fontStruct->max_bounds.ascent + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ con_x11.cpp:750:44: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (Y + i) * FontCY, ~ ^~~~~~ con_x11.cpp:750:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (Y + i) * FontCY, ^ ~ con_x11.cpp:749:69: warning: implicit conversion changes signedness: 'short' to 'unsigned int' [-Wsign-conversion] x * FontCX, fontStruct->max_bounds.ascent + ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ con_x11.cpp:749:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] x * FontCX, fontStruct->max_bounds.ascent + ~~^~~~~~~~ con_x11.cpp:749:38: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] x * FontCX, fontStruct->max_bounds.ascent + ~ ^~~~~~ con_x11.cpp:757:50: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] (char *)temp, l); ^ con_x11.cpp:756:56: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] x * FontCX, FontCYD + (Y + i) * FontCY, ~~~~~~~~^~~~~~~~~~~~~~~~~~ con_x11.cpp:756:68: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] x * FontCX, FontCYD + (Y + i) * FontCY, ~ ^~~~~~ con_x11.cpp:756:59: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] x * FontCX, FontCYD + (Y + i) * FontCY, ^ ~ con_x11.cpp:756:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] x * FontCX, FontCYD + (Y + i) * FontCY, ^~~~~~~ ~ con_x11.cpp:756:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] x * FontCX, FontCYD + (Y + i) * FontCY, ~~^~~~~~~~ con_x11.cpp:756:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] x * FontCX, FontCYD + (Y + i) * FontCY, ~ ^~~~~~ con_x11.cpp:769:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] */ p = CursorXYPos(X, Y + i); ^ ~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ con_x11.cpp:769:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] */ p = CursorXYPos(X, Y + i); ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:770:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(p, Cell, W * 2); ~~~~~~ ~~^~~ con_x11.cpp:771:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (i + Y == CursorY) ~ ^ con_x11.cpp:782:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(Cell, CursorXYPos(X, Y + i), 2 * W); ~~~~~~ ~~^~~ con_x11.cpp:782:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(Cell, CursorXYPos(X, Y + i), 2 * W); ~~~~~~~~~~~~~~~~~^~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:782:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(Cell, CursorXYPos(X, Y + i), 2 * W); ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:817:31: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (H - Count) * FontCY, ~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:816:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] W * FontCX, ~~^~~~~~~~ con_x11.cpp:821:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); ~~~~~~ ~~^~~ con_x11.cpp:821:57: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:821:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:821:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); ~~~~~~~~~~~~~~~~~^~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:821:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:830:31: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (H - Count) * FontCY, ~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:829:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] W * FontCX, ~~^~~~~~~~ con_x11.cpp:834:76: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); ~~~~~~ ~~^~~ con_x11.cpp:834:64: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:834:55: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:834:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); ~~~~~~~~~~~~~~~~~^~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:834:32: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:849:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] p = NewBuffer = (unsigned char *) malloc(X * Y * 2); ~~~~~~ ~~~~~~^~~ con_x11.cpp:855:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] MX = ScreenCols; ~ ^~~~~~~~~~ con_x11.cpp:858:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] MY = ScreenRows; ~ ^~~~~~~~~~ con_x11.cpp:863:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(p, CursorXYPos(0, i), MX * 2); ~~~~~~ ~~~^~~ con_x11.cpp:863:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] memcpy(p, CursorXYPos(0, i), MX * 2); ~~~~~~~~~~~~~~~^~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:868:18: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenCols = X; ~ ^ con_x11.cpp:869:18: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenRows = Y; ~ ^ con_x11.cpp:877:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *X = ScreenCols; ~ ^~~~~~~~~~ con_x11.cpp:878:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *Y = ScreenRows; ~ ^~~~~~~~~~ con_x11.cpp:884:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] CursorX = X; ~ ^ con_x11.cpp:885:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] CursorY = Y; ~ ^ con_x11.cpp:891:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *X = CursorX; ~ ^~~~~~~ con_x11.cpp:892:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *Y = CursorY; ~ ^~~~~~~ con_x11.cpp:978:52: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (xx + ww > (int)ScreenCols) ww = ScreenCols - xx; ~ ~~~~~~~~~~~^~~~ con_x11.cpp:978:54: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (xx + ww > (int)ScreenCols) ww = ScreenCols - xx; ~ ^~ con_x11.cpp:979:52: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] if (yy + hh > (int)ScreenRows) hh = ScreenRows - yy; ~ ~~~~~~~~~~~^~~~ con_x11.cpp:979:54: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (yy + hh > (int)ScreenRows) hh = ScreenRows - yy; ~ ^~ con_x11.cpp:983:33: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] p = (PCell) CursorXYPos(xx, yy); ~~~~~~~~~~~~~~~~^~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:983:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] p = (PCell) CursorXYPos(xx, yy); ~~~~~~~~~~~~^~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' #define CursorXYPos(x,y) (ScreenBuffer + ((x) + ((y) * ScreenCols)) * 2) ^ ~ con_x11.cpp:994:14: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] int ox = ScreenCols; ~~ ^~~~~~~~~~ con_x11.cpp:995:14: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] int oy = ScreenRows; ~~ ^~~~~~~~~~ con_x11.cpp:1004:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] (ScreenCols - ox) * FontCX, ScreenRows * FontCY); ~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1004:67: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (ScreenCols - ox) * FontCX, ScreenRows * FontCY); ~ ^~~~~~ con_x11.cpp:1004:44: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] (ScreenCols - ox) * FontCX, ScreenRows * FontCY); ~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1004:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (ScreenCols - ox) * FontCX, ScreenRows * FontCY); ~ ^~~~~~ con_x11.cpp:1004:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (ScreenCols - ox) * FontCX, ScreenRows * FontCY); ~ ^~ con_x11.cpp:1007:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] ScreenCols * FontCX, (ScreenRows - oy) * FontCY); ~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1007:67: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenCols * FontCX, (ScreenRows - oy) * FontCY); ~ ^~~~~~ con_x11.cpp:1007:61: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenCols * FontCX, (ScreenRows - oy) * FontCY); ~ ^~ con_x11.cpp:1007:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] ScreenCols * FontCX, (ScreenRows - oy) * FontCY); ~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1007:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] ScreenCols * FontCX, (ScreenRows - oy) * FontCY); ~ ^~~~~~ con_x11.cpp:1126:24: warning: implicit conversion changes signedness: 'int' to 'KeySym' (aka 'unsigned long') [-Wsign-conversion] key &= ~0x20; ~~ ^~~~~ con_x11.cpp:1140:37: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] Event->Key.Code = k | myState; ~ ~~^~~~~~~~~ con_x11.cpp:1223:42: warning: implicit conversion changes signedness: 'short' to 'unsigned short' [-Wsign-conversion] Event->Mouse.Count = ++LastClickCount; ~ ^~~~~~~~~~~~~~~~ con_x11.cpp:1173:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] LastMouseX = Event->Mouse.X; ~ ~~~~~~~~~~~~~^ con_x11.cpp:1174:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] LastMouseY = Event->Mouse.Y; ~ ~~~~~~~~~~~~~^ con_x11.cpp:1363:107: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] ConvertClickToEvent(event.type, buttonEvent->x, buttonEvent->y, buttonEvent->button, buttonEvent->state, Event, motionEvent->time); ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~ con_x11.cpp:1363:86: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] ConvertClickToEvent(event.type, buttonEvent->x, buttonEvent->y, buttonEvent->button, buttonEvent->state, Event, motionEvent->time); ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ con_x11.cpp:1374:27: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] state = keyEvent->state; ~ ~~~~~~~~~~^~~~~ con_x11.cpp:1376:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] keyEvent1.state &= ~(ShiftMask | ControlMask | Mod1Mask /* | Mod2Mask*/ | Mod3Mask | Mod4Mask | Mod5Mask); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1393:89: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] ConvertClickToEvent(event.type, motionEvent->x, motionEvent->y, 0, motionEvent->state, Event, motionEvent->time); ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~ con_x11.cpp:1502:82: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] text_property.value, text_property.nitems, True); ~~~~~~~~~~~~~~^~~~~~ con_x11.cpp:1496:31: warning: result of comparison of constant -1 with expression of type 'XICCEncodingStyle' is always true [-Wtautological-constant-out-of-range-compare] if (style != -1) { ~~~~~ ^ ~~ con_x11.cpp:1544:39: warning: implicit conversion changes signedness: 'time_t' (aka 'long long') to 'unsigned long' [-Wsign-conversion] CursorLastTime = tv.tv_sec * 1000 + tv.tv_usec / 1000; ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ con_x11.cpp:1580:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] WaitTime = CursorFlashInterval; ~ ^~~~~~~~~~~~~~~~~~~ con_x11.cpp:1736:49: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] isi->data = (unsigned char *)malloc(len); ~~~~~~ ^~~ con_x11.cpp:1737:60: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (isi->data != NULL) memcpy(isi->data, data, len); ~~~~~~ ^~~ con_x11.cpp:1711:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] send = len - i; ~ ~~~~^~~ con_x11.cpp:1723:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] isi->len = len; ~ ^~~ con_x11.cpp:1797:42: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] buffer = (unsigned char *)malloc(buffer_len); ~~~~~~ ^~~~~~~~~~ con_x11.cpp:1817:72: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] XGetWindowProperty(display, win, prop_selection, 0, nitems + bytes_after, True, type, ~~~~~~~~~~~~~~~~~~ ~~~~~~~^~~~~~~~~~~~~ con_x11.cpp:1824:35: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] int new_len = pos + nitems; ^~~ ~ con_x11.cpp:1825:73: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] unsigned char *new_buffer = (unsigned char *)malloc(new_len); ~~~~~~ ^~~~~~~ con_x11.cpp:1826:64: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (new_buffer) memcpy(new_buffer, buffer, buffer_len); ~~~~~~ ^~~~~~~~~~ con_x11.cpp:1842:30: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] nitems = pos; ~ ^~~ con_x11.cpp:1850:77: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] retval = XGetWindowProperty(display, win, prop_selection, 0, nitems + bytes_after, True, type, ~~~~~~~~~~~~~~~~~~ ~~~~~~~^~~~~~~~~~~~~ con_x11.cpp:1891:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] *data = (char *)malloc(*len + 1); ~~~~~~ ~~~~~^~~ con_x11.cpp:1824:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int new_len = pos + nitems; ~~~~~~~ ~~~~^~~~~~~~ con_x11.cpp:1865:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] *len = nitems; ~ ^~~~~~ con_x11.cpp:1914:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] *data = (char *) malloc(CurSelectionLen[clipboard]); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1917:52: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(*data, CurSelectionData[clipboard], CurSelectionLen[clipboard]); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1918:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] *len = CurSelectionLen[clipboard]; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1946:63: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] CurSelectionData[clipboard] = (unsigned char *)malloc(len + 1); ~~~~~~ ~~~~^~~ con_x11.cpp:1952:47: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(CurSelectionData[clipboard], data, CurSelectionLen[clipboard]); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:2111:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] r = read(Pipes[id].fd, buffer, len); ~~~~ ^~~ con_x11.cpp:2111:9: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] r = read(Pipes[id].fd, buffer, len); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 warnings generated. c++ -c clip_x11.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON clip_x11.cpp:59:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] char *n = (char *)realloc(p, l + L->Count + 1); ~~~~~~~ ~~~~~~~~~~~~~^~~ 1 warning generated. c++ -c con_i18n.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -c g_nodlg.cpp -O2 -pipe -g -g -Wall -Wpointer-arith -Wconversion -Wwrite-strings -fno-rtti -fno-exceptions -I/usr/X11R6/include -DUNIX -DLINUX -DUSE_XMB -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON c++ -o xfte indent.o e_mark.o o_modemap.o c_desktop.o c_bind.o c_color.o c_config.o c_history.o c_hilit.o c_mode.o e_block.o e_buffer.o e_cmds.o e_cvslog.o e_svnlog.o e_redraw.o e_file.o e_fold.o e_trans.o e_line.o e_loadsave.o e_regex.o e_print.o e_search.o e_undo.o e_tags.o g_draw.o g_menu.o h_ada.o h_c.o h_fte.o h_ipf.o h_make.o h_pascal.o h_perl.o h_plain.o h_msg.o h_rexx.o h_sh.o h_tex.o h_catbs.o h_simple.o i_complete.o i_ascii.o i_choice.o i_input.o i_key.o i_search.o i_view.o i_modelview.o i_oview.o o_buflist.o o_list.o o_messages.o o_model.o o_routine.o o_buffer.o o_directory.o o_cvsbase.o o_cvs.o o_cvsdiff.o o_svnbase.o o_svn.o o_svndiff.o s_files.o s_direct.o s_util.o s_string.o view.o gui.o egui.o fte.o commands.o log.o e_unix.o memicmp.o g_text.o menu_text.o con_x11.o clip_x11.o con_i18n.o g_nodlg.o -L/usr/X11R6/lib -lXpm -lX11 -lXdmcp -lXau ld: warning: e_mark.cpp:12(e_mark.o:(EMark::EMark(char*, char*, EPoint, EBuffer*))): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: e_mark.cpp:235(e_mark.o:(EMarkIndex::pushMark(EBuffer*, EPoint))): warning: sprintf() is often misused, please use snprintf() ld: warning: c_config.cpp:585(c_config.o:(ReadConfigFile(_CurPos&))): warning: strcat() is almost always misused, please use strlcat() ld: warning: view.cpp:475(view.o:(EView::Msg(int, char const*, ...))): warning: vsprintf() is often misused, please use vsnprintf() >>> Running package in editors/fte at 1732125807.67 ===> editors/fte ===> Faking installation for fte-20090118p3 (cd src; /usr/bin/make unix) make -f fte-unix.mak sh ./install (cd src; make unix) make -f fte-unix.mak rm: /exopi-obj/pobj/fte-20090118/fake-amd64/usr/local/share/fte/config/*.orig: No such file or directory cfte 0.50.01-cvs Copyright (c) 1994-1998 Marko Macek Copyright (c) 2000-2006 Others Compiling to '/exopi-obj/pobj/fte-20090118/fake-amd64/usr/local/share/fte/system.fterc' Done. /exopi-obj/pobj/fte-20090118/bin/install -d -m 755 /exopi-obj/pobj/fte-20090118/fake-amd64/usr/local/share/doc/fte /exopi-obj/pobj/fte-20090118/bin/install -c -m 644 /exopi-obj/pobj/fte-20090118/fte-20090118/doc/*.html /exopi-obj/pobj/fte-20090118/fake-amd64/usr/local/share/doc/fte/ ===> Building package for fte-20090118p3 Create /exopi-cvs/ports/packages/amd64/all/fte-20090118p3.tgz Creating package fte-20090118p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming| | 1% checksumming|* | 1% checksumming|* | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 4% checksumming|*** | 5% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 22% checksumming|************** | 23% checksumming|************** | 24% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************* | 42% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 49% checksumming|****************************** | 50% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 76% checksumming|*********************************************** | 77% checksumming|*********************************************** | 78% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*** | 4% archiving|***************************** | 46% archiving|****************************** | 46% archiving|********************************* | 51% archiving|********************************** | 53% archiving|********************************** | 54% archiving|*********************************** | 54% archiving|*********************************** | 55% archiving|************************************ | 56% archiving|************************************ | 57% archiving|************************************* | 57% archiving|************************************* | 58% archiving|************************************** | 59% archiving|************************************** | 60% archiving|*************************************** | 61% archiving|**************************************** | 62% archiving|**************************************** | 63% archiving|***************************************** | 64% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|******************************************* | 67% archiving|******************************************* | 68% archiving|******************************************** | 68% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|********************************************* | 71% archiving|********************************************** | 72% archiving|*********************************************** | 73% archiving|*********************************************** | 74% archiving|************************************************ | 74% archiving|************************************************ | 75% archiving|************************************************ | 76% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|************************************************** | 77% archiving|************************************************** | 78% archiving|*************************************************** | 79% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|****************************************************** | 84% archiving|******************************************************* | 85% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/fte-20090118p3.tgz >>> Running clean in editors/fte at 1732125810.65 ===> editors/fte ===> Cleaning for fte-20090118p3 >>> Ended at 1732125811.16 max_stuck=5.67/build=47.66/package=2.98/clean=0.55