>>> Building on exopi-2 under editors/fte DIST = [editors/fte:fte-20090118.tar.gz] FULLPKGNAME = fte-20090118p3 distfiles size=599457 >>> Running build in editors/fte at 1764750918.30 ===> editors/fte ===> Building from scratch fte-20090118p3 ===> Verifying specs: X11 Xau Xdmcp Xpm c m c++ c++abi pthread ===> found X11.19.0 Xau.10.0 Xdmcp.11.0 Xpm.10.0 c.102.2 m.10.1 c++.12.0 c++abi.9.0 pthread.28.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] 111 | PutObject(cp, xtag, slen(str), str); | ~~~~~~~~~ ^~~~~~~~~ cfte.cpp:30:35: note: expanded from macro 'slen' 30 | #define slen(s) ((s) ? (strlen(s) + 1) : 0) | ~~~~~~~~~~^~~ cfte.cpp:115:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] 115 | unsigned long l = num; | ~ ^~~ cfte.cpp:638:84: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 638 | 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] 808 | *cp.c = n; | ~ ^ cfte.cpp:832:21: warning: '&&' within '||' [-Wlogical-op-parentheses] 832 | if (cp.c < cp.z && *cp.c == '-' || *cp.c == '+') { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ~~ cfte.cpp:832:21: note: place parentheses around the '&&' expression to silence this warning 832 | if (cp.c < cp.z && *cp.c == '-' || *cp.c == '+') { | ^ | ( ) cfte.cpp:853:22: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 853 | return i | CMD_EXT; | ~~~~~~ ~~^~~~~~~~~ cfte.cpp:863:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 863 | return CMacros - 1; | ~~~~~~ ~~~~~~~~^~~ cfte.cpp:954:50: warning: address of array 'Name' will always evaluate to 'true' [-Wpointer-bool-conversion] 954 | 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] 1956 | 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] 1964 | 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] 1971 | 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] 96 | 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] 118 | 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] 148 | int len = strlen(Path); | ~~~ ^~~~~~~~~~~~ s_files.cpp:384:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 384 | strlcpy(Dir, Path, DirSize); | ~~~~~~~ ^~~~~~~ s_files.cpp:405:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 405 | 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] 392 | int lastSlash = strlen(Path); | ~~~~~~~~~ ^~~~~~~~~~~~ s_files.cpp:415:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 415 | 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] 412 | int len = strlen(Path); | ~~~ ^~~~~~~~~~~~ s_files.cpp:421:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 421 | strlcpy(Root, SSLASH, RootSize); | ~~~~~~~ ^~~~~~~~ s_files.cpp:462:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 462 | 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] 456 | l1 = strlen(p1); | ~ ^~~~~~~~~~ s_files.cpp:512:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 512 | 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] 506 | 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] 506 | 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] 99 | sizeof(marks[0]) * (markCount + 1)); | ~ ~~~~~~~~~~^~~ e_mark.cpp:108:69: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 108 | 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] 153 | sizeof(marks[0]) * (markCount - M - 1)); | ~ ~~~~~~~~~~~~~~^~~ e_mark.cpp:157:68: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 157 | 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] 18 | 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] 37 | 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] 44 | 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] 46 | 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] 79 | 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] 149 | 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] 166 | strncpy(AName, "EventMapView", MaxLen); | ~~~~~~~ ^~~~~~ o_modemap.cpp:179:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 179 | strncpy(ASTitle, "EventMapView", SMaxLen); | ~~~~~~~ ^~~~~~~ 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 8 warnings generated. c_desktop.cpp:141:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 141 | P.Row = strtol(p, &c, 10); | ~ ^~~~~~~~~~~~~~~~~ c_desktop.cpp:145:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 145 | 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] 306 | long flags = aKey & ~ 0xFFFF; | ~~~~~ ~~~~~^~~~~~~~~~ c_bind.cpp:306:25: warning: implicit conversion changes signedness: 'int' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 306 | long flags = aKey & ~ 0xFFFF; | ~ ^~~~~~~~ c_bind.cpp:315:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 315 | else if (isascii(key)) | ^ c_bind.cpp:329:16: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 329 | aKey = key | flags; | ~ ~~~~^~~~~~~ c_bind.cpp:315:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 315 | else if (isascii(key)) | ~~~~~~~ ^~~ c_bind.cpp:316:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 316 | key = toupper(key); | ~~~~~~~ ^~~ c_bind.cpp:326:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 326 | if (isascii(key)) | ~~~~~~~ ^~~ c_bind.cpp:327:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 327 | key = toupper(key); | ~~~~~~~ ^~~ c_bind.cpp:510:26: warning: implicit conversion changes signedness: 'int' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 510 | 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] 510 | ks.Key = toupper(ks.Key); | ~~~~~~~ ~~~^~~ c_bind.cpp:518:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 518 | strlcpy(Key, "", KeySize); | ~~~~~~~ ^~~~~~~ c_bind.cpp:520:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 520 | 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] 521 | 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] 522 | 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] 523 | 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] 524 | 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] 525 | 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] 526 | 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] 527 | 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] 539 | strlcat(Key, "Space", KeySize); | ~~~~~~~ ^~~~~~~ c_bind.cpp:541:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 541 | strlcat(Key, c, KeySize); | ~~~~~~~ ^~~~~~~ c_bind.cpp:545:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 545 | strlcat(Key, KeyList[i].Name, KeySize); | ~~~~~~~ ^~~~~~~ c_bind.cpp:598:103: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 598 | 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] 608 | 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] 618 | 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] 628 | 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] 638 | 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] 648 | 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] 664 | 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] 670 | 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] 678 | int len = strlen(str); | ~~~ ^~~~~~~~~~~ c_bind.cpp:697:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 697 | *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] 700 | 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] 715 | return i % maxim; | ~~~~~~ ~~^~~~~~~ c_bind.cpp:715:16: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 715 | 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] 117 | 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] 147 | 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] 154 | 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] 176 | 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] 185 | 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] 169 | 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] 173 | int lx = strlen(tab->key[len]); | ~~ ^~~~~~~~~~~~~~~~~~~~~ c_config.cpp:325:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] 325 | RGBColor[idx].r = r; | ~ ^ c_config.cpp:326:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] 326 | RGBColor[idx].g = g; | ~ ^ c_config.cpp:327:23: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] 327 | RGBColor[idx].b = b; | ~ ^ c_config.cpp:365:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 365 | Map->SetMenu(what, string); | ~~~~~~~ ^~~~ c_config.cpp:393:13: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] 393 | c = *cp.c++; | ~ ^~~~~~~ c_config.cpp:395:27: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion] 395 | len = (l[1] << 8) + l[0]; | ~ ~~~~~~~~~~~~^~~~~~ c_config.cpp:427:19: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] 427 | num = num | (~0xFFFFFFFFUL); | ~ ~~~~^~~~~~~~~~~~~~~~~ c_config.cpp:427:15: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] 427 | num = num | (~0xFFFFFFFFUL); | ^~~ ~ c_config.cpp:469:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 469 | 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] 469 | 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] 469 | 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] 469 | 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] 482 | 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] 490 | 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] 498 | 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] 498 | 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] 502 | if (AddConcat(Cmd) == 0) ENDFUNCRC(-1); | ~~~~~~~~~ ^~~ c_config.cpp:505:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 505 | ENDFUNCRC(Cmd); | ~~~~~~~~~~^~~~ ./log.h:183:80: note: expanded from macro 'ENDFUNCRC' 183 | #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] 615 | if (Colorize->SetColor(cidx, svalue) == 0) | ~~~~~~~~ ^~~~ c_config.cpp:916:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 916 | Col = ColFg | (ColBg << 4); | ~ ~~~~~~^~~~~~~~~~~~~~ c_config.cpp:788:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 788 | newState.color = color; | ~ ^~~~~ c_config.cpp:821:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 821 | newTrans.nextState = nextState; | ~ ^~~~~~~~~ c_config.cpp:822:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 822 | 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] 836 | newTrans.matchLen = strlen(match); | ~ ^~~~~~~~~~~~~ c_config.cpp:877:66: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 877 | Colorize->hm->LastState()->nextKwdMatchedState = nextKwdMatchedState; | ~ ^~~~~~~~~~~~~~~~~~~ c_config.cpp:878:69: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 878 | Colorize->hm->LastState()->nextKwdNotMatchedState = nextKwdNotMatchedState; | ~ ^~~~~~~~~~~~~~~~~~~~~~ c_config.cpp:879:65: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 879 | Colorize->hm->LastState()->nextKwdNoCharState = nextKwdNoCharState; | ~ ^~~~~~~~~~~~~~~~~~ c_config.cpp:976:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 976 | 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] 984 | 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] 984 | 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] 1025 | 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] 1025 | 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] 1025 | 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] 1072 | 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] 1072 | 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] 1248 | 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] 1253 | 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] 1264 | 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] 1273 | 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] 1283 | 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] 157 | 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] 100 | r = strtol(p, &e, 10); | ~ ^~~~~~~~~~~~~~~~~ c_history.cpp:107:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 107 | c = strtol(p = e, &e, 10); | ~ ^~~~~~~~~~~~~~~~~~~~~ c_history.cpp:139:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 139 | r = strtol(p, &e, 10); | ~ ^~~~~~~~~~~~~~~~~ c_history.cpp:146:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 146 | c = strtol(p = e, &e, 10); | ~ ^~~~~~~~~~~~~~~~~~~~~ c_history.cpp:173:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 173 | i = strtol(p, &e, 10); | ~ ^~~~~~~~~~~~~~~~~ c_history.cpp:230:53: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 230 | NH = (FPosHistory **)realloc((void *)FPHistory, N * sizeof(FPosHistory *)); | ^ ~ c_history.cpp:243:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 243 | (FPHistoryCount - L) * sizeof(FPosHistory *)); | ~~~~~~~~~~~~~~~^~~ ~ c_history.cpp:289:64: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 289 | inputHistory.Count * sizeof(char *)); | ~~~~~~~~~~~~~^~~~~ ~ c_history.cpp:291:60: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 291 | inputHistory.Count * sizeof(int *)); | ~~~~~~~~~~~~~^~~~~ ~ c_history.cpp:298:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 298 | 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] 299 | 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] 322 | strncpy(String, inputHistory.Line[i], len); | ~~~~~~~ ^~~ c_history.cpp:406:80: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 406 | 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] 103 | 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] 129 | 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] 131 | 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] 203 | Colors[idx] = ColFg | (ColBg << 4); | ~ ~~~~~~^~~~~~~~~~~~~~ c_hilit.cpp:241:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 241 | 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] 249 | if (memcmp(p, str, len) == 0) { | ~~~~~~ ^~~ c_hilit.cpp:301:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 301 | state = (HState *)realloc(state, (stateCount + 1) * sizeof(HState) ); | ~~~~~~~~~~~^~~ ~ c_hilit.cpp:310:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 310 | 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] 101 | if (RxExec(m->MatchNameRx, | ~~~~~~ 102 | 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] 111 | l = read(fd, buf, 80); | ~ ^~~~~~~~~~~~~~~~~ 2 warnings generated. 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 e_block.cpp:287:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 287 | if (PushULong(CP.Col) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_block.cpp:288:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 288 | 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] 699 | 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] 707 | else | ^ e_block.cpp:712:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 712 | else { | ^ e_block.cpp:791:59: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 791 | 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] 791 | 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] 793 | 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] 793 | 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] 822 | 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] 822 | 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] 824 | 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] 824 | 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] 869 | 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] 877 | 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] 291 | else | ^ e_buffer.cpp:300:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 300 | else | ^ e_buffer.cpp:308:23: warning: add explicit braces to avoid dangling else [-Wdangling-else] 308 | } else M.Row -= Rows; | ^ e_buffer.cpp:466:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 466 | if (PushULong(CP.Col) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_buffer.cpp:467:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 467 | if (PushULong(CP.Row) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_buffer.cpp:604:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 604 | if (PushULong(RLine(Row)->Count) == 0) return 0; | ~~~~~~~~~ ~~~~~~~~~~~~^~~~~ e_buffer.cpp:605:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 605 | if (PushULong(Row) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:628:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 628 | sizeof(PELine) * (RCount - RGap)); | ~ ~~~~~~~^~~~~~ e_buffer.cpp:642:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 642 | sizeof(VV[0]) * (VCount - VGap)); | ~ ~~~~~~~^~~~~~ e_buffer.cpp:675:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 675 | if (PushULong(Row) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:690:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 690 | sizeof(PELine) * (RCount - RGap)); | ~ ~~~~~~~^~~~~~ e_buffer.cpp:704:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 704 | sizeof(VV[0]) * (VCount - VGap)); | ~ ~~~~~~~^~~~~~ e_buffer.cpp:738:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 738 | if (PushULong(ACount) == 0) return 0; | ~~~~~~~~~ ^~~~~~ e_buffer.cpp:739:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 739 | if (PushULong(Ofs) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:740:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 740 | 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] 746 | 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] 748 | if (L->Allocate(L->Count) == 0) return 0; | ~~~~~~~~ ~~~^~~~~ e_buffer.cpp:771:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 771 | if (PushULong(Row) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:772:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 772 | if (PushULong(Ofs) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:773:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 773 | if (PushULong(ACount) == 0) return 0; | ~~~~~~~~~ ^~~~~~ e_buffer.cpp:777:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 777 | 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] 779 | 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] 781 | memset(L->Chars + Ofs, ' ', ACount); | ~~~~~~ ^~~~~~ e_buffer.cpp:783:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 783 | memmove(L->Chars + Ofs, Buffer, ACount); | ~~~~~~~ ^~~~~~ e_buffer.cpp:828:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 828 | if (PushULong(ACount) == 0) return 0; | ~~~~~~~~~ ^~~~~~ e_buffer.cpp:829:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 829 | if (PushULong(Ofs) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:830:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 830 | if (PushULong(Row) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:832:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 832 | if (PushULong(Row) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:833:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 833 | if (PushULong(Ofs) == 0) return 0; | ~~~~~~~~~ ^~~ e_buffer.cpp:834:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 834 | if (PushULong(ACount) == 0) return 0; | ~~~~~~~~~ ^~~~~~ e_buffer.cpp:968:30: warning: implicit conversion changes signedness: 'short' to 'hlState' (aka 'unsigned short') [-Wsign-conversion] 968 | 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] 839 | 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] 850 | 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] 50 | int *position=new int[cnt]; | ~~~ ^~~ e_cvslog.cpp:51:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 51 | int *len=new int[cnt]; | ~~~ ^~~ e_cvslog.cpp:52:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 52 | 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] 82 | delete position;delete len;delete status; | ^ | [] e_cvslog.cpp:50:23: note: allocated with 'new[]' here 50 | 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] 82 | delete position;delete len;delete status; | ^ | [] e_cvslog.cpp:51:18: note: allocated with 'new[]' here 51 | 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] 82 | delete position;delete len;delete status; | ^ | [] e_cvslog.cpp:52:22: note: allocated with 'new[]' here 52 | 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] 37 | 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] 103 | int i=strlen (title); | ~ ^~~~~~~~~~~~~~ e_cvslog.cpp:157:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 157 | strncpy (AName,"CVS log",MaxLen); | ~~~~~~~ ^~~~~~ e_cvslog.cpp:167:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 167 | strncpy (ATitle,"CVS log",MaxLen); | ~~~~~~~ ^~~~~~ e_cvslog.cpp:168:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 168 | 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] 51 | int *position=new int[cnt]; | ~~~ ^~~ e_svnlog.cpp:52:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 52 | int *len=new int[cnt]; | ~~~ ^~~ e_svnlog.cpp:53:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 53 | 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] 83 | delete position;delete len;delete status; | ^ | [] e_svnlog.cpp:51:23: note: allocated with 'new[]' here 51 | 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] 83 | delete position;delete len;delete status; | ^ | [] e_svnlog.cpp:52:18: note: allocated with 'new[]' here 52 | 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] 83 | delete position;delete len;delete status; | ^ | [] e_svnlog.cpp:53:22: note: allocated with 'new[]' here 53 | 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] 38 | 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] 104 | int i=strlen (title); | ~ ^~~~~~~~~~~~~~ e_svnlog.cpp:158:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 158 | strncpy (AName,"SVN log",MaxLen); | ~~~~~~~ ^~~~~~ e_svnlog.cpp:168:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 168 | strncpy (ATitle,"SVN log",MaxLen); | ~~~~~~~ ^~~~~~ e_svnlog.cpp:169:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 169 | 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] 23 | *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] 144 | 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] 167 | 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] 183 | 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] 192 | 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] 194 | 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] 230 | 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] 232 | 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] 243 | 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] 245 | 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] 254 | 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] 256 | 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] 261 | 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] 401 | MoveChar(B, 0, W->Cols, ' ', SColor, W->Cols); | ~~~~~~~~ ^~~~~~ e_redraw.cpp:425:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 425 | 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] 475 | 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] 477 | 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] 477 | 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] 482 | 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] 484 | 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] 488 | 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] 419 | 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] 470 | 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] 472 | 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] 477 | 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] 577 | memcpy(s, str, len); | ~~~~~~ ^~~ e_redraw.cpp:589:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 589 | 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] 597 | 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] 608 | 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] 59 | sizeof(int) * (VCount - VGap)); | ~ ~~~~~~~^~~~~~ e_fold.cpp:97:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 97 | sizeof(int) * (VCount - VGap)); | ~ ~~~~~~~^~~~~~ e_fold.cpp:153:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 153 | else | ^ e_fold.cpp:183:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 183 | if (PushULong(Line) == 0) return 0; | ~~~~~~~~~ ^~~~ e_fold.cpp:190:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 190 | 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] 192 | 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] 268 | if (PushULong(Line) == 0) return 0; | ~~~~~~~~~ ^~~~ e_fold.cpp:273:61: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 273 | 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] 275 | 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] 302 | if (PushULong(Line) == 0) return 0; | ~~~~~~~~~ ^~~~ e_fold.cpp:326:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 326 | if (PushULong(Line) == 0) return 0; | ~~~~~~~~~ ^~~~ e_fold.cpp:351:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 351 | if (PushULong(Line) == 0) return 0; | ~~~~~~~~~ ^~~~ e_fold.cpp:434:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 434 | 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] 138 | 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] 147 | unsigned int P = CharOffset(L, CP.Col); | ~ ^~~~~~~~~~~~~~~~~~~~~ e_trans.cpp:150:26: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 150 | 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] 151 | 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] 162 | 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] 15 | Allocate(Count); | ~~~~~~~~ ^~~~~ e_line.cpp:20:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 20 | memcpy(Chars, AChars, Count); | ~~~~~~ ^~~~~ e_line.cpp:22:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 22 | memset(Chars, ' ', Count); | ~~~~~~ ^~~~~ e_line.cpp:114:57: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 114 | L = (PELine *) realloc(LL, sizeof(PELine) * (ACount + 1)); | ~ ~~~~~~~^~~ e_line.cpp:134:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 134 | sizeof(PELine) * (RPos - RGap)); | ~ ~~~~~^~~~~~ e_line.cpp:142:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 142 | sizeof(PELine) * (RGap - RPos)); | ~ ~~~~~^~~~~~ e_line.cpp:152:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 152 | V = (int *) realloc(VV, sizeof(int) * (ACount + 1)); | ~ ~~~~~~~^~~ e_line.cpp:171:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 171 | sizeof(VV[0]) * (VPos - VGap)); | ~ ~~~~~^~~~~~ e_line.cpp:179:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 179 | 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] 115 | 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] 134 | 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] 137 | memcpy((void *)(m + lm), p, partLen); | ~~~~~~ ^~~~~~~ e_loadsave.cpp:139:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 139 | numChars += partLen; | ~~ ^~~~~~~ e_loadsave.cpp:207:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 207 | 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] 259 | 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] 276 | 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] 336 | 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] 357 | 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] 369 | 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] 374 | memmove(LL[l]->Chars + startpos, | ~~~~~~~ 375 | LL[l]->Chars + pos, 376 | 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] 70 | 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] 133 | 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] 226 | 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] 228 | else len_end = strlen(BFS(this, BFS_CommentEnd)); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_loadsave.cpp:497:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 497 | foldlen = sprintf(fold, | ~ ^~~~~~~~~~~~~ 498 | FF[f].open ? "FOLD%02d" : "fold%02d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 499 | FF[f].level); | ~~~~~~~~~~~~ e_loadsave.cpp:509:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 509 | 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] 512 | 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] 544 | 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] 546 | 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] 487 | 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] 488 | 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] 79 | 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] 83 | 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] 87 | 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] 98 | 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] 102 | 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] 106 | 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] 117 | 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] 121 | 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] 156 | switch (Ch = *((*Regexp)++)) { | ~ ^~~~~~~~~~~~~~ e_regex.cpp:168:26: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] 168 | switch (Ch = *((*Regexp)++)) { | ~ ^~~~~~~~~~~~~~ e_regex.cpp:183:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 183 | 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] 187 | 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] 191 | 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] 202 | 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] 206 | 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] 210 | 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] 221 | 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] 225 | 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] 248 | if (isalnum(xx)) { | ~~~~~~~ ^~ e_regex.cpp:256:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 256 | if (!isalnum(xx)) { | ~~~~~~~ ^~ e_regex.cpp:264:33: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 264 | if (isdigit(xx)) { | ~~~~~~~ ^~ e_regex.cpp:272:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 272 | if (!isdigit(xx)) { | ~~~~~~~ ^~ e_regex.cpp:142:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] 142 | int c = 0; | ^ e_regex.cpp:659:46: warning: implicit conversion changes signedness: 'short' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 659 | 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] 774 | flags = RxOpt; | ~ ^~~~~ e_regex.cpp:787:13: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 787 | flags = RxOpt; | ~ ^~~~~ e_regex.cpp:810:18: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] 810 | Ch = toupper(Ch); | ~ ^~~~~~~~~~~ e_regex.cpp:847:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 847 | *s = (char *) realloc(*s, NewLen); | ~~~~~~~ ^~~~~~ e_regex.cpp:849:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 849 | memcpy(*s + *len, a, alen); | ~~~~~~ ^~~~ e_regex.cpp:851:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 851 | *s = (char *) malloc(NewLen); | ~~~~~~ ^~~~~~ e_regex.cpp:853:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 853 | 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] 77 | 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] 88 | } else | ^ e_print.cpp:94:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 94 | } else { | ^ e_print.cpp:148:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 148 | ByteCount += BChars; | ~~ ^~~~~~ e_print.cpp:150:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 150 | 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] 156 | ByteCount += RLine(l)->Count; | ~~ ~~~~~~~~~~^~~~~ e_print.cpp:158:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 158 | 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] 160 | 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] 170 | ByteCount += BChars; | ~~ ^~~~~~ e_print.cpp:172:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 172 | 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] 16 | 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] 130 | opt.Options = Options; | ~ ^~~~~~~ e_search.cpp:269:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 269 | && (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] 265 | && (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] 136 | int Options = opt.Options; | ~~~~~~~ ~~~~^~~~~~~ e_search.cpp:301:23: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 301 | 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] 475 | int slen = strlen(opt.strSearch); | ~~~~ ^~~~~~~~~~~~~~~~~~~~~ e_search.cpp:476:23: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 476 | 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] 477 | 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] 583 | opt.lastInsertLen = strlen(opt.strReplace); | ~ ^~~~~~~~~~~~~~~~~~~~~~ e_search.cpp:807:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 807 | LSearch.Options = Case | Next | (Options & ~SEARCH_NCASE); | ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ e_search.cpp:842:69: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 842 | 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] 886 | 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] 984 | p = (EBookmark *) realloc(BMarks, sizeof (EBookmark) * (1 + BMCount)); | ~ ~~^~~~~~~~~ e_search.cpp:999:82: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 999 | 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] 1001 | 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] 30 | if (PushULong(BB.Col) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_undo.cpp:31:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 31 | if (PushULong(BB.Row) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_undo.cpp:32:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 32 | if (PushULong(BE.Col) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_undo.cpp:33:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 33 | if (PushULong(BE.Row) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_undo.cpp:34:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 34 | if (PushULong(BlockMode) == 0) return 0; | ~~~~~~~~~ ^~~~~~~~~ e_undo.cpp:53:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 53 | 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] 54 | 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] 86 | 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] 87 | 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] 94 | 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] 95 | 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] 105 | if (PushULong(CP.Col) == 0) return 0; | ~~~~~~~~~ ~~~^~~ e_undo.cpp:106:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 106 | 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] 119 | 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] 120 | 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] 208 | 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] 214 | 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] 216 | 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] 218 | 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] 218 | 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] 227 | 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] 227 | 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] 227 | 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] 234 | 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] 236 | 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] 236 | 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] 236 | 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] 244 | 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] 244 | 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] 255 | BlockMode = l; | ~ ^ e_undo.cpp:256:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 256 | 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] 257 | 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] 259 | 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] 260 | 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] 268 | 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] 279 | 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] 281 | ff = FindFold(Line); | ~~~~~~~~ ^~~~ e_undo.cpp:289:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 289 | 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] 295 | 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] 301 | 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] 307 | 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] 318 | 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] 325 | 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] 325 | 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] 332 | 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] 336 | 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] 336 | 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] 51 | 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] 57 | memcpy(TagMem + TagLen, Mem, Len); | ~~~~~~ ^~~ e_tags.cpp:70:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 70 | ND = (TagData *)realloc((void *)TagD, N * sizeof(TagData)); | ^ ~ e_tags.cpp:101:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 101 | 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] 108 | 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] 129 | 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] 134 | 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] 142 | 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] 145 | ATagMem = TagLen + sb.st_size; | ~ ~~~~~~~^~~~~~~~~~~~ e_tags.cpp:161:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 161 | TagL = p - LTag; | ~ ~~^~~~~~ e_tags.cpp:166:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 166 | 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] 202 | MStr = AllocMem(AStr, strlen(AStr) + 1); | ~~~~~~~~ ~~~~~~~~~~~~~^~~ e_tags.cpp:225:59: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 225 | 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] 221 | 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] 340 | 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] 343 | ((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] 497 | 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] 500 | 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] 503 | 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] 507 | 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] 509 | 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] 491 | 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] 507 | 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] 52 | for (p += sizeof(TCell) * Pos; Count > 0; Count--) { | ~ ^~~ g_draw.cpp:69:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 69 | for (p += sizeof(TCell) * Pos; Count > 0; Count--) { | ~ ^~~ g_draw.cpp:86:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 86 | 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] 104 | 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] 130 | for (p += sizeof(TCell) * Pos; Count > 0; Count--) { | ~ ^~~ g_draw.cpp:146:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 146 | for (p += sizeof(TCell) * Pos; Count > 0; Count--) { | ~ ^~~ 6 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] 31 | sizeof(mMenu) * (MenuCount + 1)); | ~ ~~~~~~~~~~^~~ g_menu.cpp:48:78: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 48 | sizeof(mItem) * (Menus[menu].Count + 1)); | ~ ~~~~~~~~~~~~~~~~~~^~~ g_menu.cpp:66:78: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 66 | 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] 32 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 32 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:32:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 32 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:32:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 32 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 32 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 58 | 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] 60 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 60 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:71:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 71 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:71:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 71 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 71 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:73:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 73 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:73:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 73 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 73 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:77:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 77 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:77:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 77 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 77 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:78:102: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 78 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.' || *p == '_')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:78:102: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 78 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.' || *p == '_')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 78 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.' || *p == '_')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:100:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 100 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:100:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 100 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 100 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:108:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 108 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ada.cpp:108:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 108 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 108 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ada.cpp:118:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 118 | if ((len1 == 0)) { | ~~~~~^~~~ h_ada.cpp:118:15: note: remove extraneous parentheses around the comparison to silence this warning 118 | if ((len1 == 0)) { | ~ ^ ~ h_ada.cpp:118:15: note: use '=' to turn this equality comparison into an assignment 118 | if ((len1 == 0)) { | ^~ | = h_ada.cpp:23:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] 23 | int firstnw = 0; | ^ 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 28 warnings generated. h_c.cpp:43:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] 43 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 43 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:43:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 43 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:43:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 43 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 43 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 81 | 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] 83 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 83 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:103:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 103 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:103:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 103 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 103 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:104:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 104 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:104:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 104 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 104 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:105:57: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 105 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:105:57: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 105 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 105 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:108:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 108 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:108:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 108 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 108 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:109:69: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 109 | while (len && ('0' <= *p && *p <= '7')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:109:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 109 | while (len && ('0' <= *p && *p <= '7')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 109 | while (len && ('0' <= *p && *p <= '7')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:114:61: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 114 | while (len && !isspace(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:114:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 114 | while (len && !isspace(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 114 | while (len && !isspace(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:120:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 120 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:120:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 120 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 120 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:121:93: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 121 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:121:93: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 121 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 121 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:124:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:124:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:131:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 131 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:131:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 131 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 131 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:135:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 135 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:135:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 135 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 135 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:136:58: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 136 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:136:58: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 136 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 136 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:137:73: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 137 | if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:137:73: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 137 | if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 137 | if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:161:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 161 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:161:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 161 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 161 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:162:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 162 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:162:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 162 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 162 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:170:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 170 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:170:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 170 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 170 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:171:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 171 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:171:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 171 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 171 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:191:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 191 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:191:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 191 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 191 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:201:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 201 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:201:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 201 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 201 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:211:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 211 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:211:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 211 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 211 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:221:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 221 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:221:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 221 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 221 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 237 | 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] 239 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 239 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:253:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 253 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:253:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 253 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 253 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:255:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 255 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:255:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 255 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 255 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:261:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 261 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:261:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 261 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 261 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:262:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 262 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:262:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 262 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 262 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:263:57: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 263 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:263:57: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 263 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 263 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:266:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 266 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:266:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 266 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 266 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:267:69: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 267 | while (len && ('0' <= *p && *p <= '7')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:267:69: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 267 | while (len && ('0' <= *p && *p <= '7')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 267 | while (len && ('0' <= *p && *p <= '7')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:272:61: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 272 | while (len && !isspace(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:272:61: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 272 | while (len && !isspace(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 272 | while (len && !isspace(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:278:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 278 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:278:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 278 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 278 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:279:93: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 279 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:279:93: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 279 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 279 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:282:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 282 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:282:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 282 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 282 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:289:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 289 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:289:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 289 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 289 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:293:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 293 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:293:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 293 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 293 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:294:58: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 294 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:294:58: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 294 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 294 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:295:73: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 295 | if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:295:73: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 295 | if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 295 | if (! colored_u && len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:307:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 307 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_c.cpp:307:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 307 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 307 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_c.cpp:352:47: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 352 | unsigned int uLineLength = B->RLine(Row)->Count; | ~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~ h_c.cpp:353:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 353 | Pos = B->CharOffset(B->RLine(Row), Pos); | ~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ h_c.cpp:353:40: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 353 | Pos = B->CharOffset(B->RLine(Row), Pos); | ~~~~~~~~~~ ^~~ h_c.cpp:355:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 355 | if (NoWord && uLineLength > Pos + Len && ISNAME(pLine[Pos + Len])) | ~ ^~~ h_c.cpp:18:36: note: expanded from macro 'ISNAME' 18 | #define ISNAME(x) (isalnum(x) || (x == '_')) | ^ h_c.cpp:355:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 355 | if (NoWord && uLineLength > Pos + Len && ISNAME(pLine[Pos + Len])) | ~ ^~~ h_c.cpp:18:29: note: expanded from macro 'ISNAME' 18 | #define ISNAME(x) (isalnum(x) || (x == '_')) | ^ h_c.cpp:355:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 355 | 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] 362 | (!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] 361 | (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] 345 | 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] 368 | 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] 506 | 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] 520 | 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] 474 | 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] 475 | int LClose = strlen(Close); | ~~~~~~ ^~~~~~~~~~~~~ h_c.cpp:747:67: warning: '&&' within '||' [-Wlogical-op-parentheses] 747 | if (((Flags & FIND_CASE) || (BolChar == ':')) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 748 | (L - ColP >= 4 && | ~~~~~~~~~~~~~~~~~ 749 | IsState(StateMap + ColP, hsC_Keyword, 4) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 750 | memcmp(P + ColP, "case", 4) == 0) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ h_c.cpp:747:67: note: place parentheses around the '&&' expression to silence this warning 747 | if (((Flags & FIND_CASE) || (BolChar == ':')) && | ^ | ( 748 | (L - ColP >= 4 && 749 | IsState(StateMap + ColP, hsC_Keyword, 4) && 750 | memcmp(P + ColP, "case", 4) == 0) || | ) h_c.cpp:1072:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1072 | && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) | ~~~~~~ ^~~~ h_c.cpp:1075:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1075 | && !LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) | ~~~~~~ ^~~~ h_c.cpp:1078:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1078 | && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) | ~~~~~~ ^~~~ h_c.cpp:1134:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1134 | && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) | ~~~~~~ ^~~~ h_c.cpp:1137:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1137 | && !LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) | ~~~~~~ ^~~~ h_c.cpp:1140:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1140 | && LookAt(B, RowP, ColP, "{", hsC_Normal, 0)) | ~~~~~~ ^~~~ h_c.cpp:1253:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1253 | 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] 1255 | 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] 34 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 34 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:34:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 34 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:34:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 34 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 34 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 51 | 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] 53 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 53 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:70:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 70 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:70:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 70 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 70 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:71:89: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 71 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:71:89: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 71 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 71 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:72:54: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 72 | if (len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:72:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 72 | if (len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 72 | if (len && (toupper(*p) == 'U')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:73:54: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 73 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:73:54: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 73 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 73 | if (len && (toupper(*p) == 'L')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:93:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 93 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:93:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 93 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 93 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:97:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 97 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:97:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 97 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 97 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:109:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 109 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:109:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 109 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 109 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:111:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:111:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:114:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 114 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:114:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 114 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 114 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:124:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:124:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:134:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 134 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:134:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 134 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 134 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_fte.cpp:144:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 144 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_fte.cpp:144:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 144 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 144 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 27 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 27 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ipf.cpp:27:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 27 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ipf.cpp:27:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 27 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 27 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 53 | 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] 55 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 55 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ipf.cpp:67:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 67 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ipf.cpp:67:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 67 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 67 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ipf.cpp:75:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 75 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ipf.cpp:75:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 75 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 75 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ipf.cpp:83:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 83 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ipf.cpp:83:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 83 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 83 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_ipf.cpp:96:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 96 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_ipf.cpp:96:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 96 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 96 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 29 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 29 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_make.cpp:29:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 29 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_make.cpp:29:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 29 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 29 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_make.cpp:58:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 58 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_make.cpp:58:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 58 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 58 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 30 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 30 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:30:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 30 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:30:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 30 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 30 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 48 | 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] 50 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 50 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:60:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 60 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:60:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 60 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 60 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:68:7: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 68 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:68:7: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 68 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 68 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:69:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 69 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:69:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 69 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 69 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:70:49: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 70 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:70:49: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 70 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 70 | while (len && isxdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:74:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 74 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:74:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 74 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 74 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:75:89: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 75 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:75:89: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 75 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 75 | while (len && (isdigit(*p) || *p == 'e' || *p == 'E' || *p == '.')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:94:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 94 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:94:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 94 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 94 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:95:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 95 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:95:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 95 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 95 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:103:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 103 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:103:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 103 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 103 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:111:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:111:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:119:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 119 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:119:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 119 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 119 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:124:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_pascal.cpp:124:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_pascal.cpp:23:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] 23 | 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] 127 | 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] 134 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 134 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:134:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 134 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:134:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 134 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 134 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:152:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 152 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:152:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 152 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 152 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:154:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 154 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:154:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 154 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 154 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:156:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 156 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:156:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 156 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 156 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:158:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 158 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:158:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 158 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 158 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:160:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 160 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:160:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 160 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 160 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:162:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 162 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:162:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 162 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 162 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 254 | 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] 256 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 256 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:299:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 299 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:299:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 299 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 299 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:300:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 300 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:300:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 300 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 300 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:306:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 306 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:306:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 306 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 306 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:309:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 309 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:309:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 309 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 309 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:315:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 315 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:315:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 315 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 315 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:316:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 316 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:316:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 316 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 316 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:322:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 322 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:322:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 322 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 322 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:328:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 328 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:328:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 328 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 328 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:332:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 332 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:332:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 332 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 332 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:339:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 339 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:339:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 339 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 339 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:340:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 340 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:340:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 340 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 340 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:347:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 347 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:347:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 347 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 347 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:348:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 348 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:348:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 348 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 348 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:357:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 357 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:357:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 357 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 357 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 359 | IF_TAB() else | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 359 | IF_TAB() else | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:359:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 359 | IF_TAB() else | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:359:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 359 | IF_TAB() else | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 359 | IF_TAB() else | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:360:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 360 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:360:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 360 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 360 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:370:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 370 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:370:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 370 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 370 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:383:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 383 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:383:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 383 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 383 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:387:48: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 387 | UntilMatchBrace(first, ColorNext()); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' 152 | cmd; \ | ^~~ h_perl.cpp:387:48: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 387 | UntilMatchBrace(first, ColorNext()); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ^~~~~~~~~~~~~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' 152 | cmd; \ | ^~~ h_perl.cpp:387:48: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] 387 | UntilMatchBrace(first, ColorNext()); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ^ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' 152 | cmd; \ | ^~~ h_perl.cpp:396:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 396 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:396:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 396 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 396 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:403:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 403 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:403:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 403 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 403 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:404:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 404 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:404:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 404 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 404 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:405:64: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 405 | while (len && (isxdigit(*p) || *p == '_')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:405:64: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 405 | while (len && (isxdigit(*p) || *p == '_')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 405 | while (len && (isxdigit(*p) || *p == '_')) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:413:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 413 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:413:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 413 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 413 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:414:91: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 414 | while (len && (isdigit(*p) || (*p == 'e' || *p == 'E' || *p == '_'))) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:414:91: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 414 | while (len && (isdigit(*p) || (*p == 'e' || *p == 'E' || *p == '_'))) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 414 | while (len && (isdigit(*p) || (*p == 'e' || *p == 'E' || *p == '_'))) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:447:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 447 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:447:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 447 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 447 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:481:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 481 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:481:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 481 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 481 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:482:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 482 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:482:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 482 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 482 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:488:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 488 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:488:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 488 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 488 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:494:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 494 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:494:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 494 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 494 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:525:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 525 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:525:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 525 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 525 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:541:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 541 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:541:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 541 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 541 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:569:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 569 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:569:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 569 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 569 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:572:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 572 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:572:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 572 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 572 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:588:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 588 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:588:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 588 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 588 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:591:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 591 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:591:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 591 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 591 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:619:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 619 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:619:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 619 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 619 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:636:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 636 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:636:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 636 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 636 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:656:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 656 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:656:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 656 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 656 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:664:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 664 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:664:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 664 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 664 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:665:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 665 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:665:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 665 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 665 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:666:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 666 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:666:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 666 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 666 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:667:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 667 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:667:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 667 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 667 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:681:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 681 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:681:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 681 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 681 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:691:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 691 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:691:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 691 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 691 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:701:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 701 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_perl.cpp:701:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 701 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 701 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_perl.cpp:114:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] 114 | 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] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_plain.cpp:24:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_plain.cpp:24:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 37 | 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] 39 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 39 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_plain.cpp:48:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 48 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_plain.cpp:48:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 48 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 48 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 56 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 56 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_plain.cpp:56:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 56 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_plain.cpp:56:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 56 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 56 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_plain.cpp:57:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 57 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_plain.cpp:57:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 57 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 57 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 64 | MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Width); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 64 | MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Width); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 66 | 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] 69 | MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Line->Count - Pos); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 69 | MoveMem(B, 0, Width, Line->Chars + Pos, HILIT_CLRD(), Line->Count - Pos); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 71 | 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] 93 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 93 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_msg.cpp:93:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 93 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_msg.cpp:93:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 93 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 93 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 105 | 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] 107 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 107 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_msg.cpp:115:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 115 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_msg.cpp:115:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 115 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 115 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 123 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 123 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_msg.cpp:123:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 123 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_msg.cpp:123:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 123 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 123 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_msg.cpp:124:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_msg.cpp:124:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 131 | 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] 133 | 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] 136 | 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] 138 | 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] 31 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 31 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:31:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 31 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:31:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 31 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 31 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:36:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 36 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:36:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 36 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 36 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:38:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 38 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:38:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 38 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 38 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 83 | 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] 85 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 85 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:99:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 99 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:99:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 99 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 99 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:101:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 101 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:101:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 101 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 101 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:106:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 106 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:106:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 106 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 106 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:107:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 107 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:107:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 107 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 107 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:111:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:111:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 111 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:112:47: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 112 | while(len && isdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_rexx.cpp:112:47: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 112 | while(len && isdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 112 | while(len && isdigit(*p)) ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_rexx.cpp:23:9: warning: variable 'firstnw' set but not used [-Wunused-but-set-variable] 23 | int firstnw = 0; | ^ h_rexx.cpp:159:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 159 | 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] 155 | int L = strlen(String); | ~ ^~~~~~~~~~~~~~ h_rexx.cpp:173:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 173 | 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] 165 | int L = strlen(String); | ~ ^~~~~~~~~~~~~~ h_rexx.cpp:210:29: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 210 | if( Ctx == 3 ) | ^ h_rexx.cpp:208:25: note: previous statement is here 208 | 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] 34 | 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] 40 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 40 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:40:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 40 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:40:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 40 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 40 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 77 | s = strncmp(p, "in", j); | ~~~~~~~ ^ h_sh.cpp:80:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 80 | s = strncmp(p, "for", j); | ~~~~~~~ ^ h_sh.cpp:83:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 83 | s = strncmp(p, "read", j); | ~~~~~~~ ^ h_sh.cpp:86:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 86 | s = strncmp(p, "unset", j); | ~~~~~~~ ^ h_sh.cpp:89:62: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 89 | s = strncmp(p, "export", j); | ~~~~~~~ ^ h_sh.cpp:118:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 118 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:118:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 118 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 118 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:121:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 121 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:121:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 121 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 121 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:124:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:124:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 124 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:146:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 146 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:146:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 146 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 146 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:147:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 147 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:147:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 147 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 147 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:148:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 148 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:148:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 148 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 148 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_sh.cpp:232:49: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 232 | UntilMatchBrace('{',ColorNext()); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' 152 | cmd; \ | ^~~ h_sh.cpp:232:49: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 232 | UntilMatchBrace('{',ColorNext()); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ^~~~~~~~~~~~~ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' 152 | cmd; \ | ^~~ h_sh.cpp:232:49: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] 232 | UntilMatchBrace('{',ColorNext()); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ^ ./c_hilit.h:152:13: note: expanded from macro 'UntilMatchBrace' 152 | cmd; \ | ^~~ h_sh.cpp:239:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 239 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_sh.cpp:239:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 239 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 239 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 263 | 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] 265 | MoveMem(B, C - Pos, Width, p, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 265 | MoveMem(B, C - Pos, Width, p, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_tex.cpp:24:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_tex.cpp:24:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 24 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_tex.cpp:35:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 35 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_tex.cpp:35:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 35 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 35 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_tex.cpp:40:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 40 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_tex.cpp:40:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 40 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 40 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 56 | 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] 58 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 58 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_tex.cpp:67:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 67 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_tex.cpp:67:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 67 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 67 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_tex.cpp:78:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 78 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_tex.cpp:78:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 78 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 78 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 23 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 23 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_catbs.cpp:23:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 23 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_catbs.cpp:23:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 23 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 23 | IF_TAB() else { | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_catbs.cpp:43:17: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 43 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_catbs.cpp:43:17: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 43 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 43 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 76 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 76 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_simple.cpp:76:21: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 76 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_simple.cpp:76:21: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 76 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 76 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_simple.cpp:78:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 78 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_simple.cpp:78:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 78 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 78 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 119 | 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] 138 | State = nextState; | ~ ^~~~~~~~~ h_simple.cpp:145:33: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] 145 | State = nextState; | ~ ^~~~~~~~~ h_simple.cpp:152:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'TAttr' (aka 'unsigned char') [-Wimplicit-int-conversion] 152 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 152 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_simple.cpp:152:25: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 152 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_simple.cpp:152:25: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 152 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 152 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_simple.cpp:154:29: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 154 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_simple.cpp:154:29: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 154 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 154 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 156 | State = nextState; | ~ ^~~~~~~~~ h_simple.cpp:186:37: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] 186 | State = st->nextKwdNoCharState; | ~ ~~~~^~~~~~~~~~~~~~~~~~ h_simple.cpp:198:41: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] 198 | State = st->nextKwdMatchedState; | ~ ~~~~^~~~~~~~~~~~~~~~~~~ h_simple.cpp:201:41: warning: implicit conversion loses integer precision: 'int' to 'hlState' (aka 'unsigned short') [-Wimplicit-int-conversion] 201 | State = st->nextKwdNotMatchedState; | ~ ~~~~^~~~~~~~~~~~~~~~~~~~~~ h_simple.cpp:223:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 223 | 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] 225 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 225 | MoveMem(B, C - Pos, Width, Line->Chars + i, HILIT_CLRD(), j); | ~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 240 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 240 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:178:45: note: expanded from macro 'IF_TAB' 178 | if (B) MoveChar(B, C - Pos, Width, ' ', HILIT_CLRD(), NC - C);\ | ~~~~~~~~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_simple.cpp:240:9: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 240 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_simple.cpp:240:9: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 240 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 240 | IF_TAB() | ^~~~~~~~ ./c_hilit.h:179:32: note: expanded from macro 'IF_TAB' 179 | if (BFI(BF, BFI_ShowTabs)) ColorChar();\ | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((Color < COUNT_CLR) ? Colors[Color] : Color - COUNT_CLR) | ~~~~~~^~~~~~~~~~~ h_simple.cpp:242:13: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] 242 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:108:15: note: expanded from macro 'ColorChar' 108 | BPtr[0] = *p; \ | ~ ^~ h_simple.cpp:242:13: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'unsigned char' [-Wimplicit-int-conversion] 242 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:28: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 242 | ColorNext(); | ^~~~~~~~~~~ ./c_hilit.h:118:26: note: expanded from macro 'ColorNext' 118 | #define ColorNext() do { ColorChar(); NextChar(); } while (0) | ^~~~~~~~~~~ ./c_hilit.h:109:15: note: expanded from macro 'ColorChar' 109 | BPtr[1] = HILIT_CLRD(); \ | ~ ^~~~~~~~~~~~ ./c_hilit.h:100:50: note: expanded from macro 'HILIT_CLRD' 100 | ((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] 263 | State = nextState; | ~ ^~~~~~~~~ h_simple.cpp:98:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 98 | matchFlags = tr->matchFlags; | ~ ~~~~^~~~~~~~~~ h_simple.cpp:251:26: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 251 | 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] 83 | int l = strlen(Words[WordPos]); | ~ ^~~~~~~~~~~~~~~~~~~~~~ i_complete.cpp:96:24: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 96 | unsigned long kb = kbCode(Event.Key.Code); | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 181 | if (CheckASCII(Event.Key.Code&~kfShift)) { | ~^~~~~~~~ i_complete.cpp:186:22: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] 186 | 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] 181 | 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] 271 | int l = strlen(Words[WordPos]); | ~ ^~~~~~~~~~~~~~~~~~~~~~ i_complete.cpp:312:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 312 | WordBegin = new char[wlen + 1]; | ~~~ ~~~~~^~~ i_complete.cpp:316:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 316 | strncpy(WordBegin, L->Chars + P, wlen); | ~~~~~~~ ^~~~ i_complete.cpp:349:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 349 | 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] 352 | 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] 397 | 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] 331 | 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] 414 | WordFixed += add; | ~~ ^~~ i_complete.cpp:417:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 417 | WordFixed += add; | ~~ ^~~ i_complete.cpp:426:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 426 | 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] 24 | 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] 42 | switch(kbCode(Event.Key.Code)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 124 | MoveCh(B + i, char(i + LPos), hcAsciiChars, 1); | ~~~~~~ ^~~~~~~~~~~~ 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 2 warnings generated. i_choice.cpp:21:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 21 | lTitle = strlen(Title); | ~ ^~~~~~~~~~~~~ i_choice.cpp:77:17: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 77 | switch (kbCode(Event.Key.Code)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 112 | 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] 112 | 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] 117 | 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] 117 | 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] 126 | 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] 126 | 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] 167 | 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] 168 | 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] 169 | 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] 170 | 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] 175 | 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] 176 | 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] 178 | 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] 179 | 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] 183 | 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] 24 | Pos = strlen(Line); | ~ ^~~~~~~~~~~~ i_input.cpp:58:17: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 58 | switch (kbCode(Event.Key.Code)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 182 | if (strlen(Line) + len < MaxLen) { | ~ ^~~ i_input.cpp:184:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 184 | memcpy(Line + Pos, SSBuffer->RLine(0)->Chars, len); | ~~~~~~ ^~~ i_input.cpp:187:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 187 | Pos += len; | ~~ ^~~ i_input.cpp:209:56: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 209 | 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] 227 | if ((TabCount == 1) && (kbCode(Event.Key.Code) == kbTab)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 76 | 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] 91 | 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] 109 | 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] 211 | 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] 233 | Pos = strlen(Line); | ~ ^~~~~~~~~~~~ i_input.cpp:294:16: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 294 | if (LPos + FLen <= Pos) LPos = Pos - FLen + 1; | ~ ^~~~ i_input.cpp:294:42: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 294 | 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] 297 | 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] 298 | 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] 299 | 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] 300 | 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] 301 | 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] 301 | 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] 301 | 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] 301 | 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] 302 | ConSetCursorPos(FPos + Pos - LPos, H - 1); | ~~~~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ i_input.cpp:302:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 302 | 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] 288 | 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] 292 | 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] 44 | switch (kbCode(Event.Key.Code)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 99 | 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] 112 | 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] 180 | 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] 106 | 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] 218 | 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] 36 | if (Event.What == evKeyDown && kbCode(Event.Key.Code) == kbF12) | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 42 | 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] 67 | BList = (char **) malloc(sizeof(char *) * BCount); | ~ ^~~~~~ o_buflist.cpp:182:21: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 182 | switch (kbCode(Event.Key.Code)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 228 | 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] 259 | strncpy(ATitle, "Buffers", MaxLen); | ~~~~~~~ ^~~~~~ o_buflist.cpp:261:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 261 | 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] 50 | List->ScrollDown(Event.Msg.Param1); | ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:54:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 54 | List->ScrollUp(Event.Msg.Param1); | ~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:70:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 70 | List->TopRow = Event.Msg.Param1; | ~ ~~~~~~~~~~^~~~~~ o_list.cpp:76:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 76 | List->ScrollRight(Event.Msg.Param1); | ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:80:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 80 | List->ScrollLeft(Event.Msg.Param1); | ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_list.cpp:92:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 92 | List->LeftCol = Event.Msg.Param1; | ~ ~~~~~~~~~~^~~~~~ o_list.cpp:115:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 115 | x = Event.Mouse.X; | ~ ~~~~~~~~~~~~^ o_list.cpp:116:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 116 | 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] 247 | 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] 284 | SColor = hcStatus_Active; | ~ ^~~~~~~~~~~~~~~ o_list.cpp:286:18: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'char' [-Wimplicit-int-conversion] 286 | SColor = hcStatus_Normal; | ~ ^~~~~~~~~~~~~~~ o_list.cpp:287:20: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] 287 | MoveCh(B, ' ', SColor, W); | ~~~~~~ ^~~~~~ o_list.cpp:290:43: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] 290 | 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] 292 | 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] 292 | 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] 294 | 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] 292 | MoveStr(B, W - strlen(s), W, s, SColor, W); | ~~~~~~~ ~~^~~~~~~~~~~ o_list.cpp:678:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 678 | } 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] 213 | ErrList = (Error **) realloc(ErrList, sizeof(void *) * ErrCount); | ~ ^~~~~~~~ o_messages.cpp:272:68: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] 272 | 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] 272 | 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] 286 | 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] 296 | 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] 304 | memcpy(Line, MsgBuf + BufPos, l); | ~~~~~~ ^ o_messages.cpp:311:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 311 | 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] 290 | l = strlen(Line); | ~ ^~~~~~~~~~~~ o_messages.cpp:293:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 293 | BufPos = p + 1 - MsgBuf; | ~ ~~~~~~^~~~~~~~ o_messages.cpp:384:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 384 | 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] 387 | 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] 390 | 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] 371 | 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] 573 | 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] 568 | len = UnTabStr(str, sizeof(str), | ~~~~~~~~ 569 | ErrList[Line]->text, 570 | strlen(ErrList[Line]->text)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ o_messages.cpp:616:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 616 | strncpy(AName, "Messages", MaxLen); | ~~~~~~~ ^~~~~~ o_messages.cpp:629:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 629 | strncpy(APath, Directory, MaxLen); | ~~~~~~~ ^~~~~~ o_messages.cpp:636:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 636 | 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] 645 | 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] 73 | 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] 81 | 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] 83 | 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] 113 | strncpy(AName, "Routines", MaxLen); | ~~~~~~~ ^~~~~~ o_routine.cpp:122:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 122 | 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] 116 | 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] 119 | 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] 157 | Buffer->ScrollDown(Event.Msg.Param1); | ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:161:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 161 | Buffer->ScrollUp(Event.Msg.Param1); | ~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:178:69: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 178 | 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] 179 | SetTop(TP.Col, Event.Msg.Param1); | ~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:185:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 185 | Buffer->ScrollRight(Event.Msg.Param1); | ~~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:189:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 189 | Buffer->ScrollLeft(Event.Msg.Param1); | ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:205:53: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 205 | 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] 206 | SetTop(Event.Msg.Param1, TP.Row); | ~~~~~~ ~~~~~~~~~~^~~~~~ o_buffer.cpp:229:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 229 | x = Event.Mouse.X; | ~ ~~~~~~~~~~~~^ o_buffer.cpp:230:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 230 | y = Event.Mouse.Y; | ~ ~~~~~~~~~~~~^ o_buffer.cpp:685:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 685 | No = atol(Num); | ~ ^~~~~~~~~ o_buffer.cpp:698:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 698 | No = atol(Num); | ~ ^~~~~~~~~ o_buffer.cpp:731:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 731 | if (PushULong(prev.Row) == 0) return 0; | ~~~~~~~~~ ~~~~~^~~ o_buffer.cpp:732:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 732 | 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] 733 | 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] 758 | if (PushULong(p.Row) == 0) return 0; | ~~~~~~~~~ ~~^~~ o_buffer.cpp:759:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 759 | 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] 760 | 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] 881 | return InsertString(strbuf, strlen(strbuf)); | ~~~~~~~~~~~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1171:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1171 | LSearch.Options &= ~SEARCH_GLOBAL; | ~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1181:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1181 | LSearch.Options &= ~SEARCH_GLOBAL; | ~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1191:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1191 | LSearch.Options &= ~SEARCH_GLOBAL; | ~~ ^~~~~~~~~~~~~~ o_buffer.cpp:1192:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1192 | LSearch.Options &= ~SEARCH_ALL; | ~~ ^~~~~~~~~~~ o_buffer.cpp:1241:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1241 | No = atol(Num); | ~ ^~~~~~~~~ o_buffer.cpp:1265:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1265 | No = atol(Num) - 1; | ~ ~~~~~~~~~~^~~ o_buffer.cpp:1280:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1280 | No = atol(Num) - 1; | ~ ~~~~~~~~~~^~~ o_buffer.cpp:1363:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1363 | strncpy(AName, FileName, MaxLen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1398:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1398 | strncpy(ATitle, FileName, MaxLen - 1); | ~~~~~~~ ~~~~~~~^~~ o_buffer.cpp:1402:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1402 | 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] 1405 | 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] 1503 | 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] 1518 | return InsertString(p, strlen(p)); | ~~~~~~~~~~~~ ^~~~~~~~~ o_buffer.cpp:1575:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1575 | strncpy(str, FileName, buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1598:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1598 | strlcpy(str, buf, buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1613:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1613 | strlcpy(str, dot, buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1627:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1627 | strlcpy(str, "", buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1637:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1637 | strlcat(str, tmp, buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1651:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1651 | strlcpy(str, "", buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1679:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1679 | 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] 1690 | strlcpy(str, "", buflen); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1706:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1706 | strlcpy(str, L->Chars, length); | ~~~~~~~ ^~~~~~ o_buffer.cpp:1712:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1712 | 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] 47 | 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] 86 | MoveStr(B, 0, Width, s + Col, color, Width); | ~~~~~~~ ^~~~~ o_directory.cpp:133:73: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 133 | 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] 143 | SizeCount += Files[FCount]->Size(); | ~~ ~~~~~~~~~~~~~~~^~~~~~ o_directory.cpp:164:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 164 | 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] 243 | 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] 255 | 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] 294 | LOG << "Key Code: " << kbCode(Event.Key.Code) << ENDLINE; | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 296 | switch (kbCode(Event.Key.Code)) { | ^~~~~~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 326 | 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] 443 | strncpy(AName, Path, MaxLen); | ~~~~~~~ ^~~~~~ o_directory.cpp:449:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 449 | strncpy(APath, Path, MaxLen); | ~~~~~~~ ^~~~~~ o_directory.cpp:484:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 484 | 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] 84 | l->Status=status; | ~^~~~~~ o_cvsbase.cpp:87:61: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 87 | Lines=(CvsLine **)realloc (Lines,sizeof (CvsLine *)*LineCount); | ~^~~~~~~~~ o_cvsbase.cpp:154:68: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] 154 | 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] 154 | 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] 166 | 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] 176 | 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] 184 | memcpy(Line, MsgBuf + BufPos, l); | ~~~~~~ ^ o_cvsbase.cpp:191:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 191 | 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] 170 | l = strlen(Line); | ~ ^~~~~~~~~~~~ o_cvsbase.cpp:173:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 173 | 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] 209 | 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] 312 | 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] 311 | 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] 405 | strncpy (AName,Title,MaxLen); | ~~~~~~~ ^~~~~~ o_cvsbase.cpp:412:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 412 | 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] 418 | strncpy (APath,Directory,MaxLen); | ~~~~~~~ ^~~~~~ o_cvsbase.cpp:427:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 427 | 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] 429 | 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] 18 | 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] 84 | l->Status=status; | ~^~~~~~ o_svnbase.cpp:87:61: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 87 | Lines=(SvnLine **)realloc (Lines,sizeof (SvnLine *)*LineCount); | ~^~~~~~~~~ o_svnbase.cpp:154:68: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] 154 | 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] 154 | 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] 166 | 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] 176 | 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] 184 | memcpy(Line, MsgBuf + BufPos, l); | ~~~~~~ ^ o_svnbase.cpp:191:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 191 | 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] 170 | l = strlen(Line); | ~ ^~~~~~~~~~~~ o_svnbase.cpp:173:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 173 | 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] 209 | 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] 312 | 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] 311 | 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] 405 | strncpy (AName,Title,MaxLen); | ~~~~~~~ ^~~~~~ o_svnbase.cpp:412:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 412 | 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] 418 | strncpy (APath,Directory,MaxLen); | ~~~~~~~ ^~~~~~ o_svnbase.cpp:427:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 427 | 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] 429 | 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] 17 | 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] 306 | if (Flags && ffLINK) | ^ ~~~~~~ s_direct.cpp:306:19: note: use '&' for a bitwise operation 306 | if (Flags && ffLINK) | ^~ | & s_direct.cpp:306:19: note: remove constant to silence this warning 306 | 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] 91 | if (kbCode(E.Key.Code) == kbEsc) { *Ch = 27; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 92 | if (kbCode(E.Key.Code) == kbEnter) { *Ch = 13; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 93 | if (kbCode(E.Key.Code) == (kbEnter | kfCtrl)) { *Ch = 10; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 94 | if (kbCode(E.Key.Code) == kbBackSp) { *Ch = 8; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 95 | if (kbCode(E.Key.Code) == (kbBackSp | kfCtrl)) { *Ch = 127; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 96 | if (kbCode(E.Key.Code) == kbTab) { *Ch = 9; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 97 | if (kbCode(E.Key.Code) == kbDel) { *Ch = 127; return 1; } | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 164 | strncmp | ~~~~~~~ 165 | #else // os2, nt, ... 166 | strnicmp 167 | #endif 168 | (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] 140 | 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] 160 | (!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] 496 | SColor = hcStatus_Active; | ~ ^~~~~~~~~~~~~~~ view.cpp:498:22: warning: implicit conversion loses integer precision: 'ChColor' (aka 'int') to 'char' [-Wimplicit-int-conversion] 498 | SColor = hcStatus_Normal; | ~ ^~~~~~~~~~~~~~~ view.cpp:500:35: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] 500 | MoveChar(B, 0, Cols, ' ', SColor, Cols); | ~~~~~~~~ ^~~~~~ view.cpp:501:37: warning: implicit conversion changes signedness: 'char' to 'TAttr' (aka 'unsigned char') [-Wsign-conversion] 501 | 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] 742 | 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] 173 | 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] 294 | 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] 298 | ExecMacro(view, Event.Msg.Command); | ~~~~~~~~~ ~~~~~~~~~~^~~~~~~ egui.cpp:311:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 311 | Event.Msg.Model->NotifyPipe(Event.Msg.Param1); | ~~~~~~~~~~ ~~~~~~~~~~^~~~~~ egui.cpp:952:21: warning: variable 'NW' set but not used [-Wunused-but-set-variable] 952 | 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] 104 | 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] 325 | 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] 327 | 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] 342 | 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] 344 | 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] 349 | 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] 351 | 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] 367 | 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] 369 | 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] 374 | MoveCh(B, ' ', hcScrollBar_Arrows, 1); | ~~~~~~ ^~~~~~~~~~~~~~~~~~ g_text.cpp:802:14: warning: explicitly assigning value of variable of type 'GView *' to itself [-Wself-assign] 802 | view = view; | ~~~~ ^ ~~~~ g_text.cpp:924:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 924 | y = E.Mouse.Y; | ~ ~~~~~~~~^ g_text.cpp:1013:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1013 | x = E.Mouse.X; | ~ ~~~~~~~~^ g_text.cpp:1199:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1199 | 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] 73 | 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] 77 | 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] 78 | 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] 80 | 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] 81 | 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] 90 | 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] 135 | 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] 136 | 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] 137 | 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] 141 | 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] 142 | 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] 144 | 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] 145 | 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] 162 | 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] 163 | 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] 173 | 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] 174 | 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] 175 | 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] 179 | 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] 180 | 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] 181 | 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] 218 | } else { | ^ menu_text.cpp:227:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 227 | else { | ^ menu_text.cpp:240:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 240 | 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] 295 | switch (kbCode(E.Key.Code)) { | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 325 | 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] 354 | 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] 460 | 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] 254 | 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] 254 | 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] 372 | 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] 372 | 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] 387 | 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] 387 | 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] 399 | 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] 399 | 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] 403 | 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] 426 | 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] 426 | 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] 436 | 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] 436 | 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] 440 | 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] 552 | switch (kbCode(E.Key.Code)) { | ^~~~~~~~~~~~~~~~~~ ./conkbd.h:30:41: note: expanded from macro 'kbCode' 30 | #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] 581 | 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] 605 | 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] 653 | 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] 517 | cur = GetHPosItem(id, E.Mouse.X); | ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:623:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 623 | cur = GetHPosItem(id, E.Mouse.X); | ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:636:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 636 | cur = GetHPosItem(id, E.Mouse.X); | ~~~~~~~~~~~ ~~~~~~~~^ menu_text.cpp:644:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 644 | 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] 244 | 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] 245 | 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] 246 | 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] 249 | 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] 250 | 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] 251 | 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] 272 | clr.pixel = j; | ~ ^ con_x11.cpp:292:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 292 | pix = j; | ~ ^ con_x11.cpp:471:32: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] 471 | XSelectInput(display, win, mask); | ~~~~~~~~~~~~ ^~~~ con_x11.cpp:572:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 572 | long *iconBuffer = (long *)malloc(iconBufferSize * sizeof(long)); | ^~~~~~~~~~~~~~ ~ con_x11.cpp:600:67: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 600 | XResizeWindow(display, win, ScreenCols * FontCX, ScreenRows * FontCY); | ~ ^~~~~~ con_x11.cpp:600:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 600 | XResizeWindow(display, win, ScreenCols * FontCX, ScreenRows * FontCY); | ~ ^~~~~~ con_x11.cpp:461:16: warning: variable 'mask' is used uninitialized whenever '?:' condition is false [-Wsometimes-uninitialized] 461 | i18n_ctx = useI18n ? i18n_open(display, win, &mask) : 0; | ^~~~~~~ con_x11.cpp:468:5: note: uninitialized use occurs here 468 | mask |= ExposureMask | StructureNotifyMask | VisibilityChangeMask | | ^~~~ con_x11.cpp:461:16: note: remove the '?:' if its condition is always true 461 | i18n_ctx = useI18n ? i18n_open(display, win, &mask) : 0; | ^~~~~~~~~ ~~~ con_x11.cpp:419:23: note: initialize the variable 'mask' to silence this warning 419 | unsigned long mask; | ^ | = 0 con_x11.cpp:608:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 608 | ScreenCols = XSize; | ~ ^~~~~ con_x11.cpp:610:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 610 | ScreenRows = YSize; | ~ ^~~~~ con_x11.cpp:634:26: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 634 | MoveCh(B, ' ', 0x07, ScreenCols); | ~~~~~~ ^~~~~~~~~~ con_x11.cpp:635:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 635 | return ConPutLine(0, 0, ScreenCols, ScreenRows, B); | ~~~~~~~~~~ ^~~~~~~~~~ con_x11.cpp:635:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 635 | 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] 659 | strlcpy(Title, winTitle, MaxLen); | ~~~~~~~ ^~~~~~ con_x11.cpp:660:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 660 | strlcpy(STitle, winSTitle, SMaxLen); | ~~~~~~~ ^~~~~~~ con_x11.cpp:678:39: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 676 | XDrawImageString(display, win, GCs[attr], | ~~~~~~~~~~~~~~~~ 677 | CursorX * FontCX, 678 | fontStruct->max_bounds.ascent + CursorY * FontCY, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ con_x11.cpp:678:51: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 678 | fontStruct->max_bounds.ascent + CursorY * FontCY, | ~ ^~~~~~ con_x11.cpp:678:32: warning: implicit conversion changes signedness: 'short' to 'unsigned int' [-Wsign-conversion] 678 | fontStruct->max_bounds.ascent + CursorY * FontCY, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ con_x11.cpp:677:17: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 676 | XDrawImageString(display, win, GCs[attr], | ~~~~~~~~~~~~~~~~ 677 | CursorX * FontCX, | ~~~~~~~~^~~~~~~~ con_x11.cpp:677:19: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 677 | CursorX * FontCX, | ~ ^~~~~~ con_x11.cpp:683:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 682 | XmbDrawImageString(display, win, fontSet, GCs[attr], | ~~~~~~~~~~~~~~~~~~ 683 | CursorX * FontCX, FontCYD + CursorY * FontCY, | ~~~~~~~~^~~~~~~~~~~~~~~~~~ con_x11.cpp:683:49: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 683 | CursorX * FontCX, FontCYD + CursorY * FontCY, | ~ ^~~~~~ con_x11.cpp:683:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 683 | CursorX * FontCX, FontCYD + CursorY * FontCY, | ^~~~~~~ ~ con_x11.cpp:683:19: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 682 | XmbDrawImageString(display, win, fontSet, GCs[attr], | ~~~~~~~~~~~~~~~~~~ 683 | CursorX * FontCX, FontCYD + CursorY * FontCY, | ~~~~~~~~^~~~~~~~ con_x11.cpp:683:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 683 | CursorX * FontCX, FontCYD + CursorY * FontCY, | ~ ^~~~~~ con_x11.cpp:714:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 714 | len = W; | ~ ^ con_x11.cpp:715:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 715 | p = CursorXYPos(X, Y + i); | ^ ~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 715 | p = CursorXYPos(X, Y + i); | ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 717 | x = X; | ~ ^ con_x11.cpp:720:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 720 | c = CursorXYPos(x, Y + i); | ^ ~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 748 | XDrawImageString(display, win, GCs[((unsigned)attr) & 0xFF], | ~~~~~~~~~~~~~~~~ 749 | x * FontCX, fontStruct->max_bounds.ascent + 750 | (Y + i) * FontCY, 751 | (char *)temp, l); | ^ con_x11.cpp:749:76: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 748 | XDrawImageString(display, win, GCs[((unsigned)attr) & 0xFF], | ~~~~~~~~~~~~~~~~ 749 | x * FontCX, fontStruct->max_bounds.ascent + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 750 | (Y + i) * FontCY, | ~~~~~~~~~~~~~~~~ con_x11.cpp:750:44: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 750 | (Y + i) * FontCY, | ~ ^~~~~~ con_x11.cpp:750:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 750 | (Y + i) * FontCY, | ^ ~ con_x11.cpp:749:69: warning: implicit conversion changes signedness: 'short' to 'unsigned int' [-Wsign-conversion] 749 | x * FontCX, fontStruct->max_bounds.ascent + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ con_x11.cpp:749:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 748 | XDrawImageString(display, win, GCs[((unsigned)attr) & 0xFF], | ~~~~~~~~~~~~~~~~ 749 | x * FontCX, fontStruct->max_bounds.ascent + | ~~^~~~~~~~ con_x11.cpp:749:38: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 749 | x * FontCX, fontStruct->max_bounds.ascent + | ~ ^~~~~~ con_x11.cpp:757:50: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 754 | XmbDrawImageString(display, win, fontSet, | ~~~~~~~~~~~~~~~~~~ 755 | GCs[((unsigned)attr) & 0xFF], 756 | x * FontCX, FontCYD + (Y + i) * FontCY, 757 | (char *)temp, l); | ^ con_x11.cpp:756:56: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 754 | XmbDrawImageString(display, win, fontSet, | ~~~~~~~~~~~~~~~~~~ 755 | GCs[((unsigned)attr) & 0xFF], 756 | x * FontCX, FontCYD + (Y + i) * FontCY, | ~~~~~~~~^~~~~~~~~~~~~~~~~~ con_x11.cpp:756:68: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 756 | x * FontCX, FontCYD + (Y + i) * FontCY, | ~ ^~~~~~ con_x11.cpp:756:59: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 756 | x * FontCX, FontCYD + (Y + i) * FontCY, | ^ ~ con_x11.cpp:756:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 756 | x * FontCX, FontCYD + (Y + i) * FontCY, | ^~~~~~~ ~ con_x11.cpp:756:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 754 | XmbDrawImageString(display, win, fontSet, | ~~~~~~~~~~~~~~~~~~ 755 | GCs[((unsigned)attr) & 0xFF], 756 | x * FontCX, FontCYD + (Y + i) * FontCY, | ~~^~~~~~~~ con_x11.cpp:756:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 756 | x * FontCX, FontCYD + (Y + i) * FontCY, | ~ ^~~~~~ con_x11.cpp:769:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 769 | */ p = CursorXYPos(X, Y + i); | ^ ~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 769 | */ p = CursorXYPos(X, Y + i); | ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 770 | memcpy(p, Cell, W * 2); | ~~~~~~ ~~^~~ con_x11.cpp:771:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 771 | if (i + Y == CursorY) | ~ ^ con_x11.cpp:782:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 782 | memcpy(Cell, CursorXYPos(X, Y + i), 2 * W); | ~~~~~~ ~~^~~ con_x11.cpp:782:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 782 | memcpy(Cell, CursorXYPos(X, Y + i), 2 * W); | ~~~~~~~~~~~~~~~~~^~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 782 | memcpy(Cell, CursorXYPos(X, Y + i), 2 * W); | ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 813 | XCopyArea(display, win, win, GCs[0], | ~~~~~~~~~ 814 | X * FontCX, 815 | (Y + Count) * FontCY, 816 | W * FontCX, 817 | (H - Count) * FontCY, | ~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:816:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 813 | XCopyArea(display, win, win, GCs[0], | ~~~~~~~~~ 814 | X * FontCX, 815 | (Y + Count) * FontCY, 816 | W * FontCX, | ~~^~~~~~~~ con_x11.cpp:821:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 821 | 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] 821 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 821 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 821 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); | ~~~~~~~~~~~~~~~~~^~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 821 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l + Count), 2 * W); | ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 826 | XCopyArea(display, win, win, GCs[0], | ~~~~~~~~~ 827 | X * FontCX, 828 | Y * FontCY, 829 | W * FontCX, 830 | (H - Count) * FontCY, | ~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:829:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 826 | XCopyArea(display, win, win, GCs[0], | ~~~~~~~~~ 827 | X * FontCX, 828 | Y * FontCY, 829 | W * FontCX, | ~~^~~~~~~~ con_x11.cpp:834:76: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 834 | 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] 834 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 834 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 834 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); | ~~~~~~~~~~~~~~~~~^~~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 834 | memcpy(CursorXYPos(X, Y + l), CursorXYPos(X, Y + l - Count), 2 * W); | ~~~~~~~~~~~~^~~~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 849 | p = NewBuffer = (unsigned char *) malloc(X * Y * 2); | ~~~~~~ ~~~~~~^~~ con_x11.cpp:855:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 855 | MX = ScreenCols; | ~ ^~~~~~~~~~ con_x11.cpp:858:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 858 | MY = ScreenRows; | ~ ^~~~~~~~~~ con_x11.cpp:863:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 863 | memcpy(p, CursorXYPos(0, i), MX * 2); | ~~~~~~ ~~~^~~ con_x11.cpp:863:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 863 | memcpy(p, CursorXYPos(0, i), MX * 2); | ~~~~~~~~~~~~~~~^~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 868 | ScreenCols = X; | ~ ^ con_x11.cpp:869:18: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 869 | ScreenRows = Y; | ~ ^ con_x11.cpp:877:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 877 | *X = ScreenCols; | ~ ^~~~~~~~~~ con_x11.cpp:878:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 878 | *Y = ScreenRows; | ~ ^~~~~~~~~~ con_x11.cpp:884:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 884 | CursorX = X; | ~ ^ con_x11.cpp:885:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 885 | CursorY = Y; | ~ ^ con_x11.cpp:891:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 891 | *X = CursorX; | ~ ^~~~~~~ con_x11.cpp:892:10: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 892 | *Y = CursorY; | ~ ^~~~~~~ con_x11.cpp:978:52: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 978 | if (xx + ww > (int)ScreenCols) ww = ScreenCols - xx; | ~ ~~~~~~~~~~~^~~~ con_x11.cpp:978:54: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 978 | if (xx + ww > (int)ScreenCols) ww = ScreenCols - xx; | ~ ^~ con_x11.cpp:979:52: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 979 | if (yy + hh > (int)ScreenRows) hh = ScreenRows - yy; | ~ ~~~~~~~~~~~^~~~ con_x11.cpp:979:54: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 979 | if (yy + hh > (int)ScreenRows) hh = ScreenRows - yy; | ~ ^~ con_x11.cpp:983:33: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 983 | p = (PCell) CursorXYPos(xx, yy); | ~~~~~~~~~~~~~~~~^~~ con_x11.cpp:665:51: note: expanded from macro 'CursorXYPos' 665 | #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] 983 | p = (PCell) CursorXYPos(xx, yy); | ~~~~~~~~~~~~^~~~~~~ con_x11.cpp:665:44: note: expanded from macro 'CursorXYPos' 665 | #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] 994 | int ox = ScreenCols; | ~~ ^~~~~~~~~~ con_x11.cpp:995:14: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 995 | int oy = ScreenRows; | ~~ ^~~~~~~~~~ con_x11.cpp:1004:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 1003 | UpdateWindow(ox * FontCX, 0, | ~~~~~~~~~~~~ 1004 | (ScreenCols - ox) * FontCX, ScreenRows * FontCY); | ~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1004:67: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1004 | (ScreenCols - ox) * FontCX, ScreenRows * FontCY); | ~ ^~~~~~ con_x11.cpp:1004:44: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 1003 | UpdateWindow(ox * FontCX, 0, | ~~~~~~~~~~~~ 1004 | (ScreenCols - ox) * FontCX, ScreenRows * FontCY); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1004:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1004 | (ScreenCols - ox) * FontCX, ScreenRows * FontCY); | ~ ^~~~~~ con_x11.cpp:1004:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1004 | (ScreenCols - ox) * FontCX, ScreenRows * FontCY); | ~ ^~ con_x11.cpp:1007:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 1006 | UpdateWindow(0, oy * FontCY, | ~~~~~~~~~~~~ 1007 | ScreenCols * FontCX, (ScreenRows - oy) * FontCY); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1007:67: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1007 | ScreenCols * FontCX, (ScreenRows - oy) * FontCY); | ~ ^~~~~~ con_x11.cpp:1007:61: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1007 | ScreenCols * FontCX, (ScreenRows - oy) * FontCY); | ~ ^~ con_x11.cpp:1007:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 1006 | UpdateWindow(0, oy * FontCY, | ~~~~~~~~~~~~ 1007 | ScreenCols * FontCX, (ScreenRows - oy) * FontCY); | ~~~~~~~~~~~^~~~~~~~ con_x11.cpp:1007:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1007 | ScreenCols * FontCX, (ScreenRows - oy) * FontCY); | ~ ^~~~~~ con_x11.cpp:1126:24: warning: implicit conversion changes signedness: 'int' to 'KeySym' (aka 'unsigned long') [-Wsign-conversion] 1126 | key &= ~0x20; | ~~ ^~~~~ con_x11.cpp:1140:37: warning: implicit conversion changes signedness: 'long' to 'TKeyCode' (aka 'unsigned long') [-Wsign-conversion] 1140 | Event->Key.Code = k | myState; | ~ ~~^~~~~~~~~ con_x11.cpp:1223:42: warning: implicit conversion changes signedness: 'short' to 'unsigned short' [-Wsign-conversion] 1223 | Event->Mouse.Count = ++LastClickCount; | ~ ^~~~~~~~~~~~~~~~ con_x11.cpp:1173:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1173 | LastMouseX = Event->Mouse.X; | ~ ~~~~~~~~~~~~~^ con_x11.cpp:1174:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1174 | LastMouseY = Event->Mouse.Y; | ~ ~~~~~~~~~~~~~^ con_x11.cpp:1363:107: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] 1363 | 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] 1363 | 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] 1374 | state = keyEvent->state; | ~ ~~~~~~~~~~^~~~~ con_x11.cpp:1376:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] 1376 | 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] 1393 | 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] 1501 | SendSelection(¬ify, event.xselectionrequest.property, text_property.encoding, | ~~~~~~~~~~~~~ 1502 | 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] 1496 | if (style != -1) { | ~~~~~ ^ ~~ con_x11.cpp:1544:39: warning: implicit conversion changes signedness: 'time_t' (aka 'long long') to 'unsigned long' [-Wsign-conversion] 1544 | 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] 1580 | WaitTime = CursorFlashInterval; | ~ ^~~~~~~~~~~~~~~~~~~ con_x11.cpp:1736:49: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1736 | 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] 1737 | 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] 1711 | send = len - i; | ~ ~~~~^~~ con_x11.cpp:1723:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1723 | isi->len = len; | ~ ^~~ con_x11.cpp:1797:42: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1797 | buffer = (unsigned char *)malloc(buffer_len); | ~~~~~~ ^~~~~~~~~~ con_x11.cpp:1817:72: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] 1817 | 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] 1824 | int new_len = pos + nitems; | ^~~ ~ con_x11.cpp:1825:73: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1825 | 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] 1826 | 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] 1842 | nitems = pos; | ~ ^~~ con_x11.cpp:1850:77: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] 1850 | 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] 1891 | *data = (char *)malloc(*len + 1); | ~~~~~~ ~~~~~^~~ con_x11.cpp:1824:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 1824 | int new_len = pos + nitems; | ~~~~~~~ ~~~~^~~~~~~~ con_x11.cpp:1865:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 1865 | *len = nitems; | ~ ^~~~~~ con_x11.cpp:1914:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1914 | *data = (char *) malloc(CurSelectionLen[clipboard]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1917:52: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1917 | memcpy(*data, CurSelectionData[clipboard], CurSelectionLen[clipboard]); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1918:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1918 | *len = CurSelectionLen[clipboard]; | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ con_x11.cpp:1946:63: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 1946 | 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] 1952 | 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] 2111 | 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] 2111 | r = read(Pipes[id].fd, buffer, len); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 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] 59 | char *n = (char *)realloc(p, l + L->Count + 1); | ~~~~~~~ ~~~~~~~~~~~~~^~~ 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 1 warning generated. 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: o_modemap.cpp:38(o_modemap.o:(EventMapView::DumpKey(char const*, EKey*))): warning: sprintf() is often misused, please use snprintf() ld: warning: o_modemap.cpp:95(o_modemap.o:(EventMapView::DumpEventMap(EEventMap*))): 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 1764750962.08 ===> 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|***************************** | 45% archiving|***************************** | 46% archiving|********************************* | 51% archiving|********************************** | 53% archiving|********************************** | 54% archiving|*********************************** | 54% archiving|*********************************** | 55% archiving|************************************ | 55% archiving|************************************ | 56% archiving|************************************ | 57% archiving|************************************* | 57% archiving|************************************* | 58% archiving|************************************* | 59% archiving|************************************** | 59% archiving|************************************** | 60% archiving|*************************************** | 60% archiving|*************************************** | 62% archiving|**************************************** | 62% archiving|**************************************** | 63% archiving|***************************************** | 64% archiving|***************************************** | 65% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|******************************************* | 67% archiving|******************************************* | 68% archiving|******************************************** | 68% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|********************************************* | 71% 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 1764750965.83 ===> editors/fte ===> Cleaning for fte-20090118p3 >>> Ended at 1764750966.82 max_stuck=4.26/build=43.75/package=3.74/clean=1.07