=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for Xaw-Xpm-1.1nb4 rm -f AllWidgets.o unshared/AllWidgets.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os AllWidgets.c -o unshared/AllWidgets.o rm -f AllWidgets.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic AllWidgets.c rm -f AsciiSink.o unshared/AsciiSink.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os AsciiSink.c -o unshared/AsciiSink.o AsciiSink.c:180:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ AsciiSink.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharWidth (w, x, c) ^ AsciiSink.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintText(w, gc, x, y, buf, len, high) ^ AsciiSink.c:286:44: warning: too few arguments in call to 'PaintText' x += PaintText(w, gc, x, y, buf, j); ~~~~~~~~~ ^ AsciiSink.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ AsciiSink.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ AsciiSink.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateInsertCursor(s) ^ AsciiSink.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, rect) ^ AsciiSink.c:73:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ AsciiSink.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor (w, x, y, state) ^ AsciiSink.c:72:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ AsciiSink.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) ^ AsciiSink.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ AsciiSink.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPosition(w, fromPos, fromx, width, stopAtWordBreak, ^ AsciiSink.c:72:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ AsciiSink.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, leftPos, rightPos) ^ AsciiSink.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ AsciiSink.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGC(sink) ^ AsciiSink.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ AsciiSink.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ AsciiSink.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ AsciiSink.c:67:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ AsciiSink.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ AsciiSink.c:68:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ AsciiSink.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxLines(w, height) ^ AsciiSink.c:69:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ AsciiSink.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxHeight(w, lines) ^ AsciiSink.c:69:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ AsciiSink.c:682:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ AsciiSink.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTabs(w, tab_count, tabs) ^ AsciiSink.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ 31 warnings generated. rm -f AsciiSink.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic AsciiSink.c AsciiSink.c:180:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ AsciiSink.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharWidth (w, x, c) ^ AsciiSink.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintText(w, gc, x, y, buf, len, high) ^ AsciiSink.c:286:44: warning: too few arguments in call to 'PaintText' x += PaintText(w, gc, x, y, buf, j); ~~~~~~~~~ ^ AsciiSink.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ AsciiSink.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ AsciiSink.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateInsertCursor(s) ^ AsciiSink.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, rect) ^ AsciiSink.c:73:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ AsciiSink.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor (w, x, y, state) ^ AsciiSink.c:72:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ AsciiSink.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) ^ AsciiSink.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ AsciiSink.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPosition(w, fromPos, fromx, width, stopAtWordBreak, ^ AsciiSink.c:72:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ AsciiSink.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, leftPos, rightPos) ^ AsciiSink.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ AsciiSink.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGC(sink) ^ AsciiSink.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ AsciiSink.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ AsciiSink.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ AsciiSink.c:67:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ AsciiSink.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ AsciiSink.c:68:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ AsciiSink.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxLines(w, height) ^ AsciiSink.c:69:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ AsciiSink.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxHeight(w, lines) ^ AsciiSink.c:69:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ AsciiSink.c:682:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ AsciiSink.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTabs(w, tab_count, tabs) ^ AsciiSink.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ 31 warnings generated. rm -f AsciiSrc.o unshared/AsciiSrc.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os AsciiSrc.c -o unshared/AsciiSrc.o AsciiSrc.c:228:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, src->ascii_src.type == XawAsciiFile); ^ AsciiSrc.c:229:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); ^ AsciiSrc.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ AsciiSrc.c:98:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ AsciiSrc.c:252:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Piece * piece = FindPiece(src, pos, &start); ^ AsciiSrc.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadText(w, pos, text, length) ^ AsciiSrc.c:92:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ AsciiSrc.c:288:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ AsciiSrc.c:289:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_piece = FindPiece(src, endPos, &end_first); ^ AsciiSrc.c:306:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ AsciiSrc.c:310:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, temp_piece->prev); ^ AsciiSrc.c:314:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(end_piece->text, (end_piece->text + endPos - end_first), ^ AsciiSrc.c:320:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ AsciiSrc.c:323:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(start_piece->text + (startPos - start_first), ^ AsciiSrc.c:341:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ AsciiSrc.c:365:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, start_piece); ^ AsciiSrc.c:366:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ AsciiSrc.c:372:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(ptr + fill, ptr, ^ AsciiSrc.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReplaceText (w, startPos, endPos, text) ^ AsciiSrc.c:93:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ReplaceText(); ^ AsciiSrc.c:449:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ AsciiSrc.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scan (w, position, type, dir, count, include) ^ AsciiSrc.c:92:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ AsciiSrc.c:571:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ AsciiSrc.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(w, position, dir, text) ^ AsciiSrc.c:92:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ AsciiSrc.c:655:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(old_src, string_set); /* remove old info. */ ^ AsciiSrc.c:656:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, string_set); /* Init new info. */ ^ AsciiSrc.c:657:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); /* load new info into internal buffers. */ ^ AsciiSrc.c:669:42: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String string = StorePiecesInString(old_src); ^ AsciiSrc.c:670:20: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(old_src); ^ AsciiSrc.c:671:17: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, NULL, string); ^ AsciiSrc.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ AsciiSrc.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ AsciiSrc.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ AsciiSrc.c:98:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ AsciiSrc.c:721:24: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile((AsciiSrcObject) w, True); ^ AsciiSrc.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy (w) ^ AsciiSrc.c:98:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ AsciiSrc.c:808:33: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = StorePiecesInString(src); ^ AsciiSrc.c:810:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (WriteToFile(string, src->ascii_src.string) == FALSE) { ^ AsciiSrc.c:822:48: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] src->ascii_src.string = StorePiecesInString(src); ^ AsciiSrc.c:859:31: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = StorePiecesInString(src); ^ AsciiSrc.c:861:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = WriteToFile(string, name); ^ AsciiSrc.c:904:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src); ^ AsciiSrc.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(src, checkString) ^ AsciiSrc.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToAsciiType(); ^ AsciiSrc.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteToFile(string, name) ^ AsciiSrc.c:100:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ AsciiSrc.c:965:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src); ^ AsciiSrc.c:966:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, NULL, string); ^ AsciiSrc.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StorePiecesInString(src) ^ AsciiSrc.c:99:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String MyStrncpy(), StorePiecesInString(); ^ AsciiSrc.c:1031:13: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] (void) tmpnam(src->ascii_src.string); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ AsciiSrc.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitStringOrFile(src, newString) ^ AsciiSrc.c:95:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILE * InitStringOrFile(); ^ AsciiSrc.c:1104:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ AsciiSrc.c:1114:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ AsciiSrc.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, string) ^ AsciiSrc.c:96:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocNewPiece(src, prev) ^ AsciiSrc.c:94:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Piece * FindPiece(), * AllocNewPiece(); ^ AsciiSrc.c:1177:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, first); ^ AsciiSrc.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src) ^ AsciiSrc.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, piece) ^ AsciiSrc.c:96:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPiece(src, position, first) ^ AsciiSrc.c:94:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Piece * FindPiece(), * AllocNewPiece(); ^ AsciiSrc.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(s1, s2, n) ^ AsciiSrc.c:99:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String MyStrncpy(), StorePiecesInString(); ^ AsciiSrc.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, piece) ^ AsciiSrc.c:96:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToAsciiType(args, num_args, fromVal, toVal) ^ AsciiSrc.c:97:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToAsciiType(); ^ 75 warnings generated. rm -f AsciiSrc.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic AsciiSrc.c AsciiSrc.c:228:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, src->ascii_src.type == XawAsciiFile); ^ AsciiSrc.c:229:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); ^ AsciiSrc.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ AsciiSrc.c:98:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ AsciiSrc.c:252:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Piece * piece = FindPiece(src, pos, &start); ^ AsciiSrc.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadText(w, pos, text, length) ^ AsciiSrc.c:92:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ AsciiSrc.c:288:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ AsciiSrc.c:289:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_piece = FindPiece(src, endPos, &end_first); ^ AsciiSrc.c:306:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ AsciiSrc.c:310:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, temp_piece->prev); ^ AsciiSrc.c:314:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(end_piece->text, (end_piece->text + endPos - end_first), ^ AsciiSrc.c:320:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ AsciiSrc.c:323:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(start_piece->text + (startPos - start_first), ^ AsciiSrc.c:341:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ AsciiSrc.c:365:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, start_piece); ^ AsciiSrc.c:366:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ AsciiSrc.c:372:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(ptr + fill, ptr, ^ AsciiSrc.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReplaceText (w, startPos, endPos, text) ^ AsciiSrc.c:93:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ReplaceText(); ^ AsciiSrc.c:449:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ AsciiSrc.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scan (w, position, type, dir, count, include) ^ AsciiSrc.c:92:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ AsciiSrc.c:571:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ AsciiSrc.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(w, position, dir, text) ^ AsciiSrc.c:92:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ AsciiSrc.c:655:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(old_src, string_set); /* remove old info. */ ^ AsciiSrc.c:656:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, string_set); /* Init new info. */ ^ AsciiSrc.c:657:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); /* load new info into internal buffers. */ ^ AsciiSrc.c:669:42: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String string = StorePiecesInString(old_src); ^ AsciiSrc.c:670:20: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(old_src); ^ AsciiSrc.c:671:17: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, NULL, string); ^ AsciiSrc.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ AsciiSrc.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ AsciiSrc.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ AsciiSrc.c:98:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ AsciiSrc.c:721:24: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile((AsciiSrcObject) w, True); ^ AsciiSrc.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy (w) ^ AsciiSrc.c:98:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ AsciiSrc.c:808:33: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = StorePiecesInString(src); ^ AsciiSrc.c:810:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (WriteToFile(string, src->ascii_src.string) == FALSE) { ^ AsciiSrc.c:822:48: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] src->ascii_src.string = StorePiecesInString(src); ^ AsciiSrc.c:859:31: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = StorePiecesInString(src); ^ AsciiSrc.c:861:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = WriteToFile(string, name); ^ AsciiSrc.c:904:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src); ^ AsciiSrc.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(src, checkString) ^ AsciiSrc.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToAsciiType(); ^ AsciiSrc.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteToFile(string, name) ^ AsciiSrc.c:100:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ AsciiSrc.c:965:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src); ^ AsciiSrc.c:966:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, NULL, string); ^ AsciiSrc.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StorePiecesInString(src) ^ AsciiSrc.c:99:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String MyStrncpy(), StorePiecesInString(); ^ AsciiSrc.c:1031:13: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] (void) tmpnam(src->ascii_src.string); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ AsciiSrc.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitStringOrFile(src, newString) ^ AsciiSrc.c:95:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILE * InitStringOrFile(); ^ AsciiSrc.c:1104:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ AsciiSrc.c:1114:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ AsciiSrc.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, string) ^ AsciiSrc.c:96:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocNewPiece(src, prev) ^ AsciiSrc.c:94:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Piece * FindPiece(), * AllocNewPiece(); ^ AsciiSrc.c:1177:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, first); ^ AsciiSrc.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src) ^ AsciiSrc.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, piece) ^ AsciiSrc.c:96:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPiece(src, position, first) ^ AsciiSrc.c:94:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Piece * FindPiece(), * AllocNewPiece(); ^ AsciiSrc.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MyStrncpy(s1, s2, n) ^ AsciiSrc.c:99:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String MyStrncpy(), StorePiecesInString(); ^ AsciiSrc.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, piece) ^ AsciiSrc.c:96:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ AsciiSrc.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToAsciiType(args, num_args, fromVal, toVal) ^ AsciiSrc.c:97:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToAsciiType(); ^ 75 warnings generated. rm -f AsciiText.o unshared/AsciiText.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os AsciiText.c -o unshared/AsciiText.o AsciiText.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ AsciiText.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ AsciiText.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ AsciiText.c:85:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ 4 warnings generated. rm -f AsciiText.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic AsciiText.c AsciiText.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ AsciiText.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ AsciiText.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ AsciiText.c:85:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ 4 warnings generated. rm -f Box.o unshared/Box.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Box.c -o unshared/Box.o Box.c:169:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DoLayout(bbw, width, height, reply_width, reply_height, position) ^ Box.c:300:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult PreferredSize(widget, constraint, preferred) ^ Box.c:103:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult PreferredSize(); ^ Box.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Box.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Box.c:419:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean TryNewLayout(bbw) ^ Box.c:510:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(w, request, reply) ^ Box.c:101:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Box.c:574:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(w) ^ Box.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Box.c:590:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Box.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Box.c:623:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((BoxWidget)w)->box.pixmapfilename, ^ Box.c:610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Box.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ Box.c:645:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((BoxWidget)new)->box.pixmapfilename, ^ Box.c:634:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Box.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ 18 warnings generated. rm -f Box.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Box.c Box.c:169:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DoLayout(bbw, width, height, reply_width, reply_height, position) ^ Box.c:300:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult PreferredSize(widget, constraint, preferred) ^ Box.c:103:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult PreferredSize(); ^ Box.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Box.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Box.c:419:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean TryNewLayout(bbw) ^ Box.c:510:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(w, request, reply) ^ Box.c:101:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Box.c:574:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(w) ^ Box.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Box.c:590:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Box.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Box.c:623:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((BoxWidget)w)->box.pixmapfilename, ^ Box.c:610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Box.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ Box.c:645:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((BoxWidget)new)->box.pixmapfilename, ^ Box.c:634:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Box.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ 18 warnings generated. rm -f Command.o unshared/Command.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Command.c -o unshared/Command.o Command.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Get_GC(cbw, fg, bg) ^ Command.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ Command.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HighlightRegion(cbw) ^ Command.c:308:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(cbw->command.armsound); ^ Command.c:314:24: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, FALSE); ^ Command.c:316:24: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, TRUE); ^ Command.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Set(w,event,params,num_params) ^ Command.c:114:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:337:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, TRUE); ^ Command.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unset(w,event,params,num_params) ^ Command.c:114:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:358:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, TRUE); ^ Command.c:362:16: warning: passing arguments to 'Unhighlight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w, event, params, num_params); ^ Command.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reset(w,event,params,num_params) ^ Command.c:114:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:398:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(cbw->command.hlsound); ^ Command.c:402:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); ^ Command.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Highlight(w,event,params,num_params) ^ Command.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:418:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); ^ Command.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w,event,params,num_params) ^ Command.c:115:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:442:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(cbw->command.notifysound); ^ Command.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w,event,params,num_params) ^ Command.c:114:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:465:21: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, region, FALSE); ^ Command.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ Command.c:114:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:542:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cwclass->threeD_class.shadowdraw) (w, event, region, !cbw->command.set); ^ Command.c:576:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cwclass->threeD_class.shadowdraw) (w, event, region, !cbw->command.set); ^ Command.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, region, change) ^ Command.c:115:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ Command.c:115:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:625:35: warning: self-comparison always evaluates to true [-Wtautological-compare] else if(oldcbw->label.text_GC == oldcbw->label.text_GC) ^ Command.c:645:23: warning: passing arguments to 'ShapeButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && !ShapeButton(cbw, TRUE)) ^ Command.c:655:21: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertPixmap(cbw, ((CommandWidget)cbw)->command.setpixmap, ^ Command.c:665:17: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertPixmap(cbw, ((CommandWidget)cbw)->command.hlpixmap, ^ Command.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues (current, request, new, args, num_args) ^ Command.c:113:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Command.c:690:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Command.c:690:36: note: remove extraneous parentheses around the comparison to silence this warning if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~ ^ ~ Command.c:690:36: note: use '=' to turn this equality comparison into an assignment if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ^~ = Command.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeButton(cbw, checkRectangular) ^ Command.c:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ShapeButton(); ^ Command.c:719:30: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Pixmap *)InsertPixmap(w, cbw->command.setpixmap, ^ Command.c:727:30: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Pixmap *)InsertPixmap(w, cbw->command.hlpixmap, ^ Command.c:706:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Command.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ Command.c:735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Command.c:118:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ 50 warnings generated. rm -f Command.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Command.c Command.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Get_GC(cbw, fg, bg) ^ Command.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ Command.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HighlightRegion(cbw) ^ Command.c:308:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(cbw->command.armsound); ^ Command.c:314:24: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, FALSE); ^ Command.c:316:24: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, TRUE); ^ Command.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Set(w,event,params,num_params) ^ Command.c:114:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:337:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, TRUE); ^ Command.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unset(w,event,params,num_params) ^ Command.c:114:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:358:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, (Region) NULL, TRUE); ^ Command.c:362:16: warning: passing arguments to 'Unhighlight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w, event, params, num_params); ^ Command.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reset(w,event,params,num_params) ^ Command.c:114:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:398:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(cbw->command.hlsound); ^ Command.c:402:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); ^ Command.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Highlight(w,event,params,num_params) ^ Command.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:418:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); ^ Command.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w,event,params,num_params) ^ Command.c:115:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:442:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(cbw->command.notifysound); ^ Command.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w,event,params,num_params) ^ Command.c:114:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:465:21: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, region, FALSE); ^ Command.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ Command.c:114:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); ^ Command.c:542:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cwclass->threeD_class.shadowdraw) (w, event, region, !cbw->command.set); ^ Command.c:576:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cwclass->threeD_class.shadowdraw) (w, event, region, !cbw->command.set); ^ Command.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintCommandWidget(w, event, region, change) ^ Command.c:115:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ Command.c:115:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); ^ Command.c:625:35: warning: self-comparison always evaluates to true [-Wtautological-compare] else if(oldcbw->label.text_GC == oldcbw->label.text_GC) ^ Command.c:645:23: warning: passing arguments to 'ShapeButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && !ShapeButton(cbw, TRUE)) ^ Command.c:655:21: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertPixmap(cbw, ((CommandWidget)cbw)->command.setpixmap, ^ Command.c:665:17: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertPixmap(cbw, ((CommandWidget)cbw)->command.hlpixmap, ^ Command.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues (current, request, new, args, num_args) ^ Command.c:113:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Command.c:690:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Command.c:690:36: note: remove extraneous parentheses around the comparison to silence this warning if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~ ^ ~ Command.c:690:36: note: use '=' to turn this equality comparison into an assignment if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ^~ = Command.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeButton(cbw, checkRectangular) ^ Command.c:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ShapeButton(); ^ Command.c:719:30: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Pixmap *)InsertPixmap(w, cbw->command.setpixmap, ^ Command.c:727:30: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Pixmap *)InsertPixmap(w, cbw->command.hlpixmap, ^ Command.c:706:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Command.c:118:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ Command.c:735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Command.c:118:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ 50 warnings generated. rm -f Dialog.o unshared/Dialog.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Dialog.c -o unshared/Dialog.o Dialog.c:188:32: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialogValueWidget( (Widget) dw); ^ Dialog.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Dialog.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ Dialog.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize(request, new, args, num_args) ^ Dialog.c:87:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ Dialog.c:308:29: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialogValueWidget( (Widget) w); ^ Dialog.c:232:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, in_args, in_num_args) ^ Dialog.c:90:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Dialog.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ Dialog.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] GetValuesHook(); ^ Dialog.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialogValueWidget(w) ^ Dialog.c:87:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ 12 warnings generated. rm -f Dialog.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Dialog.c Dialog.c:188:32: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialogValueWidget( (Widget) dw); ^ Dialog.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Dialog.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ Dialog.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize(request, new, args, num_args) ^ Dialog.c:87:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ Dialog.c:308:29: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialogValueWidget( (Widget) w); ^ Dialog.c:232:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, in_args, in_num_args) ^ Dialog.c:90:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Dialog.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ Dialog.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] GetValuesHook(); ^ Dialog.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialogValueWidget(w) ^ Dialog.c:87:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ 12 warnings generated. rm -f Form.o unshared/Form.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Form.c -o unshared/Form.o Form.c:185:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _CvtStringToEdgeType(args, num_args, fromVal, toVal) ^ Form.c:243:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize(class) ^ Form.c:101:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); ^ Form.c:255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Form.c:101:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); ^ Form.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFormGeometry(w, query_only, width, height, ret_width, ret_height) ^ Form.c:367:17: warning: passing arguments to 'LayoutChild' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutChild(*childP); ^ Form.c:401:20: warning: passing arguments to 'ResizeChildren' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeChildren((Widget) fw); ^ Form.c:343:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean Layout(fw, width, height, force_relayout) ^ Form.c:106:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean Layout(); ^ Form.c:416:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ResizeChildren(w) ^ Form.c:108:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutChild(), ResizeChildren(), Realize(); ^ Form.c:448:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void LayoutChild(w) ^ Form.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutChild(), ResizeChildren(), Realize(); ^ Form.c:498:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Position TransformCoord(loc, old, new, type) ^ Form.c:515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Form.c:101:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); ^ Form.c:588:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fw, 0, 0, True); ^ Form.c:610:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fw, 0, 0, True); ^ Form.c:630:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ( fw, w->core.width, w->core.height, ^ Form.c:658:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ( fw, w->core.width, w->core.height, ^ Form.c:568:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(w, request, reply) ^ Form.c:104:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ Form.c:700:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((FormWidget)s_new)->form.pixmapfilename, ^ Form.c:689:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Form.c:103:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ConstraintSetValues(); ^ Form.c:715:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize(request, new, args, num_args) ^ Form.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConstraintInitialize(); ^ Form.c:736:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ConstraintSetValues(current, request, new, args, num_args) ^ Form.c:103:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ConstraintSetValues(); ^ Form.c:805:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((FormWidget) w, w->core.width, ^ Form.c:771:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(w) ^ Form.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Form.c:819:33: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if ( request->request_mode & (CWWidth | CWHeight) == ^~~~~~~~~~~~~~~~~~~~~~~~~ Form.c:819:33: note: place parentheses around the '==' expression to silence this warning if ( request->request_mode & (CWWidth | CWHeight) == ^ ( Form.c:819:33: note: place parentheses around the & expression to evaluate it first if ( request->request_mode & (CWWidth | CWHeight) == ^ ( ) Form.c:810:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult PreferredGeometry( widget, request, reply ) ^ Form.c:104:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ Form.c:898:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((FormWidget)w)->form.pixmapfilename, ^ Form.c:886:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Form.c:108:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutChild(), ResizeChildren(), Realize(); ^ 39 warnings generated. rm -f Form.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Form.c Form.c:185:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _CvtStringToEdgeType(args, num_args, fromVal, toVal) ^ Form.c:243:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize(class) ^ Form.c:101:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); ^ Form.c:255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Form.c:101:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); ^ Form.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFormGeometry(w, query_only, width, height, ret_width, ret_height) ^ Form.c:367:17: warning: passing arguments to 'LayoutChild' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutChild(*childP); ^ Form.c:401:20: warning: passing arguments to 'ResizeChildren' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeChildren((Widget) fw); ^ Form.c:343:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean Layout(fw, width, height, force_relayout) ^ Form.c:106:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean Layout(); ^ Form.c:416:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ResizeChildren(w) ^ Form.c:108:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutChild(), ResizeChildren(), Realize(); ^ Form.c:448:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void LayoutChild(w) ^ Form.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutChild(), ResizeChildren(), Realize(); ^ Form.c:498:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Position TransformCoord(loc, old, new, type) ^ Form.c:515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Form.c:101:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); ^ Form.c:588:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fw, 0, 0, True); ^ Form.c:610:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fw, 0, 0, True); ^ Form.c:630:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ( fw, w->core.width, w->core.height, ^ Form.c:658:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ( fw, w->core.width, w->core.height, ^ Form.c:568:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(w, request, reply) ^ Form.c:104:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ Form.c:700:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((FormWidget)s_new)->form.pixmapfilename, ^ Form.c:689:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Form.c:103:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ConstraintSetValues(); ^ Form.c:715:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize(request, new, args, num_args) ^ Form.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConstraintInitialize(); ^ Form.c:736:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ConstraintSetValues(current, request, new, args, num_args) ^ Form.c:103:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ConstraintSetValues(); ^ Form.c:805:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((FormWidget) w, w->core.width, ^ Form.c:771:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(w) ^ Form.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Form.c:819:33: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if ( request->request_mode & (CWWidth | CWHeight) == ^~~~~~~~~~~~~~~~~~~~~~~~~ Form.c:819:33: note: place parentheses around the '==' expression to silence this warning if ( request->request_mode & (CWWidth | CWHeight) == ^ ( Form.c:819:33: note: place parentheses around the & expression to evaluate it first if ( request->request_mode & (CWWidth | CWHeight) == ^ ( ) Form.c:810:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult PreferredGeometry( widget, request, reply ) ^ Form.c:104:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ Form.c:898:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((FormWidget)w)->form.pixmapfilename, ^ Form.c:886:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Form.c:108:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutChild(), ResizeChildren(), Realize(); ^ 39 warnings generated. rm -f Grip.o unshared/Grip.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Grip.c -o unshared/Grip.o Grip.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GripAction( widget, event, params, num_params ) ^ Grip.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GripAction( /* Widget, XEvent*, String*, Cardinal */ ); ^ 2 warnings generated. rm -f Grip.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Grip.c Grip.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GripAction( widget, event, params, num_params ) ^ Grip.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GripAction( /* Widget, XEvent*, String*, Cardinal */ ); ^ 2 warnings generated. rm -f Label.o unshared/Label.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Label.c -o unshared/Label.o Label.c:265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetTextWidthAndHeight(lw) ^ Label.c:369:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetnormalGC(lw) ^ Label.c:392:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetgrayGC(lw) ^ Label.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetTborderGC(lw) ^ Label.c:445:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void compute_bitmap_offsets (lw) ^ Label.c:463:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_bitmap_info (lw) ^ Label.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Label.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Label.c:535:19: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(lw, lw->label.shapepixmap, lw->simple.pixdir); ^ Label.c:541:18: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(lw, lw->simple.pixmapfilename, lw->simple.pixdir); ^ Label.c:519:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Label.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ Label.c:573:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*lwclass->threeD_class.shadowdraw) (gw, event, region, True); ^ Label.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay(gw, event, region) ^ Label.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Label.c:705:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _Reposition(lw, width, height, dx, dy) ^ Label.c:741:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Label.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Label.c:871:20: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(newlw, newlw->label.shapepixmap, newlw->simple.pixdir); ^ Label.c:878:19: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(newlw, newlw->simple.pixmapfilename, newlw->simple.pixdir); ^ Label.c:760:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Label.c:136:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Label.c:890:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy(w) ^ Label.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ Label.c:904:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(w, intended, preferred) ^ Label.c:139:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 26 warnings generated. rm -f Label.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Label.c Label.c:265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetTextWidthAndHeight(lw) ^ Label.c:369:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetnormalGC(lw) ^ Label.c:392:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetgrayGC(lw) ^ Label.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetTborderGC(lw) ^ Label.c:445:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void compute_bitmap_offsets (lw) ^ Label.c:463:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_bitmap_info (lw) ^ Label.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Label.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Label.c:535:19: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(lw, lw->label.shapepixmap, lw->simple.pixdir); ^ Label.c:541:18: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(lw, lw->simple.pixmapfilename, lw->simple.pixdir); ^ Label.c:519:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Label.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ Label.c:573:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*lwclass->threeD_class.shadowdraw) (gw, event, region, True); ^ Label.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay(gw, event, region) ^ Label.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Label.c:705:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _Reposition(lw, width, height, dx, dy) ^ Label.c:741:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(w) ^ Label.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Label.c:871:20: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(newlw, newlw->label.shapepixmap, newlw->simple.pixdir); ^ Label.c:878:19: warning: passing arguments to 'GetMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = GetMask(newlw, newlw->simple.pixmapfilename, newlw->simple.pixdir); ^ Label.c:760:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Label.c:136:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Label.c:890:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy(w) ^ Label.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ Label.c:904:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(w, intended, preferred) ^ Label.c:139:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 26 warnings generated. rm -f Layout.o unshared/Layout.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Layout.c -o unshared/Layout.o Layout.c:155:20: warning: passing arguments to 'LayYYsetsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayYYsetsource ((char *) from->addr); ^ Layout.c:157:18: warning: passing arguments to 'LayYYsetdest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayYYsetdest ((BoxPtr *) to->addr); ^ Layout.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToLayout (dpy, args, num_args, from, to, converter_data) ^ Layout.c:174:22: warning: passing arguments to 'LayoutFreeLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutFreeLayout (* (LayoutPtr *) to->addr); ^ Layout.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisposeLayout (app, to, data, args, num_args) ^ Layout.c:219:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout (w, TRUE); ^ Layout.c:186:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(child, request, reply) ^ Layout.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Layout.c:224:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Layout.c:54:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(); ^ Layout.c:239:17: warning: passing arguments to 'GetDesiredSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDesiredSize (*children); ^ Layout.c:240:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout ((LayoutWidget) w, TRUE); ^ Layout.c:232:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(gw) ^ Layout.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Layout.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDesiredSize (child) ^ Layout.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDesiredSize (); ^ Layout.c:257:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void InsertChild (child) ^ Layout.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InsertChild(); ^ Layout.c:268:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout ((LayoutWidget) gw, FALSE); ^ Layout.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(gw) ^ Layout.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Layout.c:282:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout (new, TRUE); ^ Layout.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(gold, greq, gnew, args, num_args) ^ Layout.c:56:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Layout.c:297:26: warning: passing arguments to 'LayoutGetNaturalSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutGetNaturalSize (w, &prefered_size.width, &prefered_size.height); ^ Layout.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry (gw, request, prefered_return) ^ Layout.c:60:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (); ^ Layout.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintGlue (g) ^ Layout.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintDirection (dir) ^ Layout.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TabTo(level) ^ Layout.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintBox (box, level) ^ Layout.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookupVariable (child, quark) ^ Layout.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Evaluate (l, box, expr, natural) ^ Layout.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisposeExpr (expr) ^ Layout.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeNaturalSizes (l, box, dir) ^ Layout.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSizes (box) ^ Layout.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSizes (box, x, y) ^ Layout.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutFreeLayout (box) ^ Layout.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutFreeLayout (); ^ Layout.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutGetNaturalSize (l, widthp, heightp) ^ Layout.c:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutGetNaturalSize (); ^ Layout.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout (l, attemptResize) ^ Layout.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutLayout (); ^ 43 warnings generated. rm -f Layout.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Layout.c Layout.c:155:20: warning: passing arguments to 'LayYYsetsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayYYsetsource ((char *) from->addr); ^ Layout.c:157:18: warning: passing arguments to 'LayYYsetdest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayYYsetdest ((BoxPtr *) to->addr); ^ Layout.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToLayout (dpy, args, num_args, from, to, converter_data) ^ Layout.c:174:22: warning: passing arguments to 'LayoutFreeLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutFreeLayout (* (LayoutPtr *) to->addr); ^ Layout.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisposeLayout (app, to, data, args, num_args) ^ Layout.c:219:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout (w, TRUE); ^ Layout.c:186:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(child, request, reply) ^ Layout.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Layout.c:224:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Layout.c:54:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(); ^ Layout.c:239:17: warning: passing arguments to 'GetDesiredSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDesiredSize (*children); ^ Layout.c:240:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout ((LayoutWidget) w, TRUE); ^ Layout.c:232:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(gw) ^ Layout.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Layout.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDesiredSize (child) ^ Layout.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDesiredSize (); ^ Layout.c:257:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void InsertChild (child) ^ Layout.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InsertChild(); ^ Layout.c:268:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout ((LayoutWidget) gw, FALSE); ^ Layout.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(gw) ^ Layout.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Layout.c:282:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout (new, TRUE); ^ Layout.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(gold, greq, gnew, args, num_args) ^ Layout.c:56:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Layout.c:297:26: warning: passing arguments to 'LayoutGetNaturalSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutGetNaturalSize (w, &prefered_size.width, &prefered_size.height); ^ Layout.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry (gw, request, prefered_return) ^ Layout.c:60:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (); ^ Layout.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintGlue (g) ^ Layout.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintDirection (dir) ^ Layout.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TabTo(level) ^ Layout.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintBox (box, level) ^ Layout.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookupVariable (child, quark) ^ Layout.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Evaluate (l, box, expr, natural) ^ Layout.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisposeExpr (expr) ^ Layout.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeNaturalSizes (l, box, dir) ^ Layout.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSizes (box) ^ Layout.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSizes (box, x, y) ^ Layout.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutFreeLayout (box) ^ Layout.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutFreeLayout (); ^ Layout.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutGetNaturalSize (l, widthp, heightp) ^ Layout.c:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutGetNaturalSize (); ^ Layout.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutLayout (l, attemptResize) ^ Layout.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutLayout (); ^ 43 warnings generated. rm -f List.o unshared/List.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os List.c -o unshared/List.o List.c:189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetGCs(w) ^ List.c:248:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CalculatedValues( w ) ^ List.c:306:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( Layout( w, changex, changey, &width, &height ) ) ^ List.c:307:17: warning: passing arguments to 'ChangeSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeSize( w, width, height ); ^ List.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetList( w, changex, changey ) ^ List.c:333:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, (request.height != reply.height), ^ List.c:343:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, FALSE, FALSE, &(request.width), &(request.height)); ^ List.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeSize(w, width, height) ^ List.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeSize(); ^ List.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(junk, new, args, num_args) ^ List.c:121:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ List.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtToItem(w, xloc, yloc, item) ^ List.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindCornerItems(w, event, ul_ret, lr_ret) ^ List.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ItemInRectangle(w, ul, lr, item) ^ List.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HighlightBackground( w, x, y, gc, hi ) ^ List.c:572:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClipToShadowInteriorAndLongest(lw, gc_p, x) ^ List.c:625:21: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] str_y = y + abs(ext->max_ink_extent.y); ^ List.c:625:21: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' List.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintItemName(w, item) ^ List.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, junk) ^ List.c:124:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ List.c:776:20: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change = Layout(w, !width_req, !height_req, &new_width, &new_height); ^ List.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreferredGeom(w, intended, requested) ^ List.c:127:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult PreferredGeom(); ^ List.c:802:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Layout(w, FALSE, FALSE, &width, &height)) ^ List.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ List.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ List.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, xfree, yfree, width, height) ^ List.c:126:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean Layout(); ^ List.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w, event, params, num_params) ^ List.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Notify(), Set(), Unset(); ^ List.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unset(w, event, params, num_params) ^ List.c:129:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Notify(), Set(), Unset(); ^ List.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Set(w, event, params, num_params) ^ List.c:129:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Notify(), Set(), Unset(); ^ List.c:997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ List.c:128:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ List.c:1106:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy(w) ^ List.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ 38 warnings generated. rm -f List.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic List.c List.c:189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetGCs(w) ^ List.c:248:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CalculatedValues( w ) ^ List.c:306:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( Layout( w, changex, changey, &width, &height ) ) ^ List.c:307:17: warning: passing arguments to 'ChangeSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeSize( w, width, height ); ^ List.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetList( w, changex, changey ) ^ List.c:333:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, (request.height != reply.height), ^ List.c:343:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, FALSE, FALSE, &(request.width), &(request.height)); ^ List.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeSize(w, width, height) ^ List.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeSize(); ^ List.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(junk, new, args, num_args) ^ List.c:121:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ List.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtToItem(w, xloc, yloc, item) ^ List.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindCornerItems(w, event, ul_ret, lr_ret) ^ List.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ItemInRectangle(w, ul, lr, item) ^ List.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HighlightBackground( w, x, y, gc, hi ) ^ List.c:572:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClipToShadowInteriorAndLongest(lw, gc_p, x) ^ List.c:625:21: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] str_y = y + abs(ext->max_ink_extent.y); ^ List.c:625:21: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' List.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintItemName(w, item) ^ List.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, junk) ^ List.c:124:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ List.c:776:20: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change = Layout(w, !width_req, !height_req, &new_width, &new_height); ^ List.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreferredGeom(w, intended, requested) ^ List.c:127:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult PreferredGeom(); ^ List.c:802:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Layout(w, FALSE, FALSE, &width, &height)) ^ List.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ List.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ List.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, xfree, yfree, width, height) ^ List.c:126:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean Layout(); ^ List.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w, event, params, num_params) ^ List.c:129:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Notify(), Set(), Unset(); ^ List.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unset(w, event, params, num_params) ^ List.c:129:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Notify(), Set(), Unset(); ^ List.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Set(w, event, params, num_params) ^ List.c:129:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Notify(), Set(), Unset(); ^ List.c:997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ List.c:128:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ List.c:1106:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy(w) ^ List.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ 38 warnings generated. rm -f MenuButton.o unshared/MenuButton.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os MenuButton.c -o unshared/MenuButton.o MenuButton.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopupMenu(w, event, params, num_params) ^ MenuButton.c:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PopupMenu(); ^ 2 warnings generated. rm -f MenuButton.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic MenuButton.c MenuButton.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopupMenu(w, event, params, num_params) ^ MenuButton.c:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PopupMenu(); ^ 2 warnings generated. rm -f MultiSrc.o unshared/MultiSrc.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os MultiSrc.c -o unshared/MultiSrc.o MultiSrc.c:125:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *tmpnam(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:188:7: note: conflicting prototype is here char *tmpnam(char *); ^ MultiSrc.c:138:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern wchar_t* _XawTextMBToWC(); ^ ./X11/Xaw3d/TextSrcP.h:135:10: note: conflicting prototype is here wchar_t* _XawTextMBToWC( ^ MultiSrc.c:139:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *_XawTextWCToMB(); ^ ./X11/Xaw3d/TextSrcP.h:127:7: note: conflicting prototype is here char* _XawTextWCToMB( ^ MultiSrc.c:237:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, src->multi_src.type == XawAsciiFile); ^ MultiSrc.c:238:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); ^ MultiSrc.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ MultiSrc.c:115:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ MultiSrc.c:263:33: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultiPiece * piece = FindPiece(src, pos, &start); ^ MultiSrc.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadText(w, pos, text, length) ^ MultiSrc.c:109:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ MultiSrc.c:333:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ MultiSrc.c:334:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_piece = FindPiece(src, endPos, &end_first); ^ MultiSrc.c:346:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ MultiSrc.c:350:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, temp_piece->prev); ^ MultiSrc.c:360:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ MultiSrc.c:382:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ MultiSrc.c:409:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, start_piece); ^ MultiSrc.c:410:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ MultiSrc.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReplaceText( w, startPos, endPos, u_text_p) ^ MultiSrc.c:110:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ReplaceText(); ^ MultiSrc.c:503:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ MultiSrc.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scan( w, position, type, dir, count, include ) ^ MultiSrc.c:109:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ MultiSrc.c:652:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ MultiSrc.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(w, position, dir, text ) ^ MultiSrc.c:109:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ MultiSrc.c:737:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(old_src, string_set); ^ MultiSrc.c:738:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, string_set); ^ MultiSrc.c:744:19: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); ^ MultiSrc.c:756:45: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String mb_string = StorePiecesInString( old_src ); ^ MultiSrc.c:759:24: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces( old_src ); ^ MultiSrc.c:760:21: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces( src, NULL, mb_string ); ^ MultiSrc.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ MultiSrc.c:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ MultiSrc.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ MultiSrc.c:115:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ MultiSrc.c:820:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile((MultiSrcObject) w, True); ^ MultiSrc.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy (w) ^ MultiSrc.c:115:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ MultiSrc.c:892:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_string = StorePiecesInString( src ); ^ MultiSrc.c:895:27: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( WriteToFile( mb_string, src->multi_src.string ) == FALSE ) { ^ MultiSrc.c:915:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_string = StorePiecesInString( src ); ^ MultiSrc.c:961:34: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_string = StorePiecesInString( src ); ^ MultiSrc.c:964:24: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = WriteToFile( mb_string, name ); ^ MultiSrc.c:987:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src); ^ MultiSrc.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(src, checkString) ^ MultiSrc.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToMultiType(); ^ MultiSrc.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteToFile(string, name) ^ MultiSrc.c:117:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ MultiSrc.c:1052:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces( src ); ^ MultiSrc.c:1053:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces( src, NULL, (char *)wc_string ); ^ MultiSrc.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StorePiecesInString(src) ^ MultiSrc.c:116:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String StorePiecesInString(); ^ MultiSrc.c:1140:13: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] (void) tmpnam(src->multi_src.string); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ MultiSrc.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitStringOrFile(src, newString) ^ MultiSrc.c:112:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILE * InitStringOrFile(); ^ MultiSrc.c:1270:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ MultiSrc.c:1280:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ MultiSrc.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, string) ^ MultiSrc.c:113:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocNewPiece(src, prev) ^ MultiSrc.c:111:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static MultiPiece * FindPiece(), * AllocNewPiece(); ^ MultiSrc.c:1343:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, first); ^ MultiSrc.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src) ^ MultiSrc.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, piece) ^ MultiSrc.c:113:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPiece(src, position, first) ^ MultiSrc.c:111:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static MultiPiece * FindPiece(), * AllocNewPiece(); ^ MultiSrc.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, piece) ^ MultiSrc.c:113:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToMultiType(args, num_args, fromVal, toVal) ^ MultiSrc.c:114:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToMultiType(); ^ 73 warnings generated. rm -f MultiSrc.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic MultiSrc.c MultiSrc.c:125:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *tmpnam(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:188:7: note: conflicting prototype is here char *tmpnam(char *); ^ MultiSrc.c:138:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern wchar_t* _XawTextMBToWC(); ^ ./X11/Xaw3d/TextSrcP.h:135:10: note: conflicting prototype is here wchar_t* _XawTextMBToWC( ^ MultiSrc.c:139:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *_XawTextWCToMB(); ^ ./X11/Xaw3d/TextSrcP.h:127:7: note: conflicting prototype is here char* _XawTextWCToMB( ^ MultiSrc.c:237:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, src->multi_src.type == XawAsciiFile); ^ MultiSrc.c:238:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); ^ MultiSrc.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ MultiSrc.c:115:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ MultiSrc.c:263:33: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultiPiece * piece = FindPiece(src, pos, &start); ^ MultiSrc.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadText(w, pos, text, length) ^ MultiSrc.c:109:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ MultiSrc.c:333:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ MultiSrc.c:334:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_piece = FindPiece(src, endPos, &end_first); ^ MultiSrc.c:346:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ MultiSrc.c:350:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, temp_piece->prev); ^ MultiSrc.c:360:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, start_piece); ^ MultiSrc.c:382:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ MultiSrc.c:409:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, start_piece); ^ MultiSrc.c:410:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_piece = FindPiece(src, startPos, &start_first); ^ MultiSrc.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReplaceText( w, startPos, endPos, u_text_p) ^ MultiSrc.c:110:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ReplaceText(); ^ MultiSrc.c:503:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ MultiSrc.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scan( w, position, type, dir, count, include ) ^ MultiSrc.c:109:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ MultiSrc.c:652:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ MultiSrc.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(w, position, dir, text ) ^ MultiSrc.c:109:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Scan(), Search(), ReadText(); ^ MultiSrc.c:737:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(old_src, string_set); ^ MultiSrc.c:738:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = InitStringOrFile(src, string_set); ^ MultiSrc.c:744:19: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, NULL); ^ MultiSrc.c:756:45: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String mb_string = StorePiecesInString( old_src ); ^ MultiSrc.c:759:24: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces( old_src ); ^ MultiSrc.c:760:21: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces( src, NULL, mb_string ); ^ MultiSrc.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ MultiSrc.c:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ MultiSrc.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ MultiSrc.c:115:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ MultiSrc.c:820:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile((MultiSrcObject) w, True); ^ MultiSrc.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy (w) ^ MultiSrc.c:115:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); ^ MultiSrc.c:892:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_string = StorePiecesInString( src ); ^ MultiSrc.c:895:27: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( WriteToFile( mb_string, src->multi_src.string ) == FALSE ) { ^ MultiSrc.c:915:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_string = StorePiecesInString( src ); ^ MultiSrc.c:961:34: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_string = StorePiecesInString( src ); ^ MultiSrc.c:964:24: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = WriteToFile( mb_string, name ); ^ MultiSrc.c:987:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src); ^ MultiSrc.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveOldStringOrFile(src, checkString) ^ MultiSrc.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToMultiType(); ^ MultiSrc.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteToFile(string, name) ^ MultiSrc.c:117:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), WriteToFile(); ^ MultiSrc.c:1052:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces( src ); ^ MultiSrc.c:1053:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces( src, NULL, (char *)wc_string ); ^ MultiSrc.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StorePiecesInString(src) ^ MultiSrc.c:116:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String StorePiecesInString(); ^ MultiSrc.c:1140:13: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] (void) tmpnam(src->multi_src.string); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ MultiSrc.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitStringOrFile(src, newString) ^ MultiSrc.c:112:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILE * InitStringOrFile(); ^ MultiSrc.c:1270:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ MultiSrc.c:1280:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] piece = AllocNewPiece(src, piece); ^ MultiSrc.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadPieces(src, file, string) ^ MultiSrc.c:113:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocNewPiece(src, prev) ^ MultiSrc.c:111:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static MultiPiece * FindPiece(), * AllocNewPiece(); ^ MultiSrc.c:1343:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, first); ^ MultiSrc.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAllPieces(src) ^ MultiSrc.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemovePiece(src, piece) ^ MultiSrc.c:113:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPiece(src, position, first) ^ MultiSrc.c:111:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static MultiPiece * FindPiece(), * AllocNewPiece(); ^ MultiSrc.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BreakPiece(src, piece) ^ MultiSrc.c:113:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); ^ MultiSrc.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToMultiType(args, num_args, fromVal, toVal) ^ MultiSrc.c:114:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToMultiType(); ^ 73 warnings generated. rm -f MultiSink.o unshared/MultiSink.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os MultiSink.c -o unshared/MultiSink.o MultiSink.c:209:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ MultiSink.c:268:34: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (int) y - abs(ext->max_logical_extent.y), ^ MultiSink.c:268:34: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' MultiSink.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintText(w, gc, x, y, buf, len) ^ MultiSink.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ MultiSink.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ MultiSink.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateInsertCursor(s) ^ MultiSink.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, rect) ^ MultiSink.c:98:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ MultiSink.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor (w, x, y, state) ^ MultiSink.c:97:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ MultiSink.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) ^ MultiSink.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ MultiSink.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPosition(w, fromPos, fromx, width, stopAtWordBreak, resPos, resWidth, resHeight) ^ MultiSink.c:97:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ MultiSink.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, leftPos, rightPos) ^ MultiSink.c:98:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ MultiSink.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGC(sink) ^ MultiSink.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ MultiSink.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ MultiSink.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ MultiSink.c:92:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ MultiSink.c:616:9: warning: passing arguments to 'SetTabs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); ^ MultiSink.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ MultiSink.c:93:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ MultiSink.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxLines(w, height) ^ MultiSink.c:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ MultiSink.c:94:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ MultiSink.c:671:1: note: conflicting prototype is here MaxHeight( ^ MultiSink.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ MultiSink.c:696:1: note: conflicting prototype is here SetTabs( ^ MultiSink.c:737:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 29 warnings generated. rm -f MultiSink.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic MultiSink.c MultiSink.c:209:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ MultiSink.c:268:34: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (int) y - abs(ext->max_logical_extent.y), ^ MultiSink.c:268:34: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' MultiSink.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintText(w, gc, x, y, buf, len) ^ MultiSink.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ MultiSink.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ MultiSink.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateInsertCursor(s) ^ MultiSink.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, rect) ^ MultiSink.c:98:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ MultiSink.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor (w, x, y, state) ^ MultiSink.c:97:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ MultiSink.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) ^ MultiSink.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ MultiSink.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPosition(w, fromPos, fromx, width, stopAtWordBreak, resPos, resWidth, resHeight) ^ MultiSink.c:97:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), FindPosition(); ^ MultiSink.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, leftPos, rightPos) ^ MultiSink.c:98:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ MultiSink.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGC(sink) ^ MultiSink.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ MultiSink.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ MultiSink.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ MultiSink.c:92:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ MultiSink.c:616:9: warning: passing arguments to 'SetTabs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); ^ MultiSink.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ MultiSink.c:93:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ MultiSink.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxLines(w, height) ^ MultiSink.c:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ MultiSink.c:94:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ MultiSink.c:671:1: note: conflicting prototype is here MaxHeight( ^ MultiSink.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ MultiSink.c:696:1: note: conflicting prototype is here SetTabs( ^ MultiSink.c:737:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 29 warnings generated. rm -f Paned.o unshared/Paned.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Paned.c -o unshared/Paned.o Paned.c:291:34: warning: passing arguments to 'PaneSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dimension old_size = PaneSize( (Widget) pw, IsVert(pw)); ^ Paned.c:327:33: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *on_size_ret = GetRequestInfo( &request, IsVert(pw) ); ^ Paned.c:328:40: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *off_size_ret = GetRequestInfo( &request, !IsVert(pw) ); ^ Paned.c:331:36: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *on_size_ret = GetRequestInfo( &reply, IsVert(pw) ); ^ Paned.c:332:37: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *off_size_ret = GetRequestInfo( &reply, !IsVert(pw) ); ^ Paned.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustPanedSize(pw, off_size, result_ret, on_size_ret, off_size_ret) ^ Paned.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaneSize(w, vertical) ^ Paned.c:199:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension PaneSize(), GetRequestInfo(); ^ Paned.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetRequestInfo(geo_struct, vert) ^ Paned.c:199:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension PaneSize(), GetRequestInfo(); ^ Paned.c:426:42: warning: passing arguments to 'SatisfiesRule3' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (rules < 3 || SatisfiesRule3(pane, shrink)) && ^ Paned.c:427:35: warning: passing arguments to 'SatisfiesRule2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (rules < 2 || SatisfiesRule2(pane)) && ^ Paned.c:428:22: warning: passing arguments to 'SatisfiesRule1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (SatisfiesRule1(pane, shrink)) && ^ Paned.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChoosePaneToResize(pw, paneindex, dir, shrink) ^ Paned.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SatisfiesRule1(pane, shrink) ^ Paned.c:200:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); ^ Paned.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SatisfiesRule2(pane) ^ Paned.c:200:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); ^ Paned.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SatisfiesRule3(pane, shrink) ^ Paned.c:200:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); ^ Paned.c:534:14: warning: passing arguments to 'GetPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPaneStack(pw, shrink, &pane, &start_size); ^ Paned.c:542:19: warning: passing arguments to 'PushPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushPaneStack(pw, pane); ^ Paned.c:560:55: warning: passing arguments to 'PopPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pane->size == start_size) (void) PopPaneStack(pw); ^ Paned.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoopAndRefigureChildren(pw, paneindex, dir, sizeused) ^ Paned.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefigureLocations(pw, paneindex, dir) ^ Paned.c:711:19: warning: passing arguments to 'ClearPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearPaneStack(pw); ^ Paned.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommitNewLocations(pw) ^ Paned.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefigureLocationsAndCommit(w) ^ Paned.c:192:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RefigureLocationsAndCommit(); ^ Paned.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DrawRect(pw, gc, on_loc, off_loc, on_size, off_size) ^ Paned.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DrawInternalBorders(pw, gc) ^ Paned.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DrawTrackLines(pw, erase) ^ Paned.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetEventLocation(pw, event) ^ Paned.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartGripAdjustment(pw, grip, dir) ^ Paned.c:989:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (dir == ThisBorderOnly) ) { ~~~~^~~~~~~~~~~~~~~~~ Paned.c:989:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (dir == ThisBorderOnly) ) { ~ ^ ~ Paned.c:989:15: note: use '=' to turn this equality comparison into an assignment if ( (dir == ThisBorderOnly) ) { ^~ = Paned.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveGripAdjustment(pw, grip, dir, loc) ^ Paned.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommitGripAdjustment(pw) ^ Paned.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleGrip(grip, junk, callData) ^ Paned.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResortChildren(pw) ^ Paned.c:1162:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ManageAndUnmanageGrips(pw) ^ Paned.c:1198:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGrip(child) ^ Paned.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGCs(w) ^ Paned.c:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetGCs(), ReleaseGCs(); ^ Paned.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetChildrenPrefSizes(pw, off_size) ^ Paned.c:1314:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeAllGripCursors(pw) ^ Paned.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushPaneStack(pw, pane) ^ Paned.c:202:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PushPaneStack(); ^ Paned.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPaneStack(pw, shrink, pane, start_size) ^ Paned.c:203:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetPaneStack(); ^ Paned.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopPaneStack(pw) ^ Paned.c:204:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean PopPaneStack(); ^ Paned.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearPaneStack(pw) ^ Paned.c:205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClearPaneStack(); ^ Paned.c:1493:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1528:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1447:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(w, request, reply) ^ Paned.c:194:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Paned.c:1551:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Paned.c:188:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(); ^ Paned.c:1567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, valueMask, attributes) ^ Paned.c:189:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ Paned.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReleaseGCs(w) ^ Paned.c:191:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetGCs(), ReleaseGCs(); ^ Paned.c:1606:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void InsertChild(w) ^ Paned.c:196:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InsertChild(); ^ Paned.c:1635:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DeleteChild(w) ^ Paned.c:197:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DeleteChild(); ^ Paned.c:1683:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1648:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(w) ^ Paned.c:195:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Paned.c:1708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ Paned.c:189:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ Paned.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ Paned.c:190:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Paned.c:1728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(old, request, new, args, num_args) ^ Paned.c:193:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Paned.c:1818:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ( HasGrip(old) ) { ^ Paned.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaneSetValues(old, request, new, args, num_args) ^ Paned.c:198:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean PaneSetValues(); ^ 82 warnings generated. rm -f Paned.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Paned.c Paned.c:291:34: warning: passing arguments to 'PaneSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dimension old_size = PaneSize( (Widget) pw, IsVert(pw)); ^ Paned.c:327:33: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *on_size_ret = GetRequestInfo( &request, IsVert(pw) ); ^ Paned.c:328:40: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *off_size_ret = GetRequestInfo( &request, !IsVert(pw) ); ^ Paned.c:331:36: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *on_size_ret = GetRequestInfo( &reply, IsVert(pw) ); ^ Paned.c:332:37: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *off_size_ret = GetRequestInfo( &reply, !IsVert(pw) ); ^ Paned.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustPanedSize(pw, off_size, result_ret, on_size_ret, off_size_ret) ^ Paned.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaneSize(w, vertical) ^ Paned.c:199:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension PaneSize(), GetRequestInfo(); ^ Paned.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetRequestInfo(geo_struct, vert) ^ Paned.c:199:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension PaneSize(), GetRequestInfo(); ^ Paned.c:426:42: warning: passing arguments to 'SatisfiesRule3' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (rules < 3 || SatisfiesRule3(pane, shrink)) && ^ Paned.c:427:35: warning: passing arguments to 'SatisfiesRule2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (rules < 2 || SatisfiesRule2(pane)) && ^ Paned.c:428:22: warning: passing arguments to 'SatisfiesRule1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (SatisfiesRule1(pane, shrink)) && ^ Paned.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChoosePaneToResize(pw, paneindex, dir, shrink) ^ Paned.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SatisfiesRule1(pane, shrink) ^ Paned.c:200:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); ^ Paned.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SatisfiesRule2(pane) ^ Paned.c:200:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); ^ Paned.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SatisfiesRule3(pane, shrink) ^ Paned.c:200:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); ^ Paned.c:534:14: warning: passing arguments to 'GetPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPaneStack(pw, shrink, &pane, &start_size); ^ Paned.c:542:19: warning: passing arguments to 'PushPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushPaneStack(pw, pane); ^ Paned.c:560:55: warning: passing arguments to 'PopPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pane->size == start_size) (void) PopPaneStack(pw); ^ Paned.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoopAndRefigureChildren(pw, paneindex, dir, sizeused) ^ Paned.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefigureLocations(pw, paneindex, dir) ^ Paned.c:711:19: warning: passing arguments to 'ClearPaneStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearPaneStack(pw); ^ Paned.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommitNewLocations(pw) ^ Paned.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefigureLocationsAndCommit(w) ^ Paned.c:192:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RefigureLocationsAndCommit(); ^ Paned.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DrawRect(pw, gc, on_loc, off_loc, on_size, off_size) ^ Paned.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DrawInternalBorders(pw, gc) ^ Paned.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DrawTrackLines(pw, erase) ^ Paned.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetEventLocation(pw, event) ^ Paned.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartGripAdjustment(pw, grip, dir) ^ Paned.c:989:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (dir == ThisBorderOnly) ) { ~~~~^~~~~~~~~~~~~~~~~ Paned.c:989:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (dir == ThisBorderOnly) ) { ~ ^ ~ Paned.c:989:15: note: use '=' to turn this equality comparison into an assignment if ( (dir == ThisBorderOnly) ) { ^~ = Paned.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveGripAdjustment(pw, grip, dir, loc) ^ Paned.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommitGripAdjustment(pw) ^ Paned.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleGrip(grip, junk, callData) ^ Paned.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResortChildren(pw) ^ Paned.c:1162:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ManageAndUnmanageGrips(pw) ^ Paned.c:1198:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGrip(child) ^ Paned.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGCs(w) ^ Paned.c:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetGCs(), ReleaseGCs(); ^ Paned.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetChildrenPrefSizes(pw, off_size) ^ Paned.c:1314:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeAllGripCursors(pw) ^ Paned.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushPaneStack(pw, pane) ^ Paned.c:202:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PushPaneStack(); ^ Paned.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPaneStack(pw, shrink, pane, start_size) ^ Paned.c:203:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetPaneStack(); ^ Paned.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopPaneStack(pw) ^ Paned.c:204:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean PopPaneStack(); ^ Paned.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearPaneStack(pw) ^ Paned.c:205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClearPaneStack(); ^ Paned.c:1493:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1528:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1447:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(w, request, reply) ^ Paned.c:194:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Paned.c:1551:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Paned.c:188:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(); ^ Paned.c:1567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, valueMask, attributes) ^ Paned.c:189:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ Paned.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReleaseGCs(w) ^ Paned.c:191:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetGCs(), ReleaseGCs(); ^ Paned.c:1606:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void InsertChild(w) ^ Paned.c:196:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InsertChild(); ^ Paned.c:1635:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DeleteChild(w) ^ Paned.c:197:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DeleteChild(); ^ Paned.c:1683:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1648:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(w) ^ Paned.c:195:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Paned.c:1708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ Paned.c:189:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ Paned.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ Paned.c:190:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Paned.c:1728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(old, request, new, args, num_args) ^ Paned.c:193:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Paned.c:1818:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ( HasGrip(old) ) { ^ Paned.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaneSetValues(old, request, new, args, num_args) ^ Paned.c:198:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean PaneSetValues(); ^ 82 warnings generated. rm -f Panner.o unshared/Panner.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Panner.c -o unshared/Panner.o Panner.c:207:28: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, ^ Panner.c:209:27: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, ^ Panner.c:222:32: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, ^ Panner.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_shadow_gc (pw) /* used when resources change */ ^ Panner.c:236:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_slider_gc (pw) /* used when resources change */ ^ Panner.c:249:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_xor_gc (pw) /* used when resources change */ ^ Panner.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void check_knob (pw, knob) ^ Panner.c:306:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void move_shadow (pw) ^ Panner.c:332:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void scale_knob (pw, location, size) /* set knob size and/or loc */ ^ Panner.c:359:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rescale (pw) ^ Panner.c:381:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void get_default_size (pw, wp, hp) ^ Panner.c:390:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean get_event_xy (pw, event, x, y) ^ Panner.c:425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int parse_page_string (s, pagesize, canvassize, relative) ^ Panner.c:505:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (greq, gnew, args, num_args) ^ Panner.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); /* create gc's */ ^ Panner.c:560:30: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Pixmap *)InsertPixmap(pw, ((PannerWidget)pw)->panner.sliderpixmap, ^ Panner.c:536:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valuemaskp, attr) ^ Panner.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); /* create window */ ^ Panner.c:569:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Panner.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); /* clean up widget */ ^ Panner.c:580:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize (gw) ^ Panner.c:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); /* need to rescale ourselves */ ^ Panner.c:588:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (gw, event, region) ^ Panner.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); /* draw ourselves */ ^ Panner.c:651:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcur, greq, gnew, args, num_args) ^ Panner.c:138:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); /* set all of the resources */ ^ Panner.c:729:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetValuesAlmost (gold, gnew, req, reply) ^ Panner.c:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetValuesAlmost(); /* deal with failed setval geom req */ ^ Panner.c:740:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (gw, intended, pref) ^ Panner.c:140:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); /* say how big we would like to be */ ^ Panner.c:768:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStart (gw, event, params, num_params) ^ Panner.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStop (gw, event, params, num_params) ^ Panner.c:70:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:827:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActionNotify (gw, event, params, num_params); ^ Panner.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionAbort (gw, event, params, num_params) ^ Panner.c:70:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:855:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActionNotify (gw, event, params, num_params); /* does a check */ ^ Panner.c:834:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionMove (gw, event, params, num_params) ^ Panner.c:70:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:900:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActionNotify (gw, event, (String *) NULL, &zero); ^ Panner.c:864:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionPage (gw, event, params, num_params) ^ Panner.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ Panner.c:907:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionNotify (gw, event, params, num_params) ^ Panner.c:71:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ Panner.c:958:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionSet (gw, event, params, num_params) ^ Panner.c:71:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ 47 warnings generated. rm -f Panner.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Panner.c Panner.c:207:28: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, ^ Panner.c:209:27: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, ^ Panner.c:222:32: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, ^ Panner.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_shadow_gc (pw) /* used when resources change */ ^ Panner.c:236:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_slider_gc (pw) /* used when resources change */ ^ Panner.c:249:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_xor_gc (pw) /* used when resources change */ ^ Panner.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void check_knob (pw, knob) ^ Panner.c:306:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void move_shadow (pw) ^ Panner.c:332:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void scale_knob (pw, location, size) /* set knob size and/or loc */ ^ Panner.c:359:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rescale (pw) ^ Panner.c:381:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void get_default_size (pw, wp, hp) ^ Panner.c:390:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean get_event_xy (pw, event, x, y) ^ Panner.c:425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int parse_page_string (s, pagesize, canvassize, relative) ^ Panner.c:505:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (greq, gnew, args, num_args) ^ Panner.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); /* create gc's */ ^ Panner.c:560:30: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Pixmap *)InsertPixmap(pw, ((PannerWidget)pw)->panner.sliderpixmap, ^ Panner.c:536:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valuemaskp, attr) ^ Panner.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); /* create window */ ^ Panner.c:569:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Panner.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); /* clean up widget */ ^ Panner.c:580:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize (gw) ^ Panner.c:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); /* need to rescale ourselves */ ^ Panner.c:588:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (gw, event, region) ^ Panner.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); /* draw ourselves */ ^ Panner.c:651:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcur, greq, gnew, args, num_args) ^ Panner.c:138:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); /* set all of the resources */ ^ Panner.c:729:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetValuesAlmost (gold, gnew, req, reply) ^ Panner.c:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetValuesAlmost(); /* deal with failed setval geom req */ ^ Panner.c:740:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (gw, intended, pref) ^ Panner.c:140:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); /* say how big we would like to be */ ^ Panner.c:768:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStart (gw, event, params, num_params) ^ Panner.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStop (gw, event, params, num_params) ^ Panner.c:70:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:827:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActionNotify (gw, event, params, num_params); ^ Panner.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionAbort (gw, event, params, num_params) ^ Panner.c:70:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:855:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActionNotify (gw, event, params, num_params); /* does a check */ ^ Panner.c:834:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionMove (gw, event, params, num_params) ^ Panner.c:70:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); ^ Panner.c:900:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActionNotify (gw, event, (String *) NULL, &zero); ^ Panner.c:864:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionPage (gw, event, params, num_params) ^ Panner.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ Panner.c:907:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionNotify (gw, event, params, num_params) ^ Panner.c:71:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ Panner.c:958:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionSet (gw, event, params, num_params) ^ Panner.c:71:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ 47 warnings generated. rm -f Porthole.o unshared/Porthole.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Porthole.c -o unshared/Porthole.o Porthole.c:123:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget find_child (pw) ^ Porthole.c:141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SendReport (pw, changed) ^ Porthole.c:163:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void layout_child (pw, child, geomp, xp, yp, widthp, heightp) ^ Porthole.c:228:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(gw, ((PortholeWidget)gw)->porthole.pixmapfilename, ^ Porthole.c:213:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valueMask, attributes) ^ Porthole.c:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); /* set gravity and upcall */ ^ Porthole.c:240:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize (gw) ^ Porthole.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); /* report new size */ ^ Porthole.c:263:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (gw, intended, preferred) ^ Porthole.c:64:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); /* say how big would like to be */ ^ Porthole.c:291:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager (w, req, reply) ^ Porthole.c:62:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); /* deal with child requests */ ^ Porthole.c:355:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged (gw) ^ Porthole.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); /* somebody added a new widget */ ^ Porthole.c:398:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((PortholeWidget)new)->porthole.pixmapfilename, ^ Porthole.c:388:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Porthole.c:65:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); /* Set widget resources */ ^ 17 warnings generated. rm -f Porthole.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Porthole.c Porthole.c:123:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget find_child (pw) ^ Porthole.c:141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SendReport (pw, changed) ^ Porthole.c:163:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void layout_child (pw, child, geomp, xp, yp, widthp, heightp) ^ Porthole.c:228:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(gw, ((PortholeWidget)gw)->porthole.pixmapfilename, ^ Porthole.c:213:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valueMask, attributes) ^ Porthole.c:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); /* set gravity and upcall */ ^ Porthole.c:240:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize (gw) ^ Porthole.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); /* report new size */ ^ Porthole.c:263:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (gw, intended, preferred) ^ Porthole.c:64:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); /* say how big would like to be */ ^ Porthole.c:291:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager (w, req, reply) ^ Porthole.c:62:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); /* deal with child requests */ ^ Porthole.c:355:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged (gw) ^ Porthole.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); /* somebody added a new widget */ ^ Porthole.c:398:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((PortholeWidget)new)->porthole.pixmapfilename, ^ Porthole.c:388:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Porthole.c:65:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); /* Set widget resources */ ^ 17 warnings generated. rm -f Repeater.o unshared/Repeater.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Repeater.c -o unshared/Repeater.o Repeater.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tic (client_data, id) ^ Repeater.c:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void tic(); /* clock timeout */ ^ Repeater.c:205:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (greq, gnew, args, num_args) ^ Repeater.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); /* setup private data */ ^ Repeater.c:216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Repeater.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); /* clear timers */ ^ Repeater.c:223:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcur, greq, gnew, args, num_args) ^ Repeater.c:104:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); /* set resources */ ^ Repeater.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStart (gw, event, params, num_params) ^ Repeater.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(); ^ Repeater.c:266:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStop (gw, event, params, num_params) ^ Repeater.c:67:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(); ^ 12 warnings generated. rm -f Repeater.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Repeater.c Repeater.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tic (client_data, id) ^ Repeater.c:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void tic(); /* clock timeout */ ^ Repeater.c:205:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (greq, gnew, args, num_args) ^ Repeater.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); /* setup private data */ ^ Repeater.c:216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Repeater.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); /* clear timers */ ^ Repeater.c:223:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcur, greq, gnew, args, num_args) ^ Repeater.c:104:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); /* set resources */ ^ Repeater.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStart (gw, event, params, num_params) ^ Repeater.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(); ^ Repeater.c:266:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ActionStop (gw, event, params, num_params) ^ Repeater.c:67:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(); ^ 12 warnings generated. rm -f Scrollbar.o unshared/Scrollbar.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Scrollbar.c -o unshared/Scrollbar.o Scrollbar.c:264:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void swap(a, b) ^ Scrollbar.c:524:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:524:22: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:525:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:525:22: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:569:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x1, &segment[n].y1); ^~~~~~~~~~~~~~ Scrollbar.c:569:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x1, &segment[n].y1); ^~~~~~~~~~~~~~ Scrollbar.c:570:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x2, &segment[n].y2); ^~~~~~~~~~~~~~ Scrollbar.c:570:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x2, &segment[n].y2); ^~~~~~~~~~~~~~ Scrollbar.c:280:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PaintThumb (sbw, pressed) ^ Scrollbar.c:696:12: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:696:26: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:697:12: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:697:26: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:700:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&rpoint[n].x, &rpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:700:22: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&rpoint[n].x, &rpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:847:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:847:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:864:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:864:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:879:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:879:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:894:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:894:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:912:12: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:912:26: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:605:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PaintArrows (sbw, toppressed, botpressed) ^ Scrollbar.c:905:6: warning: array index 4 is past the end of the array (which contains 4 elements) [-Warray-bounds] tpoint[4] = opoint[4]; ^ ~ Scrollbar.c:611:5: note: array 'tpoint' declared here XPoint tpoint[4]; /* temporary for args to XFillPolygon */ ^ Scrollbar.c:906:6: warning: array index 5 is past the end of the array (which contains 4 elements) [-Warray-bounds] tpoint[5] = opoint[5]; ^ ~ Scrollbar.c:611:5: note: array 'tpoint' declared here XPoint tpoint[4]; /* temporary for args to XFillPolygon */ ^ Scrollbar.c:934:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (w) ^ Scrollbar.c:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ Scrollbar.c:952:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateGC (w) ^ Scrollbar.c:1011:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetDimensions (sbw) ^ Scrollbar.c:1024:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize( request, new, args, num_args ) ^ Scrollbar.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Scrollbar.c:1079:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(sbw, ((ScrollbarWidget)sbw)->scrollbar.pixmapfilename, ^ Scrollbar.c:1090:20: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertPixmap(sbw, ((ScrollbarWidget)sbw)->scrollbar.thumbpixmap, ^ Scrollbar.c:1050:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (w, valueMask, attributes) ^ Scrollbar.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ Scrollbar.c:1141:26: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(dsbw, ((ScrollbarWidget)dsbw)->scrollbar.pixmapfilename, ^ Scrollbar.c:1148:47: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dsbw->scrollbar.thumbpix = InsertPixmap(dsbw, ^ Scrollbar.c:1098:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (current, request, desired, args, num_args) ^ Scrollbar.c:168:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Scrollbar.c:1166:15: warning: passing arguments to 'Redisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay (w, (XEvent*) NULL, (Region)NULL); ^ Scrollbar.c:1160:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize (w) ^ Scrollbar.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Scrollbar.c:1181:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE); ^ Scrollbar.c:1171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (w, event, region) ^ Scrollbar.c:167:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Scrollbar.c:1197:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean CompareEvents (oldEvent, newEvent) ^ Scrollbar.c:1237:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool PeekNotifyEvent (dpy, event, args) ^ Scrollbar.c:1249:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean LookAhead (w, event) ^ Scrollbar.c:1267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ExtractPosition (event, x, y) ^ Scrollbar.c:1298:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleThumb (w, event, params, num_params) ^ Scrollbar.c:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleThumb(); ^ Scrollbar.c:1334:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks((Widget)sbw, XtNscrollProc, (XtPointer) call_data); ^~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1319:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RepeatNotify (client_data, idp) ^ Scrollbar.c:1406:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static float FloatInRange(num, small, big) ^ Scrollbar.c:1442:38: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(-call_data)); ^~~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1455:38: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1466:37: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1472:37: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1414:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void NotifyScroll (w, event, params, num_params) ^ Scrollbar.c:177:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void NotifyScroll(); ^ Scrollbar.c:1533:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void EndScroll(w, event, params, num_params ) ^ Scrollbar.c:178:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void EndScroll(); ^ Scrollbar.c:1556:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static float FractionLoc (sbw, x, y) ^ Scrollbar.c:1576:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveThumb (w, event, params, num_params) ^ Scrollbar.c:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MoveThumb(); ^ Scrollbar.c:1622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void NotifyThumb (w, event, params, num_params ) ^ Scrollbar.c:176:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void NotifyThumb(); ^ 71 warnings generated. rm -f Scrollbar.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Scrollbar.c Scrollbar.c:264:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void swap(a, b) ^ Scrollbar.c:524:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:524:22: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:525:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:525:22: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:569:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x1, &segment[n].y1); ^~~~~~~~~~~~~~ Scrollbar.c:569:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x1, &segment[n].y1); ^~~~~~~~~~~~~~ Scrollbar.c:570:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x2, &segment[n].y2); ^~~~~~~~~~~~~~ Scrollbar.c:570:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&segment[n].x2, &segment[n].y2); ^~~~~~~~~~~~~~ Scrollbar.c:280:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PaintThumb (sbw, pressed) ^ Scrollbar.c:696:12: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:696:26: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&ipoint[n].x, &ipoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:697:12: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:697:26: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&opoint[n].x, &opoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:700:8: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&rpoint[n].x, &rpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:700:22: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&rpoint[n].x, &rpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:847:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:847:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:864:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:864:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:879:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:879:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:894:10: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:894:24: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:912:12: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:912:26: warning: passing 'short *' to parameter of type 'Dimension *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] swap(&tpoint[n].x, &tpoint[n].y); ^~~~~~~~~~~~ Scrollbar.c:605:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PaintArrows (sbw, toppressed, botpressed) ^ Scrollbar.c:905:6: warning: array index 4 is past the end of the array (which contains 4 elements) [-Warray-bounds] tpoint[4] = opoint[4]; ^ ~ Scrollbar.c:611:5: note: array 'tpoint' declared here XPoint tpoint[4]; /* temporary for args to XFillPolygon */ ^ Scrollbar.c:906:6: warning: array index 5 is past the end of the array (which contains 4 elements) [-Warray-bounds] tpoint[5] = opoint[5]; ^ ~ Scrollbar.c:611:5: note: array 'tpoint' declared here XPoint tpoint[4]; /* temporary for args to XFillPolygon */ ^ Scrollbar.c:934:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (w) ^ Scrollbar.c:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ Scrollbar.c:952:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateGC (w) ^ Scrollbar.c:1011:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetDimensions (sbw) ^ Scrollbar.c:1024:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize( request, new, args, num_args ) ^ Scrollbar.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Scrollbar.c:1079:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(sbw, ((ScrollbarWidget)sbw)->scrollbar.pixmapfilename, ^ Scrollbar.c:1090:20: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertPixmap(sbw, ((ScrollbarWidget)sbw)->scrollbar.thumbpixmap, ^ Scrollbar.c:1050:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (w, valueMask, attributes) ^ Scrollbar.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ Scrollbar.c:1141:26: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(dsbw, ((ScrollbarWidget)dsbw)->scrollbar.pixmapfilename, ^ Scrollbar.c:1148:47: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dsbw->scrollbar.thumbpix = InsertPixmap(dsbw, ^ Scrollbar.c:1098:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (current, request, desired, args, num_args) ^ Scrollbar.c:168:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Scrollbar.c:1166:15: warning: passing arguments to 'Redisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay (w, (XEvent*) NULL, (Region)NULL); ^ Scrollbar.c:1160:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize (w) ^ Scrollbar.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ Scrollbar.c:1181:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE); ^ Scrollbar.c:1171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (w, event, region) ^ Scrollbar.c:167:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Scrollbar.c:1197:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean CompareEvents (oldEvent, newEvent) ^ Scrollbar.c:1237:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool PeekNotifyEvent (dpy, event, args) ^ Scrollbar.c:1249:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean LookAhead (w, event) ^ Scrollbar.c:1267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ExtractPosition (event, x, y) ^ Scrollbar.c:1298:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleThumb (w, event, params, num_params) ^ Scrollbar.c:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleThumb(); ^ Scrollbar.c:1334:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks((Widget)sbw, XtNscrollProc, (XtPointer) call_data); ^~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1319:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RepeatNotify (client_data, idp) ^ Scrollbar.c:1406:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static float FloatInRange(num, small, big) ^ Scrollbar.c:1442:38: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(-call_data)); ^~~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1455:38: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1466:37: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1472:37: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:1414:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void NotifyScroll (w, event, params, num_params) ^ Scrollbar.c:177:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void NotifyScroll(); ^ Scrollbar.c:1533:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void EndScroll(w, event, params, num_params ) ^ Scrollbar.c:178:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void EndScroll(); ^ Scrollbar.c:1556:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static float FractionLoc (sbw, x, y) ^ Scrollbar.c:1576:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveThumb (w, event, params, num_params) ^ Scrollbar.c:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MoveThumb(); ^ Scrollbar.c:1622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void NotifyThumb (w, event, params, num_params ) ^ Scrollbar.c:176:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void NotifyThumb(); ^ 71 warnings generated. rm -f Simple.o unshared/Simple.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Simple.c -o unshared/Simple.o Simple.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize(class) ^ Simple.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ Simple.c:192:18: warning: passing arguments to 'ConvertCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertCursor(w); ^ Simple.c:201:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((SimpleWidget)w)->simple.pixmapfilename, ^ Simple.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Simple.c:84:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ Simple.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertCursor(w) ^ Simple.c:84:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ Simple.c:265:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] simple_class.change_sensitive) ( new ); ^ Simple.c:288:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((SimpleWidget)new)->simple.pixmapfilename, ^ Simple.c:250:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Simple.c:85:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ChangeSensitive(); ^ Simple.c:300:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ChangeSensitive(w) ^ Simple.c:85:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ChangeSensitive(); ^ 14 warnings generated. rm -f Simple.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Simple.c Simple.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize(class) ^ Simple.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ Simple.c:192:18: warning: passing arguments to 'ConvertCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertCursor(w); ^ Simple.c:201:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((SimpleWidget)w)->simple.pixmapfilename, ^ Simple.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Simple.c:84:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ Simple.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertCursor(w) ^ Simple.c:84:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ Simple.c:265:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] simple_class.change_sensitive) ( new ); ^ Simple.c:288:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((SimpleWidget)new)->simple.pixmapfilename, ^ Simple.c:250:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Simple.c:85:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ChangeSensitive(); ^ Simple.c:300:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ChangeSensitive(w) ^ Simple.c:85:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ChangeSensitive(); ^ 14 warnings generated. rm -f SimpleMenu.o unshared/SimpleMenu.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os SimpleMenu.c -o unshared/SimpleMenu.o SimpleMenu.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(wc) ^ SimpleMenu.c:123:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ClassInitialize(), ClassPartInitialize(), DownSound(); ^ SimpleMenu.c:288:18: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLabel(new); ^ SimpleMenu.c:293:37: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smw->core.width = GetMenuWidth(new, (Widget)NULL); ^ SimpleMenu.c:299:39: warning: passing arguments to 'GetMenuHeight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smw->core.height = GetMenuHeight(new); ^ SimpleMenu.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ SimpleMenu.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ClassInitialize(), ClassPartInitialize(), DownSound(); ^ SimpleMenu.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ SimpleMenu.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:425:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(smw, smw->simple_menu.pixmapfilename, ^ SimpleMenu.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, attrs) ^ SimpleMenu.c:122:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ SimpleMenu.c:122:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:501:17: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLabel(new); ^ SimpleMenu.c:500:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (smw_old->simple_menu.label_string == NULL) /* Create. */ ^ SimpleMenu.c:521:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(smw_new, smw_new->simple_menu.pixmapfilename, ^ SimpleMenu.c:533:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(new, (Dimension *)NULL, (Dimension *)NULL); ^ SimpleMenu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ SimpleMenu.c:124:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), SetValuesHook(); ^ SimpleMenu.c:573:22: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSetValuesRequest(w, width, height); ^ SimpleMenu.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValuesHook(w, arglist, num_args) ^ SimpleMenu.c:124:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), SetValuesHook(); ^ SimpleMenu.c:611:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, &(reply->width), &(reply->height) ); ^ SimpleMenu.c:630:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(( Widget) smw, (Dimension *)NULL, (Dimension *)NULL); ^ SimpleMenu.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GeometryManager(w, request, reply) ^ SimpleMenu.c:125:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ SimpleMenu.c:665:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, (Dimension *)NULL, (Dimension *)NULL); ^ SimpleMenu.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeManaged(w) ^ SimpleMenu.c:122:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:706:24: warning: passing arguments to 'FindMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (menu = FindMenu(w, params[0])) == NULL) { ^ SimpleMenu.c:719:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, &loc); ^ SimpleMenu.c:725:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, &loc); ^ SimpleMenu.c:730:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, &loc); ^ SimpleMenu.c:733:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, (XPoint *)NULL); ^ SimpleMenu.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenuAction(w, event, params, num_params) ^ SimpleMenu.c:131:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:768:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (class->sme_class.unhighlight) ( (Widget) entry); ^ SimpleMenu.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w, event, params, num_params) ^ SimpleMenu.c:131:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:793:26: warning: passing arguments to 'GetEventEntry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry = GetEventEntry(w, event); ^ SimpleMenu.c:809:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (class->sme_class.highlight) ( (Widget) entry); ^ SimpleMenu.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Highlight(w, event, params, num_params) ^ SimpleMenu.c:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:837:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(ent->sme_bsb.notifysound); ^ SimpleMenu.c:841:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (class->sme_class.notify)( (Widget) entry ); ^ SimpleMenu.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w, event, params, num_params) ^ SimpleMenu.c:131:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:854:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(smw->simple_menu.downsound); ^ SimpleMenu.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DownSound(w, event, params, num_params) ^ SimpleMenu.c:123:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ClassInitialize(), ClassPartInitialize(), DownSound(); ^ SimpleMenu.c:866:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(smw->simple_menu.upsound); ^ SimpleMenu.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpSound(w, event, params, num_params) ^ SimpleMenu.c:122:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLabel(w) ^ SimpleMenu.c:137:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MakeSetValuesRequest(), CreateLabel(), Layout(); ^ SimpleMenu.c:1061:22: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] width = GetMenuWidth((Widget) smw, (Widget) current_entry); ^ SimpleMenu.c:1071:26: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSetValuesRequest((Widget) smw, width, height); ^ SimpleMenu.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, width_ret, height_ret) ^ SimpleMenu.c:137:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MakeSetValuesRequest(), CreateLabel(), Layout(); ^ SimpleMenu.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddPositionAction(app_con, data) ^ SimpleMenu.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); ^ SimpleMenu.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindMenu(widget, name) ^ SimpleMenu.c:140:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget FindMenu(); ^ SimpleMenu.c:1171:13: warning: passing arguments to 'MoveMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveMenu(w, (Position) location->x, (Position) location->y); ^ SimpleMenu.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(w, location) ^ SimpleMenu.c:138:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); ^ SimpleMenu.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveMenu(w, x, y) ^ SimpleMenu.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MoveMenu(); ^ SimpleMenu.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeCursorOnGrab(w, junk, garbage) ^ SimpleMenu.c:138:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); ^ SimpleMenu.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSetValuesRequest(w, width, height) ^ SimpleMenu.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MakeSetValuesRequest(), CreateLabel(), Layout(); ^ SimpleMenu.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuWidth(w, w_ent) ^ SimpleMenu.c:139:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension GetMenuWidth(), GetMenuHeight(); ^ SimpleMenu.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuHeight(w) ^ SimpleMenu.c:139:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension GetMenuWidth(), GetMenuHeight(); ^ SimpleMenu.c:1392:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ SimpleMenu.c:1352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetEventEntry(w, event) ^ SimpleMenu.c:141:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static SmeObject GetEventEntry(); ^ 80 warnings generated. rm -f SimpleMenu.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic SimpleMenu.c SimpleMenu.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(wc) ^ SimpleMenu.c:123:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ClassInitialize(), ClassPartInitialize(), DownSound(); ^ SimpleMenu.c:288:18: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLabel(new); ^ SimpleMenu.c:293:37: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smw->core.width = GetMenuWidth(new, (Widget)NULL); ^ SimpleMenu.c:299:39: warning: passing arguments to 'GetMenuHeight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smw->core.height = GetMenuHeight(new); ^ SimpleMenu.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ SimpleMenu.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ClassInitialize(), ClassPartInitialize(), DownSound(); ^ SimpleMenu.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ SimpleMenu.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:425:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(smw, smw->simple_menu.pixmapfilename, ^ SimpleMenu.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, mask, attrs) ^ SimpleMenu.c:122:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ SimpleMenu.c:122:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:501:17: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLabel(new); ^ SimpleMenu.c:500:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (smw_old->simple_menu.label_string == NULL) /* Create. */ ^ SimpleMenu.c:521:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(smw_new, smw_new->simple_menu.pixmapfilename, ^ SimpleMenu.c:533:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(new, (Dimension *)NULL, (Dimension *)NULL); ^ SimpleMenu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ SimpleMenu.c:124:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), SetValuesHook(); ^ SimpleMenu.c:573:22: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSetValuesRequest(w, width, height); ^ SimpleMenu.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValuesHook(w, arglist, num_args) ^ SimpleMenu.c:124:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), SetValuesHook(); ^ SimpleMenu.c:611:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, &(reply->width), &(reply->height) ); ^ SimpleMenu.c:630:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(( Widget) smw, (Dimension *)NULL, (Dimension *)NULL); ^ SimpleMenu.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GeometryManager(w, request, reply) ^ SimpleMenu.c:125:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ SimpleMenu.c:665:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, (Dimension *)NULL, (Dimension *)NULL); ^ SimpleMenu.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeManaged(w) ^ SimpleMenu.c:122:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:706:24: warning: passing arguments to 'FindMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (menu = FindMenu(w, params[0])) == NULL) { ^ SimpleMenu.c:719:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, &loc); ^ SimpleMenu.c:725:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, &loc); ^ SimpleMenu.c:730:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, &loc); ^ SimpleMenu.c:733:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(menu, (XPoint *)NULL); ^ SimpleMenu.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenuAction(w, event, params, num_params) ^ SimpleMenu.c:131:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:768:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (class->sme_class.unhighlight) ( (Widget) entry); ^ SimpleMenu.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w, event, params, num_params) ^ SimpleMenu.c:131:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:793:26: warning: passing arguments to 'GetEventEntry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry = GetEventEntry(w, event); ^ SimpleMenu.c:809:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (class->sme_class.highlight) ( (Widget) entry); ^ SimpleMenu.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Highlight(w, event, params, num_params) ^ SimpleMenu.c:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:837:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(ent->sme_bsb.notifysound); ^ SimpleMenu.c:841:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (class->sme_class.notify)( (Widget) entry ); ^ SimpleMenu.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w, event, params, num_params) ^ SimpleMenu.c:131:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); ^ SimpleMenu.c:854:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(smw->simple_menu.downsound); ^ SimpleMenu.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DownSound(w, event, params, num_params) ^ SimpleMenu.c:123:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ClassInitialize(), ClassPartInitialize(), DownSound(); ^ SimpleMenu.c:866:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(smw->simple_menu.upsound); ^ SimpleMenu.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpSound(w, event, params, num_params) ^ SimpleMenu.c:122:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(), Resize(), ChangeManaged(), UpSound(); ^ SimpleMenu.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLabel(w) ^ SimpleMenu.c:137:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MakeSetValuesRequest(), CreateLabel(), Layout(); ^ SimpleMenu.c:1061:22: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] width = GetMenuWidth((Widget) smw, (Widget) current_entry); ^ SimpleMenu.c:1071:26: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSetValuesRequest((Widget) smw, width, height); ^ SimpleMenu.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Layout(w, width_ret, height_ret) ^ SimpleMenu.c:137:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MakeSetValuesRequest(), CreateLabel(), Layout(); ^ SimpleMenu.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddPositionAction(app_con, data) ^ SimpleMenu.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); ^ SimpleMenu.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindMenu(widget, name) ^ SimpleMenu.c:140:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget FindMenu(); ^ SimpleMenu.c:1171:13: warning: passing arguments to 'MoveMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveMenu(w, (Position) location->x, (Position) location->y); ^ SimpleMenu.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionMenu(w, location) ^ SimpleMenu.c:138:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); ^ SimpleMenu.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveMenu(w, x, y) ^ SimpleMenu.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MoveMenu(); ^ SimpleMenu.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeCursorOnGrab(w, junk, garbage) ^ SimpleMenu.c:138:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); ^ SimpleMenu.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSetValuesRequest(w, width, height) ^ SimpleMenu.c:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MakeSetValuesRequest(), CreateLabel(), Layout(); ^ SimpleMenu.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuWidth(w, w_ent) ^ SimpleMenu.c:139:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension GetMenuWidth(), GetMenuHeight(); ^ SimpleMenu.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuHeight(w) ^ SimpleMenu.c:139:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Dimension GetMenuWidth(), GetMenuHeight(); ^ SimpleMenu.c:1392:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ SimpleMenu.c:1352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetEventEntry(w, event) ^ SimpleMenu.c:141:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static SmeObject GetEventEntry(); ^ 80 warnings generated. rm -f Sme.o unshared/Sme.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Sme.c -o unshared/Sme.o Sme.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(class) ^ Sme.c:59:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ Sme.c:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Sme.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Highlight(w) ^ Sme.c:59:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w) ^ Sme.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w) ^ Sme.c:59:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, return_val) ^ Sme.c:61:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 12 warnings generated. rm -f Sme.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Sme.c Sme.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(class) ^ Sme.c:59:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ Sme.c:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Sme.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Highlight(w) ^ Sme.c:59:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unhighlight(w) ^ Sme.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Notify(w) ^ Sme.c:59:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ Sme.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, return_val) ^ Sme.c:61:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 12 warnings generated. rm -f SmeBSB.o unshared/SmeBSB.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os SmeBSB.c -o unshared/SmeBSB.o SmeBSB.c:203:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height)); ^ SmeBSB.c:204:14: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGCs(new); ^ SmeBSB.c:209:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, TRUE); /* Left Bitmap Info */ ^ SmeBSB.c:210:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, FALSE); /* Right Bitmap Info */ ^ SmeBSB.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ SmeBSB.c:98:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:225:15: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGCs(w); ^ SmeBSB.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ SmeBSB.c:98:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:345:16: warning: passing arguments to 'DrawBitmaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawBitmaps(w, gc); ^ SmeBSB.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ SmeBSB.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:382:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, TRUE); ^ SmeBSB.c:387:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, FALSE); ^ SmeBSB.c:396:12: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGCs(current); ^ SmeBSB.c:397:11: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGCs(new); ^ SmeBSB.c:407:16: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(new, ^ SmeBSB.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ SmeBSB.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ SmeBSB.c:435:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(w, &width, &height ); ^ SmeBSB.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, return_val) ^ SmeBSB.c:101:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ SmeBSB.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FlipColors(w) ^ SmeBSB.c:98:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(w, width, height) ^ SmeBSB.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); ^ SmeBSB.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawBitmaps(w, gc) ^ SmeBSB.c:107:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); ^ SmeBSB.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(w, is_left) ^ SmeBSB.c:107:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); ^ SmeBSB.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGCs(w) ^ SmeBSB.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateGCs(), DestroyGCs(); ^ SmeBSB.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGCs(w) ^ SmeBSB.c:108:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateGCs(), DestroyGCs(); ^ 34 warnings generated. rm -f SmeBSB.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic SmeBSB.c SmeBSB.c:203:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height)); ^ SmeBSB.c:204:14: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGCs(new); ^ SmeBSB.c:209:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, TRUE); /* Left Bitmap Info */ ^ SmeBSB.c:210:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, FALSE); /* Right Bitmap Info */ ^ SmeBSB.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ SmeBSB.c:98:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:225:15: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGCs(w); ^ SmeBSB.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ SmeBSB.c:98:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:345:16: warning: passing arguments to 'DrawBitmaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawBitmaps(w, gc); ^ SmeBSB.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ SmeBSB.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:382:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, TRUE); ^ SmeBSB.c:387:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(new, FALSE); ^ SmeBSB.c:396:12: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGCs(current); ^ SmeBSB.c:397:11: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGCs(new); ^ SmeBSB.c:407:16: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(new, ^ SmeBSB.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ SmeBSB.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ SmeBSB.c:435:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(w, &width, &height ); ^ SmeBSB.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, return_val) ^ SmeBSB.c:101:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ SmeBSB.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FlipColors(w) ^ SmeBSB.c:98:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(), FlipColors(); ^ SmeBSB.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultSize(w, width, height) ^ SmeBSB.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); ^ SmeBSB.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawBitmaps(w, gc) ^ SmeBSB.c:107:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); ^ SmeBSB.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBitmapInfo(w, is_left) ^ SmeBSB.c:107:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); ^ SmeBSB.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGCs(w) ^ SmeBSB.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateGCs(), DestroyGCs(); ^ SmeBSB.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGCs(w) ^ SmeBSB.c:108:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateGCs(), DestroyGCs(); ^ 34 warnings generated. rm -f SmeLine.o unshared/SmeLine.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os SmeLine.c -o unshared/SmeLine.o SmeLine.c:147:13: warning: passing arguments to 'CreateGC' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGC(new); ^ SmeLine.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ SmeLine.c:64:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Initialize(); ^ SmeLine.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGC(w) ^ SmeLine.c:65:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DestroyGC(), CreateGC(); ^ SmeLine.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGC(w) ^ SmeLine.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DestroyGC(), CreateGC(); ^ SmeLine.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ SmeLine.c:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Initialize(); ^ SmeLine.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ SmeLine.c:66:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ SmeLine.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, return_val) ^ SmeLine.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 13 warnings generated. rm -f SmeLine.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic SmeLine.c SmeLine.c:147:13: warning: passing arguments to 'CreateGC' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGC(new); ^ SmeLine.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ SmeLine.c:64:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Initialize(); ^ SmeLine.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGC(w) ^ SmeLine.c:65:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DestroyGC(), CreateGC(); ^ SmeLine.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGC(w) ^ SmeLine.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DestroyGC(), CreateGC(); ^ SmeLine.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ SmeLine.c:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Initialize(); ^ SmeLine.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ SmeLine.c:66:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ SmeLine.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, return_val) ^ SmeLine.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 13 warnings generated. rm -f SmeThreeD.o unshared/SmeThreeD.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os SmeThreeD.c -o unshared/SmeThreeD.o SmeThreeD.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowGC (w) ^ SmeThreeD.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowGC (w) ^ SmeThreeD.c:187:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocEraseGC (w) ^ SmeThreeD.c:201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixmap (new) ^ SmeThreeD.c:253:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixmap (new) ^ SmeThreeD.c:299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XawSme3dComputeTopShadowRGB (new, xcol_out) ^ SmeThreeD.c:333:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixel (new) ^ SmeThreeD.c:349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XawSme3dComputeBottomShadowRGB (new, xcol_out) ^ SmeThreeD.c:381:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixel (new) ^ SmeThreeD.c:397:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize (wc) ^ SmeThreeD.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), _XawSme3dDrawShadows(); ^ SmeThreeD.c:409:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (request, new, args, num_args) ^ SmeThreeD.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ SmeThreeD.c:432:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ SmeThreeD.c:76:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ SmeThreeD.c:446:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) ^ SmeThreeD.c:78:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ SmeThreeD.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawSme3dDrawShadows (gw) ^ SmeThreeD.c:77:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), _XawSme3dDrawShadows(); ^ 19 warnings generated. rm -f SmeThreeD.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic SmeThreeD.c SmeThreeD.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowGC (w) ^ SmeThreeD.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowGC (w) ^ SmeThreeD.c:187:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocEraseGC (w) ^ SmeThreeD.c:201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixmap (new) ^ SmeThreeD.c:253:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixmap (new) ^ SmeThreeD.c:299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XawSme3dComputeTopShadowRGB (new, xcol_out) ^ SmeThreeD.c:333:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixel (new) ^ SmeThreeD.c:349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XawSme3dComputeBottomShadowRGB (new, xcol_out) ^ SmeThreeD.c:381:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixel (new) ^ SmeThreeD.c:397:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize (wc) ^ SmeThreeD.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), _XawSme3dDrawShadows(); ^ SmeThreeD.c:409:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (request, new, args, num_args) ^ SmeThreeD.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ SmeThreeD.c:432:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ SmeThreeD.c:76:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ SmeThreeD.c:446:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) ^ SmeThreeD.c:78:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ SmeThreeD.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawSme3dDrawShadows (gw) ^ SmeThreeD.c:77:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), _XawSme3dDrawShadows(); ^ 19 warnings generated. rm -f StripChart.o unshared/StripChart.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os StripChart.c -o unshared/StripChart.o StripChart.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGC(w, which) ^ StripChart.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGC(w, which) ^ StripChart.c:209:14: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPoints((Widget)w); ^ StripChart.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (greq, gnew, args, num_args) ^ StripChart.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ StripChart.c:85:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:238:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) (gw, event, region, FALSE); ^ StripChart.c:241:24: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) repaint_window (gw, (Dimension) event->xgraphicsexpose.x, ^ StripChart.c:244:24: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) repaint_window (gw, (Dimension) event->xexpose.x, ^ StripChart.c:231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay(gw, event, region) ^ StripChart.c:85:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:266:17: warning: passing arguments to 'MoveChart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveChart( (StripChartWidget) w, TRUE); ^ StripChart.c:285:45: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w->strip_chart.interval = repaint_window((Widget)w, 0, w->core.width); ^ StripChart.c:286:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) ((Widget) w, ^ StripChart.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_it(client_data, id) ^ StripChart.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void draw_it(); ^ StripChart.c:354:16: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPoints(gw); ^ StripChart.c:358:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) (gw, (XEvent *)0, (Region)0, FALSE); ^ StripChart.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] repaint_window(gw, left, width) ^ StripChart.c:87:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int repaint_window(); ^ StripChart.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveChart(w, blit) ^ StripChart.c:85:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:481:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (current, request, new, args, num_args) ^ StripChart.c:86:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ StripChart.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPoints(widget) ^ StripChart.c:85:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ 27 warnings generated. rm -f StripChart.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic StripChart.c StripChart.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGC(w, which) ^ StripChart.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGC(w, which) ^ StripChart.c:209:14: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPoints((Widget)w); ^ StripChart.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (greq, gnew, args, num_args) ^ StripChart.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ StripChart.c:85:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:238:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) (gw, event, region, FALSE); ^ StripChart.c:241:24: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) repaint_window (gw, (Dimension) event->xgraphicsexpose.x, ^ StripChart.c:244:24: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) repaint_window (gw, (Dimension) event->xexpose.x, ^ StripChart.c:231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay(gw, event, region) ^ StripChart.c:85:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:266:17: warning: passing arguments to 'MoveChart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveChart( (StripChartWidget) w, TRUE); ^ StripChart.c:285:45: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w->strip_chart.interval = repaint_window((Widget)w, 0, w->core.width); ^ StripChart.c:286:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) ((Widget) w, ^ StripChart.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_it(client_data, id) ^ StripChart.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void draw_it(); ^ StripChart.c:354:16: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPoints(gw); ^ StripChart.c:358:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*swclass->threeD_class.shadowdraw) (gw, (XEvent *)0, (Region)0, FALSE); ^ StripChart.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] repaint_window(gw, left, width) ^ StripChart.c:87:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int repaint_window(); ^ StripChart.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveChart(w, blit) ^ StripChart.c:85:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ StripChart.c:481:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (current, request, new, args, num_args) ^ StripChart.c:86:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ StripChart.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPoints(widget) ^ StripChart.c:85:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ 27 warnings generated. rm -f Text.o unshared/Text.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Text.c -o unshared/Text.o Text.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToScrollMode(args, num_args, fromVal, toVal) ^ Text.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToWrapMode(args, num_args, fromVal, toVal) ^ Text.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToResizeMode(args, num_args, fromVal, toVal) ^ Text.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionHScrollBar(ctx) ^ Text.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionVScrollBar(ctx) ^ Text.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateVScrollBar(ctx) ^ Text.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyVScrollBar(ctx) ^ Text.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateHScrollBar(ctx) ^ Text.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyHScrollBar(ctx) ^ Text.c:531:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ctx->text.scroll_vert == XawtextScrollAlways) ^ Text.c:542:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ( (ctx->text.resize == XawtextResizeWidth) || ^ Text.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ Text.c:577:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ Text.c:578:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx); ^ Text.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize( w, valueMask, attributes ) ^ Text.c:582:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnrealizeScrollbars(widget, client, call) ^ Text.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UnrealizeScrollbars(); ^ Text.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _CreateCutBuffers(d) ^ Text.c:648:28: warning: passing arguments to 'LineAndXYForPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( LineAndXYForPosition(ctx, ctx->text.insertPos, &line, &x, &y) ) { ^ Text.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor (w, state) ^ Text.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextNeedsUpdating(ctx, left, right) ^ Text.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextGetText(ctx, left, right) ^ Text.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextGetSTRING(ctx, left, right) ^ Text.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionForXY (ctx, x, y) ^ Text.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineForPosition (ctx, position) ^ Text.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineAndXYForPosition (ctx, pos, line, x, y) ^ Text.c:113:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean LineAndXYForPosition(), TranslateExposeRegion(); ^ Text.c:916:27: warning: passing arguments to '_BuildLineTable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) _BuildLineTable(ctx, ctx->text.lt.top = position, zeroPosition, 0); ^ Text.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _BuildLineTable(ctx, position, min_pos, line) ^ Text.c:114:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition FindGoodPosition(), _BuildLineTable(); ^ Text.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWidestLine(ctx) ^ Text.c:1074:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ctx->text.scroll_vert == XawtextScrollAlways) ^ Text.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckVBarScrolling(ctx) ^ Text.c:1105:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Text.c:1126:16: warning: passing arguments to 'FlushUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FlushUpdate(ctx); ^ Text.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx) ^ Text.c:117:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); ^ Text.c:1145:7: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (abs(n) > ctx->text.lt.lines) ^ Text.c:1145:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' Text.c:1160:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow( (Widget) ctx); ^ Text.c:1196:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow((Widget)ctx); ^ Text.c:1170:18: warning: variable 'height' set but not used [-Wunused-but-set-variable] unsigned int height, clear_height; ^ Text.c:1170:26: warning: variable 'clear_height' set but not used [-Wunused-but-set-variable] unsigned int height, clear_height; ^ Text.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, n) ^ Text.c:1210:41: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] Position old_left, pixels = (Position)(int) callData; ^~~~~~~~~~~~~~ Text.c:1213:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1253:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInRectangle(ctx, &t_rect); ^ Text.c:1264:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInRectangle(ctx, &rect); ^ Text.c:1266:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HScroll(w, closure, callData) ^ Text.c:109:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1286:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(move) < (int)ctx->core.width) { ^ Text.c:1286:7: note: use function 'labs' instead if (abs(move) < (int)ctx->core.width) { ^~~ labs Text.c:1286:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'labs' Text.c:1290:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1292:52: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (XtIsRealized((Widget) ctx)) DisplayTextWindow((Widget) ctx); ^ Text.c:1293:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HJump(w, closure, callData) ^ Text.c:109:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInLine(ctx, line, left, right) ^ Text.c:111:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); ^ Text.c:1361:23: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int height, lines = (int) callData; ^~~~~~~~~~~~~~ Text.c:1368:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1382:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VScroll(w, closure, callData) ^ Text.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1408:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1435:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow( (Widget) ctx); ^ Text.c:1437:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VJump(w, closure, callData) ^ Text.c:109:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchSelection(selection, s) ^ Text.c:1619:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); ^ Text.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(w, selection, target, type, value, length, format) ^ Text.c:1645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCutBufferNumber(atom) ^ Text.c:1669:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1695:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, ctx->text.insertPos, ctx->text.insertPos); ^ Text.c:1698:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoseSelection(w, selection) ^ Text.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSaltAwaySelection (ctx, selections, num_atoms) ^ Text.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetSelection(ctx, left, right, selections, count) ^ Text.c:1943:16: warning: passing arguments to 'ClearWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearWindow( (Widget) ctx); ^ Text.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextReplace (ctx, pos1, pos2, text) ^ Text.c:2010:26: warning: passing arguments to 'FindGoodPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pos2 = FindGoodPosition(ctx, pos2); ^ Text.c:1999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, pos1, pos2) ^ Text.c:2107:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && ^ Text.c:2107:11: note: use function 'labs' instead if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && ^~~ labs Text.c:2107:11: note: include the header <stdlib.h> or explicitly provide a declaration for 'labs' Text.c:2184:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, newLeft, newRight); ^ Text.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSelection (ctx, pos, time, motion) ^ Text.c:2239:22: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, ctx->text.origSel.left, ctx->text.origSel.right); ^ Text.c:2290:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, ctx->text.s.left, pos); ^ Text.c:2292:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, pos, ctx->text.s.right); ^ Text.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendSelection (ctx, pos, motion) ^ Text.c:2302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearWindow (w) ^ Text.c:109:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:2328:20: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow( (Widget) ctx); ^ Text.c:2321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextClearAndCenterDisplay(ctx) ^ Text.c:2337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow (w) ^ Text.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); ^ Text.c:2354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx) ^ Text.c:2410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSelectionList(ctx, list, nelems) ^ Text.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetSelection(ctx, l, r, list, nelems) ^ Text.c:2472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, left, right) ^ Text.c:110:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); ^ Text.c:2488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextAlterSelection (ctx, mode, action, params, num_params) ^ Text.c:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextAlterSelection(), _XawTextExecuteUpdate(); ^ Text.c:2527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RectanglesOverlap(rect1, rect2) ^ Text.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInRectangle(ctx, rect) ^ Text.c:111:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); ^ Text.c:2588:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopCopyQueue(ctx); ^ Text.c:2592:41: warning: passing arguments to 'TranslateExposeRegion' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] need_to_draw = TranslateExposeRegion(ctx, &expose); ^ Text.c:2594:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopCopyQueue(ctx); ^ Text.c:2599:28: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:2607:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessExposeRegion(w, event, region) ^ Text.c:2615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx) ^ Text.c:117:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); ^ Text.c:2633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FlushUpdate(ctx) ^ Text.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FlushUpdate(); ^ Text.c:2676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextShowPosition(ctx) ^ Text.c:2769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx) ^ Text.c:116:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextAlterSelection(), _XawTextExecuteUpdate(); ^ Text.c:2784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextDestroy(w) ^ Text.c:2807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ Text.c:2825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ Text.c:2909:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(&simpleClassRec)->simple_class.change_sensitive)(w); ^ Text.c:2903:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ChangeSensitive(w) ^ Text.c:2930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ Text.c:2946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindGoodPosition(ctx, pos) ^ Text.c:114:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition FindGoodPosition(), _BuildLineTable(); ^ Text.c:2968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushCopyQueue(ctx, h, v) ^ Text.c:110:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); ^ Text.c:2994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopCopyQueue(ctx) ^ Text.c:111:58: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); ^ Text.c:3020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateExposeRegion(ctx, expose) ^ Text.c:113:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean LineAndXYForPosition(), TranslateExposeRegion(); ^ Text.c:2968:1: warning: unused function 'PushCopyQueue' [-Wunused-function] PushCopyQueue(ctx, h, v) ^ 133 warnings generated. rm -f Text.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Text.c Text.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToScrollMode(args, num_args, fromVal, toVal) ^ Text.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToWrapMode(args, num_args, fromVal, toVal) ^ Text.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToResizeMode(args, num_args, fromVal, toVal) ^ Text.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionHScrollBar(ctx) ^ Text.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionVScrollBar(ctx) ^ Text.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateVScrollBar(ctx) ^ Text.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyVScrollBar(ctx) ^ Text.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateHScrollBar(ctx) ^ Text.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyHScrollBar(ctx) ^ Text.c:531:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ctx->text.scroll_vert == XawtextScrollAlways) ^ Text.c:542:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ( (ctx->text.resize == XawtextResizeWidth) || ^ Text.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ Text.c:577:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ Text.c:578:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx); ^ Text.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize( w, valueMask, attributes ) ^ Text.c:582:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnrealizeScrollbars(widget, client, call) ^ Text.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UnrealizeScrollbars(); ^ Text.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _CreateCutBuffers(d) ^ Text.c:648:28: warning: passing arguments to 'LineAndXYForPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( LineAndXYForPosition(ctx, ctx->text.insertPos, &line, &x, &y) ) { ^ Text.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor (w, state) ^ Text.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextNeedsUpdating(ctx, left, right) ^ Text.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextGetText(ctx, left, right) ^ Text.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextGetSTRING(ctx, left, right) ^ Text.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionForXY (ctx, x, y) ^ Text.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineForPosition (ctx, position) ^ Text.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineAndXYForPosition (ctx, pos, line, x, y) ^ Text.c:113:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean LineAndXYForPosition(), TranslateExposeRegion(); ^ Text.c:916:27: warning: passing arguments to '_BuildLineTable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) _BuildLineTable(ctx, ctx->text.lt.top = position, zeroPosition, 0); ^ Text.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _BuildLineTable(ctx, position, min_pos, line) ^ Text.c:114:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition FindGoodPosition(), _BuildLineTable(); ^ Text.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWidestLine(ctx) ^ Text.c:1074:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ctx->text.scroll_vert == XawtextScrollAlways) ^ Text.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckVBarScrolling(ctx) ^ Text.c:1105:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Text.c:1126:16: warning: passing arguments to 'FlushUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FlushUpdate(ctx); ^ Text.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx) ^ Text.c:117:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); ^ Text.c:1145:7: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (abs(n) > ctx->text.lt.lines) ^ Text.c:1145:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' Text.c:1160:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow( (Widget) ctx); ^ Text.c:1196:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow((Widget)ctx); ^ Text.c:1170:18: warning: variable 'height' set but not used [-Wunused-but-set-variable] unsigned int height, clear_height; ^ Text.c:1170:26: warning: variable 'clear_height' set but not used [-Wunused-but-set-variable] unsigned int height, clear_height; ^ Text.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, n) ^ Text.c:1210:41: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] Position old_left, pixels = (Position)(int) callData; ^~~~~~~~~~~~~~ Text.c:1213:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1253:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInRectangle(ctx, &t_rect); ^ Text.c:1264:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInRectangle(ctx, &rect); ^ Text.c:1266:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HScroll(w, closure, callData) ^ Text.c:109:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1286:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(move) < (int)ctx->core.width) { ^ Text.c:1286:7: note: use function 'labs' instead if (abs(move) < (int)ctx->core.width) { ^~~ labs Text.c:1286:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'labs' Text.c:1290:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1292:52: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (XtIsRealized((Widget) ctx)) DisplayTextWindow((Widget) ctx); ^ Text.c:1293:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HJump(w, closure, callData) ^ Text.c:109:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInLine(ctx, line, left, right) ^ Text.c:111:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); ^ Text.c:1361:23: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int height, lines = (int) callData; ^~~~~~~~~~~~~~ Text.c:1368:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1382:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VScroll(w, closure, callData) ^ Text.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1408:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1435:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow( (Widget) ctx); ^ Text.c:1437:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VJump(w, closure, callData) ^ Text.c:109:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchSelection(selection, s) ^ Text.c:1619:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); ^ Text.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(w, selection, target, type, value, length, format) ^ Text.c:1645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCutBufferNumber(atom) ^ Text.c:1669:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:1695:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, ctx->text.insertPos, ctx->text.insertPos); ^ Text.c:1698:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoseSelection(w, selection) ^ Text.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSaltAwaySelection (ctx, selections, num_atoms) ^ Text.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetSelection(ctx, left, right, selections, count) ^ Text.c:1943:16: warning: passing arguments to 'ClearWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearWindow( (Widget) ctx); ^ Text.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextReplace (ctx, pos1, pos2, text) ^ Text.c:2010:26: warning: passing arguments to 'FindGoodPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pos2 = FindGoodPosition(ctx, pos2); ^ Text.c:1999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, pos1, pos2) ^ Text.c:2107:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && ^ Text.c:2107:11: note: use function 'labs' instead if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && ^~~ labs Text.c:2107:11: note: include the header <stdlib.h> or explicitly provide a declaration for 'labs' Text.c:2184:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, newLeft, newRight); ^ Text.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSelection (ctx, pos, time, motion) ^ Text.c:2239:22: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, ctx->text.origSel.left, ctx->text.origSel.right); ^ Text.c:2290:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, ctx->text.s.left, pos); ^ Text.c:2292:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, pos, ctx->text.s.right); ^ Text.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendSelection (ctx, pos, motion) ^ Text.c:2302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearWindow (w) ^ Text.c:109:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); ^ Text.c:2328:20: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow( (Widget) ctx); ^ Text.c:2321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextClearAndCenterDisplay(ctx) ^ Text.c:2337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayTextWindow (w) ^ Text.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); ^ Text.c:2354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx) ^ Text.c:2410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSelectionList(ctx, list, nelems) ^ Text.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetSelection(ctx, l, r, list, nelems) ^ Text.c:2472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, left, right) ^ Text.c:110:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); ^ Text.c:2488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextAlterSelection (ctx, mode, action, params, num_params) ^ Text.c:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextAlterSelection(), _XawTextExecuteUpdate(); ^ Text.c:2527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RectanglesOverlap(rect1, rect2) ^ Text.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTextInRectangle(ctx, rect) ^ Text.c:111:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); ^ Text.c:2588:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopCopyQueue(ctx); ^ Text.c:2592:41: warning: passing arguments to 'TranslateExposeRegion' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] need_to_draw = TranslateExposeRegion(ctx, &expose); ^ Text.c:2594:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopCopyQueue(ctx); ^ Text.c:2599:28: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ Text.c:2607:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ Text.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessExposeRegion(w, event, region) ^ Text.c:2615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx) ^ Text.c:117:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); ^ Text.c:2633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FlushUpdate(ctx) ^ Text.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FlushUpdate(); ^ Text.c:2676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextShowPosition(ctx) ^ Text.c:2769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx) ^ Text.c:116:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void _XawTextAlterSelection(), _XawTextExecuteUpdate(); ^ Text.c:2784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextDestroy(w) ^ Text.c:2807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ Text.c:2825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ Text.c:2909:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(&simpleClassRec)->simple_class.change_sensitive)(w); ^ Text.c:2903:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ChangeSensitive(w) ^ Text.c:2930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetValuesHook(w, args, num_args) ^ Text.c:2946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindGoodPosition(ctx, pos) ^ Text.c:114:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition FindGoodPosition(), _BuildLineTable(); ^ Text.c:2968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushCopyQueue(ctx, h, v) ^ Text.c:110:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); ^ Text.c:2994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopCopyQueue(ctx) ^ Text.c:111:58: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); ^ Text.c:3020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateExposeRegion(ctx, expose) ^ Text.c:113:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean LineAndXYForPosition(), TranslateExposeRegion(); ^ Text.c:2968:1: warning: unused function 'PushCopyQueue' [-Wunused-function] PushCopyQueue(ctx, h, v) ^ 133 warnings generated. rm -f TextSink.o unshared/TextSink.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os TextSink.c -o unshared/TextSink.o TextSink.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(wc) ^ TextSink.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ TextSink.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ TextSink.c:54:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ TextSink.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ TextSink.c:54:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ TextSink.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ TextSink.c:55:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ TextSink.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ TextSink.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor(w, x, y, state) ^ TextSink.c:58:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearToBackground (w, x, y, width, height) ^ TextSink.c:58:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPosition(w, fromPos, fromx, width, stopAtWordBreak, ^ TextSink.c:58:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) ^ TextSink.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, resPos) ^ TextSink.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxLines(w, height) ^ TextSink.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxHeight(), MaxLines(); ^ TextSink.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxHeight(w, lines) ^ TextSink.c:57:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxHeight(), MaxLines(); ^ TextSink.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTabs(w, tab_count, tabs) ^ TextSink.c:59:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, rect) ^ TextSink.c:59:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:508:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.DisplayText)(w, x, y, pos1, pos2, highlight); ^ TextSink.c:540:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.InsertCursor)(w, x, y, state); ^ TextSink.c:574:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.ClearToBackground)(w, x, y, width, height); ^ TextSink.c:614:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.FindPosition)(w, fromPos, fromx, width, ^ TextSink.c:646:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.FindDistance)(w, fromPos, fromx, toPos, ^ TextSink.c:675:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.Resolve)(w, pos, fromx, width, resPos); ^ TextSink.c:703:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->text_sink_class.MaxLines)(w, height)); ^ TextSink.c:726:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->text_sink_class.MaxHeight)(w, lines)); ^ TextSink.c:754:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.SetTabs)(w, tab_count, char_tabs); ^ TextSink.c:778:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.GetCursorBounds)(w, rect); ^ 38 warnings generated. rm -f TextSink.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic TextSink.c TextSink.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(wc) ^ TextSink.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ TextSink.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(request, new, args, num_args) ^ TextSink.c:54:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ TextSink.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ TextSink.c:54:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ TextSink.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ TextSink.c:55:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ TextSink.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ TextSink.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertCursor(w, x, y, state) ^ TextSink.c:58:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearToBackground (w, x, y, width, height) ^ TextSink.c:58:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindPosition(w, fromPos, fromx, width, stopAtWordBreak, ^ TextSink.c:58:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); ^ TextSink.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) ^ TextSink.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, resPos) ^ TextSink.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxLines(w, height) ^ TextSink.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxHeight(), MaxLines(); ^ TextSink.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaxHeight(w, lines) ^ TextSink.c:57:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxHeight(), MaxLines(); ^ TextSink.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTabs(w, tab_count, tabs) ^ TextSink.c:59:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCursorBounds(w, rect) ^ TextSink.c:59:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); ^ TextSink.c:508:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.DisplayText)(w, x, y, pos1, pos2, highlight); ^ TextSink.c:540:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.InsertCursor)(w, x, y, state); ^ TextSink.c:574:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.ClearToBackground)(w, x, y, width, height); ^ TextSink.c:614:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.FindPosition)(w, fromPos, fromx, width, ^ TextSink.c:646:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.FindDistance)(w, fromPos, fromx, toPos, ^ TextSink.c:675:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.Resolve)(w, pos, fromx, width, resPos); ^ TextSink.c:703:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->text_sink_class.MaxLines)(w, height)); ^ TextSink.c:726:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->text_sink_class.MaxHeight)(w, lines)); ^ TextSink.c:754:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.SetTabs)(w, tab_count, char_tabs); ^ TextSink.c:778:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.GetCursorBounds)(w, rect); ^ 38 warnings generated. rm -f TextSrc.o unshared/TextSrc.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os TextSrc.c -o unshared/TextSrc.o TextSrc.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(wc) ^ TextSrc.c:64:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), SetSelection(); ^ TextSrc.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Read(w, pos, text, length) ^ TextSrc.c:67:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Search(), Scan(), Read(); ^ TextSrc.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace (w, startPos, endPos, text) ^ TextSrc.c:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int Replace(); ^ TextSrc.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scan (w, position, type, dir, count, include) ^ TextSrc.c:67:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Search(), Scan(), Read(); ^ TextSrc.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(w, position, dir, text) ^ TextSrc.c:67:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Search(), Scan(), Read(); ^ TextSrc.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(w, selection, target, type, value, length, format) ^ TextSrc.c:66:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ConvertSelection(); ^ TextSrc.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSelection(w, left, right, selection) ^ TextSrc.c:64:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), SetSelection(); ^ TextSrc.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToEditMode(args, num_args, fromVal, toVal) ^ TextSrc.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CvtStringToEditMode(); ^ TextSrc.c:376:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Read)(w, pos, text, length)); ^ TextSrc.c:406:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Replace)(w, startPos, endPos, text)); ^ TextSrc.c:454:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Scan)(w, position, type, dir, count, include)); ^ TextSrc.c:491:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Search)(w, position, dir, text)); ^ TextSrc.c:528:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.ConvertSelection)(w, selection, target, type, ^ TextSrc.c:558:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->textSrc_class.SetSelection)(w, left, right, selection); ^ TextSrc.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextWCToMB( d, wstr, len_in_out ) ^ TextSrc.c:625:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar_t* _XawTextMBToWC( d, str, len_in_out ) ^ 24 warnings generated. rm -f TextSrc.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic TextSrc.c TextSrc.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClassPartInitialize(wc) ^ TextSrc.c:64:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), SetSelection(); ^ TextSrc.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Read(w, pos, text, length) ^ TextSrc.c:67:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Search(), Scan(), Read(); ^ TextSrc.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace (w, startPos, endPos, text) ^ TextSrc.c:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int Replace(); ^ TextSrc.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scan (w, position, type, dir, count, include) ^ TextSrc.c:67:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Search(), Scan(), Read(); ^ TextSrc.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(w, position, dir, text) ^ TextSrc.c:67:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XawTextPosition Search(), Scan(), Read(); ^ TextSrc.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(w, selection, target, type, value, length, format) ^ TextSrc.c:66:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ConvertSelection(); ^ TextSrc.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSelection(w, left, right, selection) ^ TextSrc.c:64:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), ClassPartInitialize(), SetSelection(); ^ TextSrc.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CvtStringToEditMode(args, num_args, fromVal, toVal) ^ TextSrc.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CvtStringToEditMode(); ^ TextSrc.c:376:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Read)(w, pos, text, length)); ^ TextSrc.c:406:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Replace)(w, startPos, endPos, text)); ^ TextSrc.c:454:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Scan)(w, position, type, dir, count, include)); ^ TextSrc.c:491:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.Search)(w, position, dir, text)); ^ TextSrc.c:528:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return((*class->textSrc_class.ConvertSelection)(w, selection, target, type, ^ TextSrc.c:558:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->textSrc_class.SetSelection)(w, left, right, selection); ^ TextSrc.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextWCToMB( d, wstr, len_in_out ) ^ TextSrc.c:625:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar_t* _XawTextMBToWC( d, str, len_in_out ) ^ 24 warnings generated. rm -f TextAction.o unshared/TextAction.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os TextAction.c -o unshared/TextAction.o TextAction.c:70:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ParameterError(w, param) ^ TextAction.c:91:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ TextAction.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartAction(ctx, event) ^ TextAction.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NotePosition(ctx, event) ^ TextAction.c:147:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx); ^ TextAction.c:148:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ TextAction.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EndAction(ctx) ^ TextAction.c:161:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ProbablyMB(s) ^ TextAction.c:207:14: warning: passing arguments to 'GetSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelection(w, list->time, list->params, list->count); ^ TextAction.c:271:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { ^ TextAction.c:278:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SelectionReceived(w, client_data, selection, type, value, length, format) ^ TextAction.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelection(w, time, params, num_params) ^ TextAction.c:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetSelection(); ^ TextAction.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertSelection(w, event, params, num_params) ^ TextAction.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Move(ctx, event, dir, type, include) ^ TextAction.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveForwardChar(w, event, p, n) ^ TextAction.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveBackwardChar(w, event, p, n) ^ TextAction.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveForwardWord(w, event, p, n) ^ TextAction.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveBackwardWord(w, event, p, n) ^ TextAction.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveForwardParagraph(w, event, p, n) ^ TextAction.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveBackwardParagraph(w, event, p, n) ^ TextAction.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveToLineEnd(w, event, p, n) ^ TextAction.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveToLineStart(w, event, p, n) ^ TextAction.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveLine(ctx, event, dir) ^ TextAction.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveNextLine(w, event, p, n) ^ TextAction.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePreviousLine(w, event, p, n) ^ TextAction.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveBeginningOfFile(w, event, p, n) ^ TextAction.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveEndOfFile(w, event, p, n) ^ TextAction.c:542:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, ctx->text.mult); ^ TextAction.c:544:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, -ctx->text.mult); ^ TextAction.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scroll(ctx, event, dir) ^ TextAction.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollOneLineUp(w, event, p, n) ^ TextAction.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollOneLineDown(w, event, p, n) ^ TextAction.c:583:18: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, scroll_val); ^ TextAction.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePage(ctx, event, dir) ^ TextAction.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveNextPage(w, event, p, n) ^ TextAction.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePreviousPage(w, event, p, n) ^ TextAction.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchSelection(selection, s) ^ TextAction.c:792:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); ^ TextAction.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(w, selection, target, type, value, length, format) ^ TextAction.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoseSelection(w, selection) ^ TextAction.c:920:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, from, to, &text)) { ^ TextAction.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DeleteOrKill(ctx, from, to, kill) ^ TextAction.c:960:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteOrKill(ctx, event, dir, type, include, kill) ^ TextAction.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteForwardChar(w, event, p, n) ^ TextAction.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteBackwardChar(w, event, p, n) ^ TextAction.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteForwardWord(w, event, p, n) ^ TextAction.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteBackwardWord(w, event, p, n) ^ TextAction.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillForwardWord(w, event, p, n) ^ TextAction.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillBackwardWord(w, event, p, n) ^ TextAction.c:1053:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillToEndOfLine(w, event, p, n) ^ TextAction.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillToEndOfParagraph(w, event, p, n) ^ TextAction.c:1076:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextZapSelection(ctx, event, kill) ^ TextAction.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillCurrentSelection(w, event, p, n) ^ TextAction.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteCurrentSelection(w, event, p, n) ^ TextAction.c:1132:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { ^ TextAction.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLineAndBackupInternal(ctx) ^ TextAction.c:1153:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars( (TextWidget) w); ^ TextAction.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLineAndBackup(w, event, p, n) ^ TextAction.c:1167:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocalInsertNewLine(ctx, event) ^ TextAction.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLine(w, event, p, n) ^ TextAction.c:1201:31: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line_to_ip = _XawTextGetText(ctx, pos1, ctx->text.insertPos); ^ TextAction.c:1236:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx,ctx->text.insertPos, ctx->text.insertPos, &text)) { ^ TextAction.c:1245:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLineAndIndent(w, event, p, n) ^ TextAction.c:1269:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetSelection(ctx, l, r, params, *num_params); ^ TextAction.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectWord(w, event, params, num_params) ^ TextAction.c:1283:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetSelection(ctx,zeroPosition,ctx->text.lastPos,params,*num_params); ^ TextAction.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectAll(w, event, params, num_params) ^ TextAction.c:1298:25: warning: passing arguments to '_XawTextAlterSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextAlterSelection(ctx, mode, action, params, num_params); ^ TextAction.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, event, mode, action, params, num_params) ^ TextAction.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectStart(w, event, params, num_params) ^ TextAction.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectAdjust(w, event, params, num_params) ^ TextAction.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectEnd(w, event, params, num_params) ^ TextAction.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendStart(w, event, params, num_params) ^ TextAction.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendAdjust(w, event, params, num_params) ^ TextAction.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendEnd(w, event, params, num_params) ^ TextAction.c:1373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSave(w, event, params, num_params) ^ TextAction.c:1410:32: warning: passing arguments to '_XawTextClearAndCenterDisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextClearAndCenterDisplay((TextWidget) w); ^ TextAction.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RedrawDisplay(w, event, p, n) ^ TextAction.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextFocusIn (w, event, p, n) ^ TextAction.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextFocusOut(w, event, p, n) ^ TextAction.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextEnterWindow( w, event, params, num_params ) ^ TextAction.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextLeaveWindow( w, event, params, num_params ) ^ TextAction.c:1524:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, ret_pos - 1, ret_pos, &text)) ^ TextAction.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AutoFill(ctx) ^ TextAction.c:1572:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = _XawTextReplace(ctx, ctx->text.insertPos,ctx->text.insertPos, &text); ^ TextAction.c:1583:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChar(w, event, p, n) ^ TextAction.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IfHexConvertHexElseReturnParam(param, len_return) ^ TextAction.c:1732:27: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( _XawTextReplace( ctx, ctx->text.insertPos, ^ TextAction.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertString(w, event, params, num_params) ^ TextAction.c:1759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayCaret(w, event, params, num_params) ^ TextAction.c:1824:21: warning: passing arguments to 'atoi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( ( mult = atoi( params[0] ) ) == 0 ) { ^ TextAction.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Multiply(w, event, params, num_params) ^ TextAction.c:1899:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = _XawTextGetText(ctx, periodPos, next_word); ^ TextAction.c:1925:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, endPos, startPos, &text) != XawEditDone) ^ TextAction.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StripOutOldCRs(ctx, from, to) ^ TextAction.c:1979:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = _XawTextGetText(ctx, eol, space); ^ TextAction.c:1993:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, startPos, endPos, &text)) ^ TextAction.c:1939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewCRs(ctx, from, to) ^ TextAction.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FormRegion(ctx, from, to) ^ TextAction.c:2053:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars( ctx ); ^ TextAction.c:2035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FormParagraph(w, event, params, num_params) ^ TextAction.c:2105:40: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wbuf = (wchar_t*) _XawTextGetText(ctx, start, end); ^ TextAction.c:2115:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = _XawTextGetText( ctx, start, end ); ^ TextAction.c:2127:23: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace (ctx, start, end, &text)) /* Unable to edit, complain. */ ^ TextAction.c:2065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TransposeCharacters(w, event, params, num_params) ^ TextAction.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoOp(w, event, params, num_params) ^ TextAction.c:2170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reconnect( w, event, params, num_params ) ^ 115 warnings generated. rm -f TextAction.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic TextAction.c TextAction.c:70:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ParameterError(w, param) ^ TextAction.c:91:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPrepareToUpdate(ctx); ^ TextAction.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartAction(ctx, event) ^ TextAction.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NotePosition(ctx, event) ^ TextAction.c:147:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx); ^ TextAction.c:148:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextExecuteUpdate(ctx); ^ TextAction.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EndAction(ctx) ^ TextAction.c:161:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ProbablyMB(s) ^ TextAction.c:207:14: warning: passing arguments to 'GetSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelection(w, list->time, list->params, list->count); ^ TextAction.c:271:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { ^ TextAction.c:278:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SelectionReceived(w, client_data, selection, type, value, length, format) ^ TextAction.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelection(w, time, params, num_params) ^ TextAction.c:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetSelection(); ^ TextAction.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertSelection(w, event, params, num_params) ^ TextAction.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Move(ctx, event, dir, type, include) ^ TextAction.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveForwardChar(w, event, p, n) ^ TextAction.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveBackwardChar(w, event, p, n) ^ TextAction.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveForwardWord(w, event, p, n) ^ TextAction.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveBackwardWord(w, event, p, n) ^ TextAction.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveForwardParagraph(w, event, p, n) ^ TextAction.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveBackwardParagraph(w, event, p, n) ^ TextAction.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveToLineEnd(w, event, p, n) ^ TextAction.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveToLineStart(w, event, p, n) ^ TextAction.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveLine(ctx, event, dir) ^ TextAction.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveNextLine(w, event, p, n) ^ TextAction.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePreviousLine(w, event, p, n) ^ TextAction.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveBeginningOfFile(w, event, p, n) ^ TextAction.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveEndOfFile(w, event, p, n) ^ TextAction.c:542:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, ctx->text.mult); ^ TextAction.c:544:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, -ctx->text.mult); ^ TextAction.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scroll(ctx, event, dir) ^ TextAction.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollOneLineUp(w, event, p, n) ^ TextAction.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollOneLineDown(w, event, p, n) ^ TextAction.c:583:18: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, scroll_val); ^ TextAction.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePage(ctx, event, dir) ^ TextAction.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveNextPage(w, event, p, n) ^ TextAction.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePreviousPage(w, event, p, n) ^ TextAction.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchSelection(selection, s) ^ TextAction.c:792:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); ^ TextAction.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(w, selection, target, type, value, length, format) ^ TextAction.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoseSelection(w, selection) ^ TextAction.c:920:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, from, to, &text)) { ^ TextAction.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _DeleteOrKill(ctx, from, to, kill) ^ TextAction.c:960:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteOrKill(ctx, event, dir, type, include, kill) ^ TextAction.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteForwardChar(w, event, p, n) ^ TextAction.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteBackwardChar(w, event, p, n) ^ TextAction.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteForwardWord(w, event, p, n) ^ TextAction.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteBackwardWord(w, event, p, n) ^ TextAction.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillForwardWord(w, event, p, n) ^ TextAction.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillBackwardWord(w, event, p, n) ^ TextAction.c:1053:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillToEndOfLine(w, event, p, n) ^ TextAction.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillToEndOfParagraph(w, event, p, n) ^ TextAction.c:1076:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextZapSelection(ctx, event, kill) ^ TextAction.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillCurrentSelection(w, event, p, n) ^ TextAction.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteCurrentSelection(w, event, p, n) ^ TextAction.c:1132:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { ^ TextAction.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLineAndBackupInternal(ctx) ^ TextAction.c:1153:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars( (TextWidget) w); ^ TextAction.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLineAndBackup(w, event, p, n) ^ TextAction.c:1167:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocalInsertNewLine(ctx, event) ^ TextAction.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLine(w, event, p, n) ^ TextAction.c:1201:31: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line_to_ip = _XawTextGetText(ctx, pos1, ctx->text.insertPos); ^ TextAction.c:1236:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx,ctx->text.insertPos, ctx->text.insertPos, &text)) { ^ TextAction.c:1245:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewLineAndIndent(w, event, p, n) ^ TextAction.c:1269:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetSelection(ctx, l, r, params, *num_params); ^ TextAction.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectWord(w, event, params, num_params) ^ TextAction.c:1283:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetSelection(ctx,zeroPosition,ctx->text.lastPos,params,*num_params); ^ TextAction.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectAll(w, event, params, num_params) ^ TextAction.c:1298:25: warning: passing arguments to '_XawTextAlterSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextAlterSelection(ctx, mode, action, params, num_params); ^ TextAction.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ModifySelection(ctx, event, mode, action, params, num_params) ^ TextAction.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectStart(w, event, params, num_params) ^ TextAction.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectAdjust(w, event, params, num_params) ^ TextAction.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectEnd(w, event, params, num_params) ^ TextAction.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendStart(w, event, params, num_params) ^ TextAction.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendAdjust(w, event, params, num_params) ^ TextAction.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendEnd(w, event, params, num_params) ^ TextAction.c:1373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSave(w, event, params, num_params) ^ TextAction.c:1410:32: warning: passing arguments to '_XawTextClearAndCenterDisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextClearAndCenterDisplay((TextWidget) w); ^ TextAction.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RedrawDisplay(w, event, p, n) ^ TextAction.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextFocusIn (w, event, p, n) ^ TextAction.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextFocusOut(w, event, p, n) ^ TextAction.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextEnterWindow( w, event, params, num_params ) ^ TextAction.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextLeaveWindow( w, event, params, num_params ) ^ TextAction.c:1524:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, ret_pos - 1, ret_pos, &text)) ^ TextAction.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AutoFill(ctx) ^ TextAction.c:1572:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = _XawTextReplace(ctx, ctx->text.insertPos,ctx->text.insertPos, &text); ^ TextAction.c:1583:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ TextAction.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChar(w, event, p, n) ^ TextAction.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IfHexConvertHexElseReturnParam(param, len_return) ^ TextAction.c:1732:27: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( _XawTextReplace( ctx, ctx->text.insertPos, ^ TextAction.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertString(w, event, params, num_params) ^ TextAction.c:1759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayCaret(w, event, params, num_params) ^ TextAction.c:1824:21: warning: passing arguments to 'atoi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( ( mult = atoi( params[0] ) ) == 0 ) { ^ TextAction.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Multiply(w, event, params, num_params) ^ TextAction.c:1899:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = _XawTextGetText(ctx, periodPos, next_word); ^ TextAction.c:1925:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, endPos, startPos, &text) != XawEditDone) ^ TextAction.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StripOutOldCRs(ctx, from, to) ^ TextAction.c:1979:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = _XawTextGetText(ctx, eol, space); ^ TextAction.c:1993:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace(ctx, startPos, endPos, &text)) ^ TextAction.c:1939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertNewCRs(ctx, from, to) ^ TextAction.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FormRegion(ctx, from, to) ^ TextAction.c:2053:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars( ctx ); ^ TextAction.c:2035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FormParagraph(w, event, params, num_params) ^ TextAction.c:2105:40: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wbuf = (wchar_t*) _XawTextGetText(ctx, start, end); ^ TextAction.c:2115:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = _XawTextGetText( ctx, start, end ); ^ TextAction.c:2127:23: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_XawTextReplace (ctx, start, end, &text)) /* Unable to edit, complain. */ ^ TextAction.c:2065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TransposeCharacters(w, event, params, num_params) ^ TextAction.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoOp(w, event, params, num_params) ^ TextAction.c:2170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reconnect( w, event, params, num_params ) ^ 115 warnings generated. rm -f TextPop.o unshared/TextPop.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os TextPop.c -o unshared/TextPop.o TextPop.c:139:11: warning: passing arguments to 'DoInsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoInsert(w, (XtPointer) XtParent(XtParent(XtParent(w))), (XtPointer)NULL); ^ TextPop.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextInsertFileAction(w, event, params, num_params) ^ TextPop.c:184:41: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", ^ TextPop.c:187:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetWMProtocolTranslations(ctx->text.file_insert); ^ TextPop.c:190:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterWidgetOnPoint(ctx->text.file_insert, event); ^ TextPop.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextInsertFile(w, event, params, num_params) ^ TextPop.c:213:27: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, ^ TextPop.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownFileInsert(w, closure, call_data) ^ TextPop.c:243:49: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { ^ TextPop.c:243:24: warning: passing arguments to 'InsertFileNamed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { ^ TextPop.c:250:26: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)SetResourceByName(ctx->text.file_insert, ^ TextPop.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoInsert(w, closure, call_data) ^ TextPop.c:83:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertFileNamed(tw, str) ^ TextPop.c:94:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean InsertFileNamed(); ^ TextPop.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddInsertFileChildren(form, ptr, tw) ^ TextPop.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddInsertFileChildren(); ^ TextPop.c:420:15: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DoSearch(tw->text.search) && popdown) ^ TextPop.c:421:18: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); ^ TextPop.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextDoSearchAction(w, event, params, num_params) ^ TextPop.c:441:16: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); ^ TextPop.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPopdownSearchAction(w, event, params, num_params) ^ TextPop.c:462:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownSearch(w, closure, call_data) ^ TextPop.c:83:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:480:18: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) DoSearch( (struct SearchAndReplace *) closure ); ^ TextPop.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchButton(w, closure, call_data) ^ TextPop.c:562:50: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctx->text.search->search_popup = CreateDialog(w, ptr, "search", ^ TextPop.c:565:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetWMProtocolTranslations(ctx->text.search->search_popup); ^ TextPop.c:574:25: warning: passing arguments to 'InitializeSearchWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitializeSearchWidget(ctx->text.search, dir, (edit_mode == XawtextEdit)); ^ TextPop.c:576:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterWidgetOnPoint(ctx->text.search->search_popup, event); ^ TextPop.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSearch(w, event, params, num_params) ^ TextPop.c:596:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_one, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:597:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_all, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:598:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_label, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:599:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_text, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:603:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); ^ TextPop.c:606:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); ^ TextPop.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitializeSearchWidget(search, dir, replace_active) ^ TextPop.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); ^ TextPop.c:783:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddSearchChildren(form, ptr, tw) ^ TextPop.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddSearchChildren(); ^ TextPop.c:815:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text.ptr = GetStringRaw(search->search_text); ^ TextPop.c:822:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:832:68: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf( msg, "Could not find string ``%s''.", GetString( search->search_text ) ); ^ TextPop.c:845:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, msg, "", TRUE); ^ TextPop.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSearch(search) ^ TextPop.c:88:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean DoSearch(), SetResourceByName(), Replace(); ^ TextPop.c:879:14: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Replace( ctx->text.search, TRUE, popdown) && popdown) ^ TextPop.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextDoReplaceAction(w, event, params, num_params) ^ TextPop.c:900:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace( (struct SearchAndReplace *) closure, TRUE, FALSE); ^ TextPop.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoReplaceOne(w, closure, call_data) ^ TextPop.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DoReplaceOne(), DoReplaceAll(); ^ TextPop.c:920:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace( (struct SearchAndReplace *) closure, FALSE, FALSE); ^ TextPop.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoReplaceAll(w, closure, call_data) ^ TextPop.c:85:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DoReplaceOne(), DoReplaceAll(); ^ TextPop.c:948:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find.ptr = GetStringRaw( search->search_text); ^ TextPop.c:955:29: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] replace.ptr = GetStringRaw(search->rep_text); ^ TextPop.c:962:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:969:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (new_pos == XawTextSearchError) ) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TextPop.c:969:21: note: remove extraneous parentheses around the comparison to silence this warning if ( (new_pos == XawTextSearchError) ) { ~ ^ ~ TextPop.c:969:21: note: use '=' to turn this equality comparison into an assignment if ( (new_pos == XawTextSearchError) ) { ^~ = TextPop.c:977:14: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetString( search->search_text ), "''. ***"); ^ TextPop.c:978:19: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, msg, "", TRUE); ^ TextPop.c:991:17: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, "Selection has been modified, aborting.", ^ TextPop.c:1003:22: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, "*** Error while replacing", msg, TRUE); ^ TextPop.c:1015:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ TextPop.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace(search, once_only, show_current) ^ TextPop.c:88:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean DoSearch(), SetResourceByName(), Replace(); ^ TextPop.c:1044:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SetResource( search->label1, XtNlabel, (XtArgVal) msg1); ^ TextPop.c:1045:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SetResource( search->label2, XtNlabel, (XtArgVal) msg2); ^ TextPop.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, msg1, msg2, bell) ^ TextPop.c:84:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); ^ TextPop.c:1099:12: warning: passing arguments to '_SetField' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetField(new, old); ^ TextPop.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetField(w, event, params, num_params) ^ TextPop.c:1132:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(old, XtNborderColor, (XtArgVal) old_border); ^ TextPop.c:1133:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(new, XtNborderColor, (XtArgVal) new_border); ^ TextPop.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetField(new, old) ^ TextPop.c:83:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:1158:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(temp_widget, res_name, value); ^ TextPop.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResourceByName(shell, name, res_name, value) ^ TextPop.c:88:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean DoSearch(), SetResourceByName(), Replace(); ^ TextPop.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(w, res_name, value) ^ TextPop.c:84:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); ^ TextPop.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetString(text) ^ TextPop.c:89:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String GetString(); ^ TextPop.c:1215:26: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (_XawTextGetText(ctx, 0, last)); ^ TextPop.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetStringRaw(tw) ^ TextPop.c:91:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String GetStringRaw(); ^ TextPop.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterWidgetOnPoint(w, event) ^ TextPop.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:1309:53: warning: passing arguments to 'GetShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetArg(args[num_args], XtNtransientFor, GetShell(parent)); num_args++; ^ TextPop.c:1317:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*func) (form, ptr, parent); ^ TextPop.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialog(parent, ptr, name, func) ^ TextPop.c:86:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateDialog(), GetShell(); ^ TextPop.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetShell(w) ^ TextPop.c:86:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateDialog(), GetShell(); ^ TextPop.c:1339:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean InParams(str, p, n) ^ TextPop.c:1352:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void WMProtocols(w, event, params, num_params) ^ TextPop.c:1388:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetWMProtocolTranslations(w) ^ TextPop.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetWMProtocolTranslations(); ^ 100 warnings generated. rm -f TextPop.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic TextPop.c TextPop.c:139:11: warning: passing arguments to 'DoInsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoInsert(w, (XtPointer) XtParent(XtParent(XtParent(w))), (XtPointer)NULL); ^ TextPop.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextInsertFileAction(w, event, params, num_params) ^ TextPop.c:184:41: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", ^ TextPop.c:187:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetWMProtocolTranslations(ctx->text.file_insert); ^ TextPop.c:190:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterWidgetOnPoint(ctx->text.file_insert, event); ^ TextPop.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextInsertFile(w, event, params, num_params) ^ TextPop.c:213:27: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, ^ TextPop.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownFileInsert(w, closure, call_data) ^ TextPop.c:243:49: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { ^ TextPop.c:243:24: warning: passing arguments to 'InsertFileNamed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { ^ TextPop.c:250:26: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)SetResourceByName(ctx->text.file_insert, ^ TextPop.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoInsert(w, closure, call_data) ^ TextPop.c:83:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertFileNamed(tw, str) ^ TextPop.c:94:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean InsertFileNamed(); ^ TextPop.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddInsertFileChildren(form, ptr, tw) ^ TextPop.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddInsertFileChildren(); ^ TextPop.c:420:15: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DoSearch(tw->text.search) && popdown) ^ TextPop.c:421:18: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); ^ TextPop.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextDoSearchAction(w, event, params, num_params) ^ TextPop.c:441:16: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); ^ TextPop.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextPopdownSearchAction(w, event, params, num_params) ^ TextPop.c:462:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownSearch(w, closure, call_data) ^ TextPop.c:83:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:480:18: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) DoSearch( (struct SearchAndReplace *) closure ); ^ TextPop.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchButton(w, closure, call_data) ^ TextPop.c:562:50: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctx->text.search->search_popup = CreateDialog(w, ptr, "search", ^ TextPop.c:565:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetWMProtocolTranslations(ctx->text.search->search_popup); ^ TextPop.c:574:25: warning: passing arguments to 'InitializeSearchWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitializeSearchWidget(ctx->text.search, dir, (edit_mode == XawtextEdit)); ^ TextPop.c:576:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterWidgetOnPoint(ctx->text.search->search_popup, event); ^ TextPop.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSearch(w, event, params, num_params) ^ TextPop.c:596:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_one, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:597:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_all, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:598:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_label, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:599:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->rep_text, XtNsensitive, (XtArgVal) replace_active); ^ TextPop.c:603:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); ^ TextPop.c:606:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); ^ TextPop.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitializeSearchWidget(search, dir, replace_active) ^ TextPop.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); ^ TextPop.c:783:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddSearchChildren(form, ptr, tw) ^ TextPop.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddSearchChildren(); ^ TextPop.c:815:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text.ptr = GetStringRaw(search->search_text); ^ TextPop.c:822:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:832:68: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf( msg, "Could not find string ``%s''.", GetString( search->search_text ) ); ^ TextPop.c:845:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, msg, "", TRUE); ^ TextPop.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSearch(search) ^ TextPop.c:88:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean DoSearch(), SetResourceByName(), Replace(); ^ TextPop.c:879:14: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Replace( ctx->text.search, TRUE, popdown) && popdown) ^ TextPop.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextDoReplaceAction(w, event, params, num_params) ^ TextPop.c:900:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace( (struct SearchAndReplace *) closure, TRUE, FALSE); ^ TextPop.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoReplaceOne(w, closure, call_data) ^ TextPop.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DoReplaceOne(), DoReplaceAll(); ^ TextPop.c:920:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace( (struct SearchAndReplace *) closure, FALSE, FALSE); ^ TextPop.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoReplaceAll(w, closure, call_data) ^ TextPop.c:85:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DoReplaceOne(), DoReplaceAll(); ^ TextPop.c:948:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find.ptr = GetStringRaw( search->search_text); ^ TextPop.c:955:29: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] replace.ptr = GetStringRaw(search->rep_text); ^ TextPop.c:962:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:969:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (new_pos == XawTextSearchError) ) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TextPop.c:969:21: note: remove extraneous parentheses around the comparison to silence this warning if ( (new_pos == XawTextSearchError) ) { ~ ^ ~ TextPop.c:969:21: note: use '=' to turn this equality comparison into an assignment if ( (new_pos == XawTextSearchError) ) { ^~ = TextPop.c:977:14: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetString( search->search_text ), "''. ***"); ^ TextPop.c:978:19: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, msg, "", TRUE); ^ TextPop.c:991:17: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, "Selection has been modified, aborting.", ^ TextPop.c:1003:22: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, "*** Error while replacing", msg, TRUE); ^ TextPop.c:1015:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ TextPop.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Replace(search, once_only, show_current) ^ TextPop.c:88:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean DoSearch(), SetResourceByName(), Replace(); ^ TextPop.c:1044:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SetResource( search->label1, XtNlabel, (XtArgVal) msg1); ^ TextPop.c:1045:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SetResource( search->label2, XtNlabel, (XtArgVal) msg2); ^ TextPop.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, msg1, msg2, bell) ^ TextPop.c:84:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); ^ TextPop.c:1099:12: warning: passing arguments to '_SetField' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetField(new, old); ^ TextPop.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XawTextSetField(w, event, params, num_params) ^ TextPop.c:1132:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(old, XtNborderColor, (XtArgVal) old_border); ^ TextPop.c:1133:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(new, XtNborderColor, (XtArgVal) new_border); ^ TextPop.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetField(new, old) ^ TextPop.c:83:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:1158:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(temp_widget, res_name, value); ^ TextPop.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResourceByName(shell, name, res_name, value) ^ TextPop.c:88:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean DoSearch(), SetResourceByName(), Replace(); ^ TextPop.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetResource(w, res_name, value) ^ TextPop.c:84:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); ^ TextPop.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetString(text) ^ TextPop.c:89:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String GetString(); ^ TextPop.c:1215:26: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (_XawTextGetText(ctx, 0, last)); ^ TextPop.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetStringRaw(tw) ^ TextPop.c:91:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static String GetStringRaw(); ^ TextPop.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterWidgetOnPoint(w, event) ^ TextPop.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); ^ TextPop.c:1309:53: warning: passing arguments to 'GetShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetArg(args[num_args], XtNtransientFor, GetShell(parent)); num_args++; ^ TextPop.c:1317:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*func) (form, ptr, parent); ^ TextPop.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateDialog(parent, ptr, name, func) ^ TextPop.c:86:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateDialog(), GetShell(); ^ TextPop.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetShell(w) ^ TextPop.c:86:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateDialog(), GetShell(); ^ TextPop.c:1339:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean InParams(str, p, n) ^ TextPop.c:1352:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void WMProtocols(w, event, params, num_params) ^ TextPop.c:1388:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetWMProtocolTranslations(w) ^ TextPop.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetWMProtocolTranslations(); ^ 100 warnings generated. rm -f TextTr.o unshared/TextTr.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os TextTr.c -o unshared/TextTr.o rm -f TextTr.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic TextTr.c rm -f ThreeD.o unshared/ThreeD.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os ThreeD.c -o unshared/ThreeD.o ThreeD.c:163:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowGC (w) ^ ThreeD.c:183:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowGC (w) ^ ThreeD.c:203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocArmGC (w) ^ ThreeD.c:223:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixmap (new) ^ ThreeD.c:283:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixmap (new) ^ ThreeD.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xaw3dComputeTopShadowRGB (new, xcol_out) ^ ThreeD.c:375:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixel (new) ^ ThreeD.c:390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xaw3dComputeBottomShadowRGB (new, xcol_out) ^ ThreeD.c:421:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixel (new) ^ ThreeD.c:436:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xaw3dComputeArmRGB (new, xcol_out) ^ ThreeD.c:467:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocArmPixel (new) ^ ThreeD.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize (wc) ^ ThreeD.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ ThreeD.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (request, new, args, num_args) ^ ThreeD.c:80:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ ThreeD.c:525:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valueMask, attrs) ^ ThreeD.c:81:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(); ^ ThreeD.c:539:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (w) ^ ThreeD.c:80:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ ThreeD.c:558:23: warning: passing arguments to '_Xaw3dDrawShadows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xaw3dDrawShadows (w, event, region, True); ^ ThreeD.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (w, event, region) ^ ThreeD.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(); ^ ThreeD.c:562:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) ^ ThreeD.c:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ ThreeD.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xaw3dDrawShadowSurroundedBox (gw, event, region, xtl, ytl, xbr, ybr, out) ^ ThreeD.c:82:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void _Xaw3dDrawShadows(), _Xaw3dDrawShadowSurroundedBox(); ^ ThreeD.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xaw3dDrawShadows (gw, event, region, out) ^ ThreeD.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void _Xaw3dDrawShadows(), _Xaw3dDrawShadowSurroundedBox(); ^ 28 warnings generated. rm -f ThreeD.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic ThreeD.c ThreeD.c:163:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowGC (w) ^ ThreeD.c:183:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowGC (w) ^ ThreeD.c:203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocArmGC (w) ^ ThreeD.c:223:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixmap (new) ^ ThreeD.c:283:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixmap (new) ^ ThreeD.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xaw3dComputeTopShadowRGB (new, xcol_out) ^ ThreeD.c:375:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocTopShadowPixel (new) ^ ThreeD.c:390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xaw3dComputeBottomShadowRGB (new, xcol_out) ^ ThreeD.c:421:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocBotShadowPixel (new) ^ ThreeD.c:436:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xaw3dComputeArmRGB (new, xcol_out) ^ ThreeD.c:467:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllocArmPixel (new) ^ ThreeD.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClassPartInitialize (wc) ^ ThreeD.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ ThreeD.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (request, new, args, num_args) ^ ThreeD.c:80:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ ThreeD.c:525:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valueMask, attrs) ^ ThreeD.c:81:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(); ^ ThreeD.c:539:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (w) ^ ThreeD.c:80:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), Initialize(), Destroy(); ^ ThreeD.c:558:23: warning: passing arguments to '_Xaw3dDrawShadows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xaw3dDrawShadows (w, event, region, True); ^ ThreeD.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (w, event, region) ^ ThreeD.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Realize(); ^ ThreeD.c:562:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) ^ ThreeD.c:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ ThreeD.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xaw3dDrawShadowSurroundedBox (gw, event, region, xtl, ytl, xbr, ybr, out) ^ ThreeD.c:82:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void _Xaw3dDrawShadows(), _Xaw3dDrawShadowSurroundedBox(); ^ ThreeD.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Xaw3dDrawShadows (gw, event, region, out) ^ ThreeD.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void _Xaw3dDrawShadows(), _Xaw3dDrawShadowSurroundedBox(); ^ 28 warnings generated. rm -f Toggle.o unshared/Toggle.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Toggle.c -o unshared/Toggle.o Toggle.c:228:25: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( GetRadioGroup(tw->toggle.widget) == NULL) ^ Toggle.c:229:18: warning: passing arguments to 'CreateRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateRadioGroup(new, tw->toggle.widget); ^ Toggle.c:231:32: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); ^ Toggle.c:231:17: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); ^ Toggle.c:247:16: warning: passing arguments to 'ToggleSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleSet(new, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); ^ Toggle.c:214:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Toggle.c:92:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:266:25: warning: passing arguments to 'TurnOffRadioSiblings' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TurnOffRadioSiblings(w); ^ Toggle.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleSet(w,event,params,num_params) ^ Toggle.c:92:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:284:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(tw->toggle.unsetsound); ^ Toggle.c:293:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(tw->toggle.setsound); ^ Toggle.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Toggle(w,event,params,num_params) ^ Toggle.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Notify(w,event,params,num_params) ^ Toggle.c:92:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues (current, request, new, args, num_args) ^ Toggle.c:94:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Toggle.c:358:23: warning: passing arguments to 'RemoveFromRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveFromRadioGroup(w); ^ Toggle.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleDestroy(w, junk, garbage) ^ Toggle.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ToggleDestroy(), ClassInit(); ^ Toggle.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetRadioGroup(w) ^ Toggle.c:98:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static RadioGroup * GetRadioGroup(); ^ Toggle.c:408:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( (RadioGroup *)NULL, w1 ); ^ Toggle.c:409:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( GetRadioGroup(w1), w2 ); ^ Toggle.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateRadioGroup(w1, w2) ^ Toggle.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup(group, w) ^ Toggle.c:99:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TurnOffRadioSiblings(w) ^ Toggle.c:99:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveFromRadioGroup(w) ^ Toggle.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveFromRadioGroup(); ^ Toggle.c:530:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else AddToRadioGroup(group, w); ^ Toggle.c:586:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:586:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) ~ ^ ~ Toggle.c:586:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) ^~ = Toggle.c:606:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:606:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) { ~ ^ ~ Toggle.c:606:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) { ^~ = 36 warnings generated. rm -f Toggle.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Toggle.c Toggle.c:228:25: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( GetRadioGroup(tw->toggle.widget) == NULL) ^ Toggle.c:229:18: warning: passing arguments to 'CreateRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateRadioGroup(new, tw->toggle.widget); ^ Toggle.c:231:32: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); ^ Toggle.c:231:17: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); ^ Toggle.c:247:16: warning: passing arguments to 'ToggleSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleSet(new, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); ^ Toggle.c:214:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Toggle.c:92:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:266:25: warning: passing arguments to 'TurnOffRadioSiblings' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TurnOffRadioSiblings(w); ^ Toggle.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleSet(w,event,params,num_params) ^ Toggle.c:92:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:284:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(tw->toggle.unsetsound); ^ Toggle.c:293:11: warning: passing arguments to 'PlaySound' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaySound(tw->toggle.setsound); ^ Toggle.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Toggle(w,event,params,num_params) ^ Toggle.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Notify(w,event,params,num_params) ^ Toggle.c:92:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues (current, request, new, args, num_args) ^ Toggle.c:94:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Toggle.c:358:23: warning: passing arguments to 'RemoveFromRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveFromRadioGroup(w); ^ Toggle.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleDestroy(w, junk, garbage) ^ Toggle.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ToggleDestroy(), ClassInit(); ^ Toggle.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetRadioGroup(w) ^ Toggle.c:98:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static RadioGroup * GetRadioGroup(); ^ Toggle.c:408:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( (RadioGroup *)NULL, w1 ); ^ Toggle.c:409:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup( GetRadioGroup(w1), w2 ); ^ Toggle.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateRadioGroup(w1, w2) ^ Toggle.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToRadioGroup(group, w) ^ Toggle.c:99:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TurnOffRadioSiblings(w) ^ Toggle.c:99:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveFromRadioGroup(w) ^ Toggle.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveFromRadioGroup(); ^ Toggle.c:530:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else AddToRadioGroup(group, w); ^ Toggle.c:586:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:586:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) ~ ^ ~ Toggle.c:586:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) ^~ = Toggle.c:606:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:606:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) { ~ ^ ~ Toggle.c:606:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) { ^~ = 36 warnings generated. rm -f Tree.o unshared/Tree.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Tree.c -o unshared/Tree.o Tree.c:190:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void initialize_dimensions (listp, sizep, n) ^ Tree.c:217:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static GC get_tree_gc (w) ^ Tree.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void insert_node (parent, node) ^ Tree.c:78:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void insert_node(); ^ Tree.c:267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void delete_node (parent, node) ^ Tree.c:79:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void delete_node(); ^ Tree.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void check_gravity (tw, grav) ^ Tree.c:332:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (grequest, gnew, args, num_args) ^ Tree.c:66:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Tree.c:390:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize (request, new, args, num_args) ^ Tree.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConstraintInitialize(); ^ Tree.c:463:14: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree (new, TRUE); ^ Tree.c:468:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((TreeWidget)new)->tree.pixmapfilename, ^ Tree.c:422:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) ^ Tree.c:71:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Tree.c:508:16: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree (tw, FALSE); ^ Tree.c:483:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ConstraintSetValues (current, request, new, args, num_args) ^ Tree.c:69:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ConstraintSetValues(); ^ Tree.c:537:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree ((TreeWidget) (w->core.parent), FALSE); ^ Tree.c:514:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintDestroy (w) ^ Tree.c:68:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConstraintDestroy(); ^ Tree.c:567:48: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (tw->tree.auto_reconfigure) layout_tree (tw, FALSE); ^ Tree.c:541:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager (w, request, reply) ^ Tree.c:72:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Tree.c:574:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree ((TreeWidget) gw, FALSE); ^ Tree.c:571:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged (gw) ^ Tree.c:73:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Tree.c:578:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Tree.c:70:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(), Realize(); ^ Tree.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (gw, event, region) ^ Tree.c:74:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Tree.c:686:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (w, intended, preferred) ^ Tree.c:75:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ Tree.c:720:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void compute_bounding_box_subtree (tree, w, depth) ^ Tree.c:793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_positions (tw, w, level) ^ Tree.c:834:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void arrange_subtree (tree, w, depth, x, y) ^ Tree.c:941:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_tree_size (tw, insetvalues, width, height) ^ Tree.c:965:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void layout_tree (tw, insetvalues) ^ Tree.c:80:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void layout_tree(); ^ Tree.c:1021:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((TreeWidget)w)->tree.pixmapfilename, ^ Tree.c:1009:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Tree.c:70:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(), Realize(); ^ 42 warnings generated. rm -f Tree.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Tree.c Tree.c:190:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void initialize_dimensions (listp, sizep, n) ^ Tree.c:217:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static GC get_tree_gc (w) ^ Tree.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void insert_node (parent, node) ^ Tree.c:78:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void insert_node(); ^ Tree.c:267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void delete_node (parent, node) ^ Tree.c:79:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void delete_node(); ^ Tree.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void check_gravity (tw, grav) ^ Tree.c:332:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (grequest, gnew, args, num_args) ^ Tree.c:66:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ Tree.c:390:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize (request, new, args, num_args) ^ Tree.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConstraintInitialize(); ^ Tree.c:463:14: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree (new, TRUE); ^ Tree.c:468:25: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(new, ((TreeWidget)new)->tree.pixmapfilename, ^ Tree.c:422:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) ^ Tree.c:71:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Tree.c:508:16: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree (tw, FALSE); ^ Tree.c:483:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ConstraintSetValues (current, request, new, args, num_args) ^ Tree.c:69:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ConstraintSetValues(); ^ Tree.c:537:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree ((TreeWidget) (w->core.parent), FALSE); ^ Tree.c:514:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintDestroy (w) ^ Tree.c:68:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConstraintDestroy(); ^ Tree.c:567:48: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (tw->tree.auto_reconfigure) layout_tree (tw, FALSE); ^ Tree.c:541:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager (w, request, reply) ^ Tree.c:72:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Tree.c:574:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] layout_tree ((TreeWidget) gw, FALSE); ^ Tree.c:571:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged (gw) ^ Tree.c:73:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Tree.c:578:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Tree.c:70:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(), Realize(); ^ Tree.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (gw, event, region) ^ Tree.c:74:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ Tree.c:686:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry (w, intended, preferred) ^ Tree.c:75:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ Tree.c:720:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void compute_bounding_box_subtree (tree, w, depth) ^ Tree.c:793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_positions (tw, w, level) ^ Tree.c:834:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void arrange_subtree (tree, w, depth, x, y) ^ Tree.c:941:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_tree_size (tw, insetvalues, width, height) ^ Tree.c:965:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void layout_tree (tw, insetvalues) ^ Tree.c:80:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void layout_tree(); ^ Tree.c:1021:23: warning: passing arguments to 'InsertPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pix = InsertPixmap(w, ((TreeWidget)w)->tree.pixmapfilename, ^ Tree.c:1009:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ Tree.c:70:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(), Realize(); ^ 42 warnings generated. rm -f Vendor.o unshared/Vendor.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Vendor.c -o unshared/Vendor.o Vendor.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XawCvtCompoundTextToString(dpy, args, num_args, fromVal, toVal, cvt_data) ^ Vendor.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellClassPartInit(class) ^ Vendor.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellClassPartInit(); ^ Vendor.c:319:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellInitialize(req, new, args, num_args) ^ Vendor.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellInitialize(); ^ Vendor.c:331:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean XawVendorShellSetValues(old, ref, new) ^ Vendor.c:91:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean XawVendorShellSetValues(); ^ Vendor.c:337:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(wid, vmask, attr) ^ Vendor.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), ChangeManaged(); ^ Vendor.c:356:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellExtInitialize(req, new) ^ Vendor.c:181:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellExtInitialize(); ^ Vendor.c:363:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellExtDestroy( w ) ^ Vendor.c:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellExtDestroy(); ^ Vendor.c:370:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean XawVendorShellExtSetValues(old, ref, new) ^ Vendor.c:183:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean XawVendorShellExtSetValues(); ^ Vendor.c:376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XawVendorShellExtResize( w ) ^ Vendor.c:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void XawVendorShellExtResize(); ^ Vendor.c:396:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager( wid, request, reply ) ^ Vendor.c:93:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Vendor.c:446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(wid) ^ Vendor.c:92:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), ChangeManaged(); ^ 21 warnings generated. rm -f Vendor.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Vendor.c Vendor.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XawCvtCompoundTextToString(dpy, args, num_args, fromVal, toVal, cvt_data) ^ Vendor.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellClassPartInit(class) ^ Vendor.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellClassPartInit(); ^ Vendor.c:319:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellInitialize(req, new, args, num_args) ^ Vendor.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellInitialize(); ^ Vendor.c:331:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean XawVendorShellSetValues(old, ref, new) ^ Vendor.c:91:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean XawVendorShellSetValues(); ^ Vendor.c:337:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(wid, vmask, attr) ^ Vendor.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), ChangeManaged(); ^ Vendor.c:356:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellExtInitialize(req, new) ^ Vendor.c:181:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellExtInitialize(); ^ Vendor.c:363:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void XawVendorShellExtDestroy( w ) ^ Vendor.c:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void XawVendorShellExtDestroy(); ^ Vendor.c:370:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean XawVendorShellExtSetValues(old, ref, new) ^ Vendor.c:183:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean XawVendorShellExtSetValues(); ^ Vendor.c:376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XawVendorShellExtResize( w ) ^ Vendor.c:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void XawVendorShellExtResize(); ^ Vendor.c:396:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager( wid, request, reply ) ^ Vendor.c:93:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(); ^ Vendor.c:446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(wid) ^ Vendor.c:92:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), ChangeManaged(); ^ 21 warnings generated. rm -f Viewport.o unshared/Viewport.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Viewport.c -o unshared/Viewport.o Viewport.c:149:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget CreateScrollbar(w, horizontal) ^ Viewport.c:201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Viewport.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), ^ Viewport.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize(request, new, args, num_args) ^ Viewport.c:81:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), ^ Viewport.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(widget, value_mask, attributes) ^ Viewport.c:82:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Realize(), Resize(), ChangeManaged(); ^ Viewport.c:308:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Viewport.c:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), Layout(); ^ Viewport.c:384:17: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGeometry( widget, child->core.width, child->core.height ); ^ Viewport.c:386:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ( (FormWidget)w, w->core.width, w->core.height ); ^ Viewport.c:329:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(widget) ^ Viewport.c:82:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Realize(), Resize(), ChangeManaged(); ^ Viewport.c:397:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetBar(w, top, length, total) ^ Viewport.c:406:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RedrawThumbs(w) ^ Viewport.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SendReport (w, changed) ^ Viewport.c:446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveChild(w, x, y) ^ Viewport.c:495:29: warning: passing arguments to 'ComputeWithForceBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWithForceBars(widget, query, &intended, ^ Viewport.c:471:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ComputeLayout(widget, query, destroy_scrollbars) ^ Viewport.c:725:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:731:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWithForceBars(widget, query, intended, clip_width, clip_height) ^ Viewport.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ComputeWithForceBars(); ^ Viewport.c:748:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(widget) ^ Viewport.c:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Realize(), Resize(), ChangeManaged(); ^ Viewport.c:756:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean Layout(w, width, height) ^ Viewport.c:83:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), Layout(); ^ Viewport.c:774:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int pix = (int)call_data; ^~~~~~~~~~~~~~ Viewport.c:767:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ScrollUpDownProc(widget, closure, call_data) ^ Viewport.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ScrollUpDownProc(), ThumbProc(); ^ Viewport.c:786:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ThumbProc(widget, closure, call_data) ^ Viewport.c:59:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ScrollUpDownProc(), ThumbProc(); ^ Viewport.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TestSmaller(w, request, reply_return) ^ Viewport.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GeometryRequestPlusScrollbar(w, horizontal, request, reply_return) ^ Viewport.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, request, reply_return) ^ Viewport.c:908:31: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reconfigured = GetGeometry( (Widget)w, ^ Viewport.c:883:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(child, request, reply) ^ Viewport.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ Viewport.c:973:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean GetGeometry(w, width, height) ^ Viewport.c:60:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean GetGeometry(); ^ Viewport.c:1008:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult PreferredGeometry(w, constraints, reply) ^ Viewport.c:84:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ 42 warnings generated. rm -f Viewport.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Viewport.c Viewport.c:149:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget CreateScrollbar(w, horizontal) ^ Viewport.c:201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize(request, new, args, num_args) ^ Viewport.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), ^ Viewport.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConstraintInitialize(request, new, args, num_args) ^ Viewport.c:81:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), ^ Viewport.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize(widget, value_mask, attributes) ^ Viewport.c:82:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Realize(), Resize(), ChangeManaged(); ^ Viewport.c:308:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, args, num_args) ^ Viewport.c:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), Layout(); ^ Viewport.c:384:17: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGeometry( widget, child->core.width, child->core.height ); ^ Viewport.c:386:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ( (FormWidget)w, w->core.width, w->core.height ); ^ Viewport.c:329:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ChangeManaged(widget) ^ Viewport.c:82:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Realize(), Resize(), ChangeManaged(); ^ Viewport.c:397:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetBar(w, top, length, total) ^ Viewport.c:406:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RedrawThumbs(w) ^ Viewport.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SendReport (w, changed) ^ Viewport.c:446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void MoveChild(w, x, y) ^ Viewport.c:495:29: warning: passing arguments to 'ComputeWithForceBars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWithForceBars(widget, query, &intended, ^ Viewport.c:471:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ComputeLayout(widget, query, destroy_scrollbars) ^ Viewport.c:725:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:731:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWithForceBars(widget, query, intended, clip_width, clip_height) ^ Viewport.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ComputeWithForceBars(); ^ Viewport.c:748:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Resize(widget) ^ Viewport.c:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Realize(), Resize(), ChangeManaged(); ^ Viewport.c:756:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean Layout(w, width, height) ^ Viewport.c:83:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), Layout(); ^ Viewport.c:774:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int pix = (int)call_data; ^~~~~~~~~~~~~~ Viewport.c:767:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ScrollUpDownProc(widget, closure, call_data) ^ Viewport.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ScrollUpDownProc(), ThumbProc(); ^ Viewport.c:786:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ThumbProc(widget, closure, call_data) ^ Viewport.c:59:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ScrollUpDownProc(), ThumbProc(); ^ Viewport.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TestSmaller(w, request, reply_return) ^ Viewport.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GeometryRequestPlusScrollbar(w, horizontal, request, reply_return) ^ Viewport.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, request, reply_return) ^ Viewport.c:908:31: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reconfigured = GetGeometry( (Widget)w, ^ Viewport.c:883:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(child, request, reply) ^ Viewport.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ Viewport.c:973:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean GetGeometry(w, width, height) ^ Viewport.c:60:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean GetGeometry(); ^ Viewport.c:1008:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XtGeometryResult PreferredGeometry(w, constraints, reply) ^ Viewport.c:84:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ 42 warnings generated. rm -f XawIm.o unshared/XawIm.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os XawIm.c -o unshared/XawIm.o XawIm.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetVaArg( arg, value ) ^ XawIm.c:140:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VendorShellWidget SearchVendorShell( w ) ^ XawIm.c:148:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] static XContext extContext = (XContext)NULL; ^~~~~~~~~~~~~~ XawIm.c:156:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (extContext == (XContext)NULL) extContext = XUniqueContext(); ^~~~~~~~~~~~~~ XawIm.c:150:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawVendorShellExtPart *SetExtPart( w, vew ) ^ XawIm.c:167:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawVendorShellExtPart *GetExtPart( w ) ^ XawIm.c:181:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean IsSharedIC( ve ) ^ XawIm.c:187:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList GetIcTableShared( w, ve ) ^ XawIm.c:205:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList GetIcTable( w, ve ) ^ XawIm.c:219:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XIMStyle GetInputStyleOfIC( ve ) ^ XawIm.c:227:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XIMStyle GetInputStyleOfIM( p ) ^ XawIm.c:243:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConfigureCB( w, closure, event ) ^ XawIm.c:280:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] static XContext errContext = (XContext)NULL; ^~~~~~~~~~~~~~ XawIm.c:288:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (errContext == (XContext)NULL) errContext = XUniqueContext(); ^~~~~~~~~~~~~~ XawIm.c:282:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget SetErrCnxt( w, xim ) ^ XawIm.c:300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CloseIM( ve ) ^ XawIm.c:307:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Dimension SetVendorShellHeight( ve, height ) ^ XawIm.c:323:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DestroyAllIM( ve ) ^ XawIm.c:368:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FreeAllDataOfVendorShell(ve, vw) ^ XawIm.c:397:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VendorShellDestroyed( w, cl_data, ca_data ) ^ XawIm.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void OpenIM(ve) ^ XawIm.c:473:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ResizeVendorShell_Core(vw, ve, p) ^ XawIm.c:524:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ResizeVendorShell(vw, ve) ^ XawIm.c:542:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList CreateIcTable( w, ve ) ^ XawIm.c:563:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean RegisterToVendorShell( w, ve ) ^ XawIm.c:575:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnregisterFromVendorShell(w, ve) ^ XawIm.c:591:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetICValuesShared(w, ve, p, check) ^ XawIm.c:628:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean IsCreatedIC(w, ve) ^ XawIm.c:663:66: warning: missing sentinel in function call [-Wsentinel] XGetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3895:14: note: function has been explicitly marked sentinel here extern char *XGetICValues( ^ XawIm.c:703:66: warning: missing sentinel in function call [-Wsentinel] XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SizeNegotiation(p, width, height) ^ XawIm.c:820:37: warning: missing sentinel in function call [-Wsentinel] pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:831:37: warning: missing sentinel in function call [-Wsentinel] st_a[17], st_a[18], st_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:840:58: warning: missing sentinel in function call [-Wsentinel] ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3863:12: note: function has been explicitly marked sentinel here extern XIC XCreateIC( ^ XawIm.c:713:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateIC( w, ve ) ^ XawIm.c:958:50: warning: missing sentinel in function call [-Wsentinel] pe_a[16], pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:968:50: warning: missing sentinel in function call [-Wsentinel] st_a[16], st_a[17], st_a[18], st_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:981:46: warning: missing sentinel in function call [-Wsentinel] ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:861:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetICValues( w, ve, focus ) ^ XawIm.c:992:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SharedICChangeFocusWindow(w, ve, p) ^ XawIm.c:1008:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList CurrentSharedIcTable( ve ) ^ XawIm.c:1014:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetICFocus(w, ve) ^ XawIm.c:1036:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnsetICFocus(w, ve) ^ XawIm.c:1080:31: warning: passing arguments to '_XtCopyFromArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtCopyFromArg(arg->value, ^ XawIm.c:1057:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetValues( w, ve, args, num_args ) ^ XawIm.c:1108:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetFocus( w, ve ) ^ XawIm.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DestroyIC(w, ve) ^ XawIm.c:1144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetFocusValues( inwidg, args, num_args, focus ) ^ XawIm.c:1169:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnsetFocus( inwidg ) ^ XawIm.c:1189:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean IsRegistered( w, ve ) ^ XawIm.c:1202:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Register(inwidg, ve) ^ XawIm.c:1224:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean NoRegistered(ve) ^ XawIm.c:1231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Unregister(inwidg, ve) ^ XawIm.c:1252:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllCreateIC( ve ) ^ XawIm.c:1275:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Reconnect(ve) ^ XawIm.c:1300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CompileResourceList( res, num_res ) ^ XawIm.c:1318:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char** ParseIMNameList(p, num) ^ XawIm.c:1359:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean Initialize( vw, ve ) ^ XawIm.c:1404:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (extContext != (XContext)NULL && ^~~~~~~~~~~~~~ XawIm.c:1409:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (errContext != (XContext)NULL && ^~~~~~~~~~~~~~ XawIm.c:1393:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy( w, ve ) ^ XawIm.c:1584:19: warning: passing arguments to '_XtCountVaList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtCountVaList( var, &total_count, &typed_count ); ^ XawIm.c:1589:19: warning: passing arguments to '_XtVaToArgList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtVaToArgList( inwidg, var, total_count, &args, &num_args ); ^ XawIm.c:1628:19: warning: passing arguments to '_XtCountVaList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtCountVaList(var, &total_count, &typed_count); ^ XawIm.c:1633:19: warning: passing arguments to '_XtVaToArgList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtVaToArgList(inwidg, var, total_count, &args, &num_args); ^ XawIm.c:1725:25: warning: passing arguments to 'XawVendorShellExtResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XawVendorShellExtResize(vw); ^ 66 warnings generated. rm -f XawIm.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic XawIm.c XawIm.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetVaArg( arg, value ) ^ XawIm.c:140:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VendorShellWidget SearchVendorShell( w ) ^ XawIm.c:148:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] static XContext extContext = (XContext)NULL; ^~~~~~~~~~~~~~ XawIm.c:156:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (extContext == (XContext)NULL) extContext = XUniqueContext(); ^~~~~~~~~~~~~~ XawIm.c:150:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawVendorShellExtPart *SetExtPart( w, vew ) ^ XawIm.c:167:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawVendorShellExtPart *GetExtPart( w ) ^ XawIm.c:181:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean IsSharedIC( ve ) ^ XawIm.c:187:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList GetIcTableShared( w, ve ) ^ XawIm.c:205:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList GetIcTable( w, ve ) ^ XawIm.c:219:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XIMStyle GetInputStyleOfIC( ve ) ^ XawIm.c:227:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XIMStyle GetInputStyleOfIM( p ) ^ XawIm.c:243:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ConfigureCB( w, closure, event ) ^ XawIm.c:280:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] static XContext errContext = (XContext)NULL; ^~~~~~~~~~~~~~ XawIm.c:288:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (errContext == (XContext)NULL) errContext = XUniqueContext(); ^~~~~~~~~~~~~~ XawIm.c:282:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget SetErrCnxt( w, xim ) ^ XawIm.c:300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CloseIM( ve ) ^ XawIm.c:307:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Dimension SetVendorShellHeight( ve, height ) ^ XawIm.c:323:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DestroyAllIM( ve ) ^ XawIm.c:368:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FreeAllDataOfVendorShell(ve, vw) ^ XawIm.c:397:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VendorShellDestroyed( w, cl_data, ca_data ) ^ XawIm.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void OpenIM(ve) ^ XawIm.c:473:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ResizeVendorShell_Core(vw, ve, p) ^ XawIm.c:524:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ResizeVendorShell(vw, ve) ^ XawIm.c:542:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList CreateIcTable( w, ve ) ^ XawIm.c:563:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean RegisterToVendorShell( w, ve ) ^ XawIm.c:575:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnregisterFromVendorShell(w, ve) ^ XawIm.c:591:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetICValuesShared(w, ve, p, check) ^ XawIm.c:628:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean IsCreatedIC(w, ve) ^ XawIm.c:663:66: warning: missing sentinel in function call [-Wsentinel] XGetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3895:14: note: function has been explicitly marked sentinel here extern char *XGetICValues( ^ XawIm.c:703:66: warning: missing sentinel in function call [-Wsentinel] XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SizeNegotiation(p, width, height) ^ XawIm.c:820:37: warning: missing sentinel in function call [-Wsentinel] pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:831:37: warning: missing sentinel in function call [-Wsentinel] st_a[17], st_a[18], st_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:840:58: warning: missing sentinel in function call [-Wsentinel] ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3863:12: note: function has been explicitly marked sentinel here extern XIC XCreateIC( ^ XawIm.c:713:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateIC( w, ve ) ^ XawIm.c:958:50: warning: missing sentinel in function call [-Wsentinel] pe_a[16], pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:968:50: warning: missing sentinel in function call [-Wsentinel] st_a[16], st_a[17], st_a[18], st_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:981:46: warning: missing sentinel in function call [-Wsentinel] ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /Users/pbulk/build/x11/Xaw-Xpm/work/.buildlink/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:861:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetICValues( w, ve, focus ) ^ XawIm.c:992:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SharedICChangeFocusWindow(w, ve, p) ^ XawIm.c:1008:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XawIcTableList CurrentSharedIcTable( ve ) ^ XawIm.c:1014:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetICFocus(w, ve) ^ XawIm.c:1036:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnsetICFocus(w, ve) ^ XawIm.c:1080:31: warning: passing arguments to '_XtCopyFromArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtCopyFromArg(arg->value, ^ XawIm.c:1057:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetValues( w, ve, args, num_args ) ^ XawIm.c:1108:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetFocus( w, ve ) ^ XawIm.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DestroyIC(w, ve) ^ XawIm.c:1144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetFocusValues( inwidg, args, num_args, focus ) ^ XawIm.c:1169:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnsetFocus( inwidg ) ^ XawIm.c:1189:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean IsRegistered( w, ve ) ^ XawIm.c:1202:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Register(inwidg, ve) ^ XawIm.c:1224:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean NoRegistered(ve) ^ XawIm.c:1231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Unregister(inwidg, ve) ^ XawIm.c:1252:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void AllCreateIC( ve ) ^ XawIm.c:1275:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Reconnect(ve) ^ XawIm.c:1300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CompileResourceList( res, num_res ) ^ XawIm.c:1318:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char** ParseIMNameList(p, num) ^ XawIm.c:1359:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean Initialize( vw, ve ) ^ XawIm.c:1404:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (extContext != (XContext)NULL && ^~~~~~~~~~~~~~ XawIm.c:1409:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] if (errContext != (XContext)NULL && ^~~~~~~~~~~~~~ XawIm.c:1393:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy( w, ve ) ^ XawIm.c:1584:19: warning: passing arguments to '_XtCountVaList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtCountVaList( var, &total_count, &typed_count ); ^ XawIm.c:1589:19: warning: passing arguments to '_XtVaToArgList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtVaToArgList( inwidg, var, total_count, &args, &num_args ); ^ XawIm.c:1628:19: warning: passing arguments to '_XtCountVaList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtCountVaList(var, &total_count, &typed_count); ^ XawIm.c:1633:19: warning: passing arguments to '_XtVaToArgList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _XtVaToArgList(inwidg, var, total_count, &args, &num_args); ^ XawIm.c:1725:25: warning: passing arguments to 'XawVendorShellExtResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XawVendorShellExtResize(vw); ^ 66 warnings generated. rm -f XawI18n.o unshared/XawI18n.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os XawI18n.c -o unshared/XawI18n.o XawI18n.c:78:11: warning: passing arguments to 'mbtowc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mbtowc(&wc, str, 1); ^ 1 warning generated. rm -f XawI18n.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic XawI18n.c XawI18n.c:78:11: warning: passing arguments to 'mbtowc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mbtowc(&wc, str, 1); ^ 1 warning generated. rm -f XawInit.o unshared/XawInit.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os XawInit.c -o unshared/XawInit.o rm -f XawInit.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic XawInit.c rm -f Xpm.o unshared/Xpm.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os Xpm.c -o unshared/Xpm.o Xpm.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap *InsertPixmap(w, filename, dir) ^ In file included from Xpm.c:4: ./X11/Xaw3d/Xpm.h:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Pixmap *InsertPixmap(); ^ Xpm.c:95:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap *GetMask(w, filename, dir) ^ In file included from Xpm.c:4: ./X11/Xaw3d/Xpm.h:26:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Pixmap *GetMask(); ^ Xpm.c:188:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void PlaySound(soundfile) ^ In file included from Xpm.c:4: ./X11/Xaw3d/Xpm.h:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void PlaySound(); ^ 6 warnings generated. rm -f Xpm.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic Xpm.c Xpm.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap *InsertPixmap(w, filename, dir) ^ In file included from Xpm.c:4: ./X11/Xaw3d/Xpm.h:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Pixmap *InsertPixmap(); ^ Xpm.c:95:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap *GetMask(w, filename, dir) ^ In file included from Xpm.c:4: ./X11/Xaw3d/Xpm.h:26:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Pixmap *GetMask(); ^ Xpm.c:188:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void PlaySound(soundfile) ^ In file included from Xpm.c:4: ./X11/Xaw3d/Xpm.h:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void PlaySound(); ^ 6 warnings generated. rm -f laygram.o unshared/laygram.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os laygram.c -o unshared/laygram.o laygram.y:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void LayYYsetdest (c) ^ y.tab.c:269:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (LayYYn = LayYYdefred[LayYYstate]) goto LayYYreduce; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ y.tab.c:269:16: note: place parentheses around the assignment to silence this warning if (LayYYn = LayYYdefred[LayYYstate]) goto LayYYreduce; ^ ( ) y.tab.c:269:16: note: use '==' to turn this assignment into an equality comparison if (LayYYn = LayYYdefred[LayYYstate]) goto LayYYreduce; ^ == y.tab.c:272:26: warning: call to undeclared function 'LayYYlex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((LayYYchar = LayYYlex()) < 0) LayYYchar = 0; ^ y.tab.c:313:5: warning: call to undeclared function 'LayYYerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] LayYYerror("syntax error"); ^ y.tab.c:658:30: warning: call to undeclared function 'LayYYlex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((LayYYchar = LayYYlex()) < 0) LayYYchar = 0; ^ y.tab.c:312:1: warning: unused label 'LayYYnewerror' [-Wunused-label] LayYYnewerror: ^~~~~~~~~~~~~~ y.tab.c:317:1: warning: unused label 'LayYYerrlab' [-Wunused-label] LayYYerrlab: ^~~~~~~~~~~~ laygram.y:237:3: warning: unused label 'unary' [-Wunused-label] { unary: ; ^~~~~~~ laygram.c:2:13: warning: unused variable 'LayYYsccsid' [-Wunused-variable] static char LayYYsccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90"; ^ 9 warnings generated. rm -f laygram.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic laygram.c laygram.y:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void LayYYsetdest (c) ^ y.tab.c:269:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (LayYYn = LayYYdefred[LayYYstate]) goto LayYYreduce; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ y.tab.c:269:16: note: place parentheses around the assignment to silence this warning if (LayYYn = LayYYdefred[LayYYstate]) goto LayYYreduce; ^ ( ) y.tab.c:269:16: note: use '==' to turn this assignment into an equality comparison if (LayYYn = LayYYdefred[LayYYstate]) goto LayYYreduce; ^ == y.tab.c:272:26: warning: call to undeclared function 'LayYYlex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((LayYYchar = LayYYlex()) < 0) LayYYchar = 0; ^ y.tab.c:313:5: warning: call to undeclared function 'LayYYerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] LayYYerror("syntax error"); ^ y.tab.c:658:30: warning: call to undeclared function 'LayYYlex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((LayYYchar = LayYYlex()) < 0) LayYYchar = 0; ^ y.tab.c:312:1: warning: unused label 'LayYYnewerror' [-Wunused-label] LayYYnewerror: ^~~~~~~~~~~~~~ y.tab.c:317:1: warning: unused label 'LayYYerrlab' [-Wunused-label] LayYYerrlab: ^~~~~~~~~~~~ laygram.y:237:3: warning: unused label 'unary' [-Wunused-label] { unary: ; ^~~~~~~ laygram.c:2:13: warning: unused variable 'LayYYsccsid' [-Wunused-variable] static char LayYYsccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90"; ^ 9 warnings generated. rm -f laylex.o unshared/laylex.o clang -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -Os laylex.c -o unshared/laylex.o laylex.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LayYYlex(){ ^ int laylex.c:74:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static initialised; ~~~~~~ ^ int laylex.c:85:1: warning: unused label 'LayYYfussy' [-Wunused-label] LayYYfussy: switch(nstr){ ^~~~~~~~~~~~ laylex.l:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count (s, c) ^ laylex.l:66:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ laylex.c:66:33: note: previous declaration is here static int count (char *s, char c); ^ laylex.l:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LayYYsetsource(s) ^ int laylex.l:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] laylex.l:79:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LayYYerror(s) ^ int laylex.l:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] laylex.l:100:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:317:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:317:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:317:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:317:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:318:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:318:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:318:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:318:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:319:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:319:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:319:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:319:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:320:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~~ { } laylex.l:320:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~~ { } laylex.l:320:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~ { } laylex.l:320:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~ { } laylex.l:321:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:321:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:321:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:321:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:325:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~ { } laylex.l:325:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~ { } laylex.l:325:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~ { } laylex.l:325:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~~ { } laylex.l:326:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:326:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:326:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:326:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:327:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~ { } laylex.l:327:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~ { } laylex.l:327:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~~ { } laylex.l:327:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~~ { } laylex.l:328:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~~ { } laylex.l:328:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~ { } laylex.l:328:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~~ { } laylex.l:328:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~ { } laylex.l:329:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~ { } laylex.l:329:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~ { } laylex.l:329:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~~ { } laylex.l:329:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~~ { } laylex.l:330:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:330:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:330:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:330:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:332:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~ { } laylex.l:332:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~~ { } laylex.l:332:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~~ { } laylex.l:332:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~~ { } laylex.l:333:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~ { } laylex.l:333:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~ { } laylex.l:333:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~~ { } laylex.l:333:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~ { } laylex.l:334:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:334:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:334:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:334:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:335:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:335:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:335:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:335:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:336:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~~ { } laylex.l:336:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~~ { } laylex.l:336:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~~ { } laylex.l:336:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~ { } laylex.l:337:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~~ { } laylex.l:337:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~ { } laylex.l:337:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~~ { } laylex.l:337:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~~~ { } laylex.l:338:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:338:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:338:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:338:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:340:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~~~ { } laylex.l:340:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~~ { } laylex.l:340:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~ { } laylex.l:340:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~~ { } laylex.l:341:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~~ { } laylex.l:341:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~~ { } laylex.l:341:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~ { } laylex.l:341:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~ { } laylex.l:342:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:342:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:342:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:342:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:343:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~~ { } laylex.l:343:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~ { } laylex.l:343:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~ { } laylex.l:343:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~~ { } laylex.l:344:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:344:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:344:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:344:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:345:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~~ { } laylex.l:345:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~~ { } laylex.l:345:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~ { } laylex.l:345:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~~ { } laylex.l:346:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~~ { } laylex.l:346:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~~ { } laylex.l:346:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~~ { } laylex.l:346:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~ { } laylex.l:347:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~ { } laylex.l:347:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~~ { } laylex.l:347:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~~ { } laylex.l:347:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~~ { } laylex.l:348:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~ { } laylex.l:348:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~~ { } laylex.l:348:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~ { } laylex.l:348:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~ { } laylex.l:349:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:349:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:349:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:349:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:350:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:350:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:350:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:350:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:351:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~~ { } laylex.l:351:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~~ { } laylex.l:351:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~~ { } laylex.l:351:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~ { } laylex.l:352:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~ { } laylex.l:352:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~~ { } laylex.l:352:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~~ { } laylex.l:352:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~~ { } laylex.l:353:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:353:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:353:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:353:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:354:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~~~ { } laylex.l:354:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~ { } laylex.l:354:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~ { } laylex.l:354:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~ { } laylex.l:355:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~ { } laylex.l:355:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~~ { } laylex.l:355:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~~ { } laylex.l:355:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~ { } laylex.l:356:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~ { } laylex.l:356:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~ { } laylex.l:356:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~~ { } laylex.l:356:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~ { } laylex.l:357:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~ { } laylex.l:357:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:357:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:357:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:359:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~~~ { } laylex.l:359:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~~~ { } laylex.l:359:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~~~ { } laylex.l:359:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~ { } laylex.l:360:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:360:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:360:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:360:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:361:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~ { } laylex.l:361:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~ { } laylex.l:361:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:361:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:362:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:362:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:362:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:362:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:368:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:368:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:368:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:368:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:369:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:369:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~ { } laylex.l:369:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:369:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:370:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:370:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:370:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:370:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:376:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:376:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:376:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:376:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:382:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:382:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:382:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:382:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:383:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~ { } laylex.l:383:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~ { } laylex.l:383:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~~~ { } laylex.l:383:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~ { } laylex.l:384:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:384:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:384:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:384:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:390:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:390:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:390:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:390:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:391:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0}; ^~~ { } laylex.l:393:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, 0, ^~~~~~~~~~~~~~~~~ { } laylex.l:394:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+-1, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:395:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+-35, LayYYsvec+1, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:396:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:397:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+3, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:398:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+6, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:399:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+8, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:400:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+11, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:401:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+3, 0, LayYYvstop+14, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:402:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+17, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:403:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+20, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:404:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+23, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:405:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+26, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:406:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+29, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:407:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+32, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:408:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+2, 0, LayYYvstop+35, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:409:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+38, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:410:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+41, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:411:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+44, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:412:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+113, 0, LayYYvstop+47, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:413:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+171, 0, LayYYvstop+50, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:414:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+52, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:415:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+55, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:416:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, LayYYsvec+19, LayYYvstop+58, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:417:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+61, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:418:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+64, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:419:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+67, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:420:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+8, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:421:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:422:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+15, LayYYvstop+70, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:423:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+72, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:424:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+35, LayYYsvec+20, LayYYvstop+74, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:425:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, LayYYsvec+19, LayYYvstop+76, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:426:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+78, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:427:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+9, LayYYsvec+19, LayYYvstop+80, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:428:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, LayYYsvec+19, LayYYvstop+82, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:429:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+84, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:430:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+86, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:431:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+12, LayYYsvec+19, LayYYvstop+88, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:432:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+11, LayYYsvec+19, LayYYvstop+90, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:433:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+23, LayYYsvec+19, LayYYvstop+92, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:434:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+95, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:435:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+13, LayYYsvec+19, LayYYvstop+97, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:436:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+26, LayYYsvec+19, LayYYvstop+99, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:437:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+9, LayYYsvec+19, LayYYvstop+101, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:438:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+30, LayYYsvec+19, LayYYvstop+103, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:439:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+23, LayYYsvec+19, LayYYvstop+106, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:440:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+29, LayYYsvec+19, LayYYvstop+108, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:441:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+31, LayYYsvec+19, LayYYvstop+110, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:442:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+20, LayYYsvec+19, LayYYvstop+112, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:443:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+26, LayYYsvec+19, LayYYvstop+114, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:444:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+33, LayYYsvec+19, LayYYvstop+116, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:445:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+42, LayYYsvec+19, LayYYvstop+118, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:446:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+120, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:447:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+123, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:448:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+32, LayYYsvec+19, LayYYvstop+126, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:449:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+27, LayYYsvec+19, LayYYvstop+128, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:450:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+130, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:451:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+28, LayYYsvec+19, LayYYvstop+132, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:452:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+24, LayYYsvec+19, LayYYvstop+134, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:453:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+38, LayYYsvec+19, LayYYvstop+136, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:454:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+50, LayYYsvec+19, LayYYvstop+138, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:455:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+140, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:456:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+143, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:457:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+40, LayYYsvec+19, LayYYvstop+146, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:458:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+148, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:459:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, 0}; ^~~~~~~~~~~~~~~~~ { } 375 warnings generated. rm -f laylex.o clang -c -Os -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I. -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -DSUN_AUDIO -dynamic laylex.c laylex.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LayYYlex(){ ^ int laylex.c:74:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static initialised; ~~~~~~ ^ int laylex.c:85:1: warning: unused label 'LayYYfussy' [-Wunused-label] LayYYfussy: switch(nstr){ ^~~~~~~~~~~~ laylex.l:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count (s, c) ^ laylex.l:66:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ laylex.c:66:33: note: previous declaration is here static int count (char *s, char c); ^ laylex.l:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LayYYsetsource(s) ^ int laylex.l:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] laylex.l:79:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LayYYerror(s) ^ int laylex.l:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] laylex.l:100:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:317:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:317:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:317:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:317:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,3, 0,0, ^~~ { } laylex.l:318:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:318:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:318:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:318:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:319:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:319:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:319:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:319:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,4, 1,5, ^~~ { } laylex.l:320:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~~ { } laylex.l:320:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~~ { } laylex.l:320:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~ { } laylex.l:320:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8,27, 8,27, 0,0, 0,0, ^~~ { } laylex.l:321:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:321:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:321:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:321:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:322:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:323:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:324:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:325:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~ { } laylex.l:325:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~ { } laylex.l:325:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~ { } laylex.l:325:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,6, 0,0, 8,27, ^~~~ { } laylex.l:326:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:326:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:326:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:326:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,7, 1,8, 0,0, ^~~ { } laylex.l:327:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~ { } laylex.l:327:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~ { } laylex.l:327:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~~ { } laylex.l:327:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,9, 1,10, 1,11, ^~~~ { } laylex.l:328:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~~ { } laylex.l:328:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~ { } laylex.l:328:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~~ { } laylex.l:328:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,12, 0,0, 1,13, 0,0, ^~~ { } laylex.l:329:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~ { } laylex.l:329:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~ { } laylex.l:329:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~~ { } laylex.l:329:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,14, 1,15, 15,29, 15,29, ^~~~~ { } laylex.l:330:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:330:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:330:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:330:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:331:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15,29, 15,29, 15,29, 15,29, ^~~~~ { } laylex.l:332:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~ { } laylex.l:332:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~~ { } laylex.l:332:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~~ { } laylex.l:332:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 1,16, 1,17, 1,18, ^~~~ { } laylex.l:333:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~ { } laylex.l:333:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~ { } laylex.l:333:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~~ { } laylex.l:333:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 1,19, 2,6, ^~~ { } laylex.l:334:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:334:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:334:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:334:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 2,7, ^~~ { } laylex.l:335:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:335:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:335:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:335:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,8, 0,0, 0,0, 2,9, ^~~ { } laylex.l:336:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~~ { } laylex.l:336:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~~ { } laylex.l:336:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~~ { } laylex.l:336:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,10, 2,11, 2,12, 0,0, ^~~ { } laylex.l:337:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~~ { } laylex.l:337:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~ { } laylex.l:337:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~~ { } laylex.l:337:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,13, 0,0, 2,14, 31,31, ^~~~~ { } laylex.l:338:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:338:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:338:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:338:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:339:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 31,31, 31,31, 31,31, ^~~~~ { } laylex.l:340:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~~~ { } laylex.l:340:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~~ { } laylex.l:340:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~ { } laylex.l:340:19: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31,31, 1,20, 0,0, 2,16, ^~~~ { } laylex.l:341:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~~ { } laylex.l:341:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~~ { } laylex.l:341:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~ { } laylex.l:341:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,17, 2,18, 0,0, 0,0, ^~~ { } laylex.l:342:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:342:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:342:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:342:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:343:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~~ { } laylex.l:343:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~ { } laylex.l:343:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~ { } laylex.l:343:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57,60, 1,21, 1,22, 36,42, ^~~~~ { } laylex.l:344:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:344:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:344:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:344:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21,32, 23,35, 28,37, 34,40, ^~~~~ { } laylex.l:345:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~~ { } laylex.l:345:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~~ { } laylex.l:345:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~ { } laylex.l:345:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24,36, 32,38, 8,28, 38,43, ^~~~~ { } laylex.l:346:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~~ { } laylex.l:346:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~~ { } laylex.l:346:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~~ { } laylex.l:346:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39,44, 22,34, 21,33, 1,23, ^~~~ { } laylex.l:347:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~ { } laylex.l:347:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~~ { } laylex.l:347:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~~ { } laylex.l:347:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,24, 33,39, 35,41, 41,47, ^~~~~ { } laylex.l:348:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~ { } laylex.l:348:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~~ { } laylex.l:348:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~ { } laylex.l:348:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 1,25, 40,45, 1,26, 2,20, ^~~~ { } laylex.l:349:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:349:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:349:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:349:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40,46, 42,48, 43,49, 44,50, ^~~~~ { } laylex.l:350:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:350:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:350:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:350:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45,45, 46,51, 47,52, 48,53, ^~~~~ { } laylex.l:351:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~~ { } laylex.l:351:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~~ { } laylex.l:351:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~~ { } laylex.l:351:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 49,54, 50,55, 51,56, 2,21, ^~~~ { } laylex.l:352:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~ { } laylex.l:352:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~~ { } laylex.l:352:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~~ { } laylex.l:352:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,22, 52,57, 55,58, 56,59, ^~~~~ { } laylex.l:353:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:353:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:353:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:353:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58,61, 59,62, 60,63, 61,64, ^~~~~ { } laylex.l:354:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~~~ { } laylex.l:354:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~ { } laylex.l:354:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~ { } laylex.l:354:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 64,65, 0,0, 0,0, 0,0, ^~~ { } laylex.l:355:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~ { } laylex.l:355:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~~ { } laylex.l:355:12: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~~ { } laylex.l:355:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 2,23, 2,24, 0,0, ^~~ { } laylex.l:356:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~ { } laylex.l:356:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~ { } laylex.l:356:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~~ { } laylex.l:356:17: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 2,25, 0,0, ^~~ { } laylex.l:357:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~ { } laylex.l:357:7: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:357:14: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:357:21: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2,26, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:358:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:359:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~~~ { } laylex.l:359:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~~~ { } laylex.l:359:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~~~ { } laylex.l:359:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 0,0, ^~~ { } laylex.l:360:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:360:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:360:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:360:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:361:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~ { } laylex.l:361:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~ { } laylex.l:361:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:361:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:362:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:362:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:362:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:362:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:363:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:364:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:365:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:366:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:367:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:368:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:368:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:368:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:368:16: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 0,0, 0,0, ^~~ { } laylex.l:369:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:369:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~ { } laylex.l:369:13: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:369:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 0,0, 19,30, 19,30, ^~~~~ { } laylex.l:370:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:370:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:370:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:370:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:371:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:372:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:373:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:374:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:375:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19,30, 19,30, 19,30, 19,30, ^~~~~ { } laylex.l:376:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:376:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:376:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:376:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:377:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:378:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:379:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:380:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:381:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:382:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:382:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:382:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:382:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:383:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~ { } laylex.l:383:6: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~ { } laylex.l:383:11: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~~~ { } laylex.l:383:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0, 0,0, 20,31, 0,0, ^~~ { } laylex.l:384:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:384:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:384:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:384:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:385:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:386:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:387:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:388:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:389:22: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 20,31, 20,31, ^~~~~ { } laylex.l:390:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:390:8: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~~~ { } laylex.l:390:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:390:20: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20,31, 20,31, 0,0, 0,0, ^~~ { } laylex.l:391:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0,0}; ^~~ { } laylex.l:393:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, 0, ^~~~~~~~~~~~~~~~~ { } laylex.l:394:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+-1, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:395:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+-35, LayYYsvec+1, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:396:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:397:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+3, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:398:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+6, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:399:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+8, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:400:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+11, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:401:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+3, 0, LayYYvstop+14, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:402:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+17, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:403:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+20, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:404:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+23, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:405:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+26, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:406:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+29, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:407:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+32, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:408:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+2, 0, LayYYvstop+35, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:409:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+38, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:410:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+41, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:411:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+44, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:412:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+113, 0, LayYYvstop+47, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:413:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+171, 0, LayYYvstop+50, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:414:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+52, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:415:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+55, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:416:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, LayYYsvec+19, LayYYvstop+58, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:417:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+61, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:418:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+64, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:419:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+67, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:420:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+8, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:421:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:422:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+15, LayYYvstop+70, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:423:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+72, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:424:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+35, LayYYsvec+20, LayYYvstop+74, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:425:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, LayYYsvec+19, LayYYvstop+76, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:426:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+78, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:427:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+9, LayYYsvec+19, LayYYvstop+80, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:428:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+8, LayYYsvec+19, LayYYvstop+82, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:429:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+84, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:430:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, 0, LayYYvstop+86, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:431:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+12, LayYYsvec+19, LayYYvstop+88, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:432:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+11, LayYYsvec+19, LayYYvstop+90, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:433:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+23, LayYYsvec+19, LayYYvstop+92, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:434:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+95, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:435:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+13, LayYYsvec+19, LayYYvstop+97, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:436:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+26, LayYYsvec+19, LayYYvstop+99, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:437:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+9, LayYYsvec+19, LayYYvstop+101, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:438:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+30, LayYYsvec+19, LayYYvstop+103, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:439:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+23, LayYYsvec+19, LayYYvstop+106, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:440:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+29, LayYYsvec+19, LayYYvstop+108, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:441:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+31, LayYYsvec+19, LayYYvstop+110, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:442:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+20, LayYYsvec+19, LayYYvstop+112, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:443:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+26, LayYYsvec+19, LayYYvstop+114, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:444:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+33, LayYYsvec+19, LayYYvstop+116, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:445:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+42, LayYYsvec+19, LayYYvstop+118, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:446:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+120, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:447:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+123, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:448:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+32, LayYYsvec+19, LayYYvstop+126, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:449:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+27, LayYYsvec+19, LayYYvstop+128, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:450:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+7, LayYYsvec+19, LayYYvstop+130, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:451:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+28, LayYYsvec+19, LayYYvstop+132, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:452:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+24, LayYYsvec+19, LayYYvstop+134, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:453:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+38, LayYYsvec+19, LayYYvstop+136, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:454:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+50, LayYYsvec+19, LayYYvstop+138, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:455:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+140, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:456:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+143, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:457:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+40, LayYYsvec+19, LayYYvstop+146, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:458:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] LayYYcrank+0, LayYYsvec+19, LayYYvstop+148, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } laylex.l:459:1: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, 0}; ^~~~~~~~~~~~~~~~~ { } 375 warnings generated. rm -f libXaw3d.8.0.dylib~ + cd . + clang -o ./libXaw3d.8.0.dylib~ -dynamiclib -install_name /opt/pkg/lib/libXaw3d.8.dylib -current_version 8.0 -compatibility_version 8.0 AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o MultiSrc.o MultiSink.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Toggle.o Tree.o Vendor.o Viewport.o XawIm.o XawI18n.o XawInit.o Xpm.o laygram.o laylex.o -L/opt/pkg/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11 -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -lXpm ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXpm', '-lXt' ld: Undefined symbols: _wscpy, referenced from: _InsertNewLineAndIndent in TextAction.o _wslen, referenced from: __XawTextGetSTRING in Text.o __XawTextMBToWC in TextSrc.o _InsertNewLineAndIndent in TextAction.o _InsertNewLineAndIndent in TextAction.o _InsertNewLineAndIndent in TextAction.o _TransposeCharacters in TextAction.o __SelectionReceived in TextAction.o ... _wsncpy, referenced from: _LoadPieces in MultiSrc.o _ReplaceText in MultiSrc.o _ReplaceText in MultiSrc.o _Search in MultiSrc.o _StorePiecesInString in MultiSrc.o clang: error: linker command failed with exit code 1 (use -v to see invocation) + rm -f libXaw3d.8.dylib + ln -s libXaw3d.8.0.dylib libXaw3d.8.dylib + true + echo 'rm -f libXaw3d.8.0.dylib' rm -f libXaw3d.8.0.dylib + rm -f libXaw3d.8.0.dylib + echo 'mv -f libXaw3d.8.0.dylib~ libXaw3d.8.0.dylib' mv -f libXaw3d.8.0.dylib~ libXaw3d.8.0.dylib + mv -f libXaw3d.8.0.dylib~ libXaw3d.8.0.dylib mv: rename libXaw3d.8.0.dylib~ to libXaw3d.8.0.dylib: No such file or directory + exit 1 *** [libXaw3d.8.0.dylib] Error code 1 bmake: stopped in /Users/pbulk/build/x11/Xaw-Xpm/work/XawXpm 1 error bmake: stopped in /Users/pbulk/build/x11/Xaw-Xpm/work/XawXpm *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/x11/Xaw-Xpm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/x11/Xaw-Xpm