===> Building for emiclock-2.0.2nb7 rm -f main.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSIGTYPE=void main.c main.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ main.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NonX11Syntax(argc, argv) ^ main.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] AfterXtInitSyntax(argc, argv, isNossound) ^ main.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetIcon(w) ^ main.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HourlyChimeCallback(w, client_data, call_data) ^ main.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] HalfHourChimeCallback(w, client_data, call_data) ^ main.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlarmCallback(w, client_data, call_data) ^ main.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Quit(w, event, params, num_params) ^ main.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] IOError(display) ^ main.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] ProgramExit(status) ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c EmiClock.c EmiClock.c:315:2: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] (int)NULL , /* dummy */ ^~~~~~~~~ EmiClock.c:326: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) ^ EmiClock.c:390: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) ^ EmiClock.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenCursor(w) ^ EmiClock.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmiClockRandomInit(w) ^ EmiClock.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] AllocAllColorCells(w) ^ EmiClock.c:564: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, attrs) ^ EmiClock.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] DrawHand(w, tm) ^ EmiClock.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerBasePixmapGen(w, tm) ^ EmiClock.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsSqueeze(w, tm) ^ EmiClock.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SqueezeCharPixmap(w, charPixmap, tm) ^ EmiClock.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] NewTime(w) ^ EmiClock.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] NewInterval(w) ^ EmiClock.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerDraw(w, tm) ^ EmiClock.c:1092:6: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)(w->emiclock.charNo)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EmiClock.c:1099:6: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)(w->emiclock.charNo)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EmiClock.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] DressUp(w) ^ EmiClock.c:1150: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) ^ EmiClock.c:1176: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) ^ EmiClock.c:1198: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) ^ EmiClock.c:1308:6: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)(cold->emiclock.charNo)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EmiClock.c:1312:6: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)(cnew->emiclock.charNo)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EmiClock.c:1328: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, proposed, answer) ^ EmiClock.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerButtonPress(w, event, params, numParams) ^ EmiClock.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerButtonRelease(w, event, params, numParams) ^ EmiClock.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseTimer(w, event, params, numParams) ^ EmiClock.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RepaintTimer(w, event, params, numParams) ^ EmiClock.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenPixmapAndDraw(w) ^ EmiClock.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateTimer(w) ^ EmiClock.c:1457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPixelTable(w) ^ EmiClock.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetNeko1Curs(w) ^ 31 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c menu.c menu.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] CreatePopupMenu(w) ^ menu.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] CreateMainMenu(w) ^ menu.c:288:56: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAddCallback(entry, XtNcallback, MainMenuSelect, (XtPointer)i); ^~~~~~~~~~~~ menu.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MainMenuSelect(w, client_data, call_data) ^ menu.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] CreateOptionSubMenu(w) ^ menu.c:373:38: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtNcallback, OptionSubMenuSelect, (XtPointer)i); ^~~~~~~~~~~~ menu.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OptionSubMenuSelect(w, client_data, call_data) ^ menu.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateChimeSubMenu(w) ^ menu.c:466:37: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtNcallback, ChimeSubMenuSelect, (XtPointer)i); ^~~~~~~~~~~~ menu.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateHourlyChimeDialog(w, dialog, toggle) ^ menu.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HourlyChimeDialogOk(w, client_data, call_data) ^ menu.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] HourlyChimeDialogCancel(w, client_data, call_data) ^ menu.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HourlyChimeDialogToggle(w, client_data, call_data) ^ menu.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] HourlyChimeDialogSound(w, client_data, call_data) ^ menu.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateHalfHourChimeDialog(w, dialog, toggle) ^ menu.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HalfHourChimeDialogOk(w, client_data, call_data) ^ menu.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HalfHourChimeDialogCancel(w, client_data, call_data) ^ menu.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HalfHourChimeDialogToggle(w, client_data, call_data) ^ menu.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HalfHourChimeDialogSound(w, client_data, call_data) ^ menu.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateNoteAlarmDialog(w, dialog, toggle) ^ menu.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoteAlarmDialogOk(w, client_data, call_data) ^ menu.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoteAlarmDialogCancel(w, client_data, call_data) ^ menu.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoteAlarmDialogToggle(w, client_data, call_data) ^ menu.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] NoteAlarmDialogSound(w, client_data, call_data) ^ menu.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateAlarmSettingsDialog(w) ^ menu.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OneTimeToggle(w, client_data, call_data) ^ menu.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] OneTimeButton(w, client_data, call_data) ^ menu.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DailyAlarmToggle(w, client_data, call_data) ^ menu.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DailyAlarmButton(w, client_data, call_data) ^ menu.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlarmSettingsDialogOk(w, client_data, call_data) ^ menu.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlarmSettingsDialogCancel(w, client_data, call_data) ^ menu.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChimeSubMenuSelect(w, client_data, call_data) ^ menu.c:1200:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int menuNo = (int)client_data; ^~~~~~~~~~~~~~~~ menu.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateCostumesSubMenu(w) ^ menu.c:1273:39: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtNcallback, CostumesSubMenuSelect, (XtPointer)i); ^~~~~~~~~~~~ menu.c:1331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharMenuCheckItemClear(w, client_data, call_data) ^ menu.c:1336:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int charNo = (int)call_data; ^~~~~~~~~~~~~~ menu.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharMenuCheckItemSet(w, client_data, call_data) ^ menu.c:1353:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int charNo = (int)call_data; ^~~~~~~~~~~~~~ menu.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanTransparent(w, client_data, call_data) ^ menu.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CostumesSubMenuSelect(w, client_data, call_data) ^ menu.c:1420:37: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] XtVaSetValues(emiclock, XtNcharNo, (int)client_data, NULL); ^~~~~~~~~~~~~~~~ menu.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateFaceSubMenu(w) ^ menu.c:1452:36: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtNcallback, FaceSubMenuSelect, (XtPointer)i); ^~~~~~~~~~~~ menu.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FaceSubMenuSelect(w, client_data, call_data) ^ menu.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateAboutDialog(w) ^ menu.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceMainMenu(w, event, params, numParams) ^ menu.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceMenu(w) ^ menu.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustRoot(w) ^ menu.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateCreditPixmap(w, no) ^ menu.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] RedrawCreditPicture(w, event, params, numParams) ^ menu.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DialogButtonPress(w, event, params, numParams) ^ menu.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] SetNeko1Curs(w, event, params, numParams) ^ menu.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileNotFoundDialog(w) ^ menu.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileNotFoundDialogOk(w, client_data, call_data) ^ menu.c:1855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DialogSoundTest(w, client_data, call_data) ^ menu.c:1876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlarmDialogPopup(w) ^ menu.c:1901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlarmDialogOk(w, client_data, call_data) ^ menu.c:1915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CenterMenu(w) ^ 59 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c gengine.c gengine.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PImage2XImage(w, cmap, pImage, appPixelTable, pixels, npixels, ^ gengine.c:88:22: warning: variable 'padding' set but not used [-Wunused-but-set-variable] int pixelSize, padding; ^ gengine.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] UncompressPixel(image, pImage) ^ gengine.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] BitmapTable2Pixmap(w, bitmapTable) ^ gengine.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocPImageCollors(w, cmap, pImage) ^ gengine.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSpecialAppPixel(appPixelTable, pixel) ^ gengine.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XeFreeColors(display, cmap, appPixelTable, pixels, npixels, planes) ^ gengine.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SqueezePixmapWidth(w, gc, pixmap, rate) ^ 8 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c gdata_cbase.c gdata_cbase.c:83:36: warning: initializing 'char *' with an expression of type 'unsigned char[2227]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { cbase3_width, cbase3_height, cbase3_bits, }, ^~~~~~~~~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c gdata_char.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c gdata_cmono.c gdata_cmono.c:83:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char01_width, char01_height, char01_bits, }, ^~~~~~~~~~~ gdata_cmono.c:84:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char02_width, char02_height, char02_bits, }, ^~~~~~~~~~~ gdata_cmono.c:85:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char03_width, char03_height, char03_bits, }, ^~~~~~~~~~~ gdata_cmono.c:86:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char04_width, char04_height, char04_bits, }, ^~~~~~~~~~~ gdata_cmono.c:87:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char05_width, char05_height, char05_bits, }, ^~~~~~~~~~~ gdata_cmono.c:88:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char06_width, char06_height, char06_bits, }, ^~~~~~~~~~~ gdata_cmono.c:89:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char07_width, char07_height, char07_bits, }, ^~~~~~~~~~~ gdata_cmono.c:90:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char08_width, char08_height, char08_bits, }, ^~~~~~~~~~~ gdata_cmono.c:91:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char09_width, char09_height, char09_bits, }, ^~~~~~~~~~~ gdata_cmono.c:92:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char10_width, char10_height, char10_bits, }, ^~~~~~~~~~~ gdata_cmono.c:93:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char11_width, char11_height, char11_bits, }, ^~~~~~~~~~~ gdata_cmono.c:94:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char12_width, char12_height, char12_bits, }, ^~~~~~~~~~~ gdata_cmono.c:95:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char13_width, char13_height, char13_bits, }, ^~~~~~~~~~~ gdata_cmono.c:96:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char14_width, char14_height, char14_bits, }, ^~~~~~~~~~~ gdata_cmono.c:97:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char15_width, char15_height, char15_bits, }, ^~~~~~~~~~~ gdata_cmono.c:98:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char16_width, char16_height, char16_bits, }, ^~~~~~~~~~~ gdata_cmono.c:99:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char17_width, char17_height, char17_bits, }, ^~~~~~~~~~~ gdata_cmono.c:100:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char18_width, char18_height, char18_bits, }, ^~~~~~~~~~~ gdata_cmono.c:101:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char19_width, char19_height, char19_bits, }, ^~~~~~~~~~~ gdata_cmono.c:102:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char20_width, char20_height, char20_bits, }, ^~~~~~~~~~~ gdata_cmono.c:103:36: warning: initializing 'char *' with an expression of type 'unsigned char[610]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { char21_width, char21_height, char21_bits, }, ^~~~~~~~~~~ 21 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c credit.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c credit_mono.c rm -f sound.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED '-DSOUND_DIRECTORY="/opt/pkg/lib/X11/EmiClock"' '-DSTARTUP_SOUND="StartupSound"' sound.c sound.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] StoreHourlyChimeFileName(filename) ^ sound.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StoreHalfHourChimeFileName(filename) ^ sound.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] StoreAlarmFileName(filename) ^ sound.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] FreeCacheSound(cacheBufferPtr) ^ sound.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsSoundFileExist(filename) ^ sound.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SoundTest(filename) ^ In file included from sound.c:54: ./include/sound.h:319:13: warning: unused function 'S_SoundEnvInit' [-Wunused-function] static void S_SoundEnvInit __P((void)); ^ ./include/sound.h:320:16: warning: unused function 'S_IsSoundAvailable' [-Wunused-function] static Boolean S_IsSoundAvailable __P((void)); ^ ./include/sound.h:321:12: warning: unused function 'S_PlaySound' [-Wunused-function] static int S_PlaySound __P((char *)); ^ ./include/sound.h:322:16: warning: unused function 'S_IsSoundCacheAvailable' [-Wunused-function] static Boolean S_IsSoundCacheAvailable __P((void)); ^ ./include/sound.h:323:12: warning: unused function 'S_CacheSound' [-Wunused-function] static int S_CacheSound __P((char *, SoundCacheBuffer *)); ^ ./include/sound.h:324:12: warning: unused function 'S_PlayCacheSound' [-Wunused-function] static int S_PlayCacheSound __P((SoundCacheBuffer *)); ^ ./include/sound.h:325:13: warning: unused function 'S_FreeCacheSound' [-Wunused-function] static void S_FreeCacheSound __P((SoundCacheBuffer *)); ^ ./include/sound.h:326:13: warning: unused function 'S_SoundEnvDispose' [-Wunused-function] static void S_SoundEnvDispose __P((void)); ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c rcfile.c rcfile.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CantWrite(fp, rcFileName) ^ rcfile.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RestoreRCFile(rcData) ^ rcfile.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] GetToken(fp, tokenStr) ^ rcfile.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWord(fp, tokenStr) ^ rcfile.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ValueWarning(value, rcFileName, keyword) ^ rcfile.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoValueWarning(rcFileName, keyword) ^ rcfile.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SoundFileWarning(soundFileName, rcFileName, keyword) ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c misc.c misc.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FatalError(message) ^ misc.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsFileExist(filename) ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c CascadeMenu.c CascadeMenu.c:176: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) ^ CascadeMenu.c:68: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(); ^ CascadeMenu.c:186: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) ^ CascadeMenu.c:68:13: warning: a function declaration without a prototype is deprecated in 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(); ^ CascadeMenu.c:208:21: warning: passing arguments to 'PushCascadeStack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushCascadeStack(w); ^ CascadeMenu.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] Redisplay(w, event, region) ^ CascadeMenu.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 Redisplay(), Realize(), Resize(), ChangeManaged(); ^ CascadeMenu.c:215: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) ^ CascadeMenu.c:67: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(); ^ CascadeMenu.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] Resize(w) ^ CascadeMenu.c:67: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(); ^ CascadeMenu.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] SetValues(current, request, new, args, num_args) ^ CascadeMenu.c:69: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(); ^ CascadeMenu.c:243: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) ^ CascadeMenu.c:69: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(); ^ CascadeMenu.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] GeometryManager(w, request, reply) ^ CascadeMenu.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 XtGeometryResult GeometryManager(); ^ CascadeMenu.c:266: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) ^ CascadeMenu.c:67: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(); ^ CascadeMenu.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PushCascadeStack(w) ^ CascadeMenu.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 PushCascadeStack(); ^ CascadeMenu.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CascadePopup(w, event, params, num_params) ^ CascadeMenu.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 CascadePopup(), CascadePopdown(), CascadeSelect(); ^ CascadeMenu.c:401:17: warning: passing arguments to 'CascadePopdown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CascadePopdown(w, event, params, num_params); ^ CascadeMenu.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CascadeSelect(w, event, params, num_params) ^ CascadeMenu.c:76: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 CascadePopup(), CascadePopdown(), CascadeSelect(); ^ CascadeMenu.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] CascadePopdown(w, event, params, num_params) ^ CascadeMenu.c:76: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 CascadePopup(), CascadePopdown(), CascadeSelect(); ^ CascadeMenu.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CascadeEnter(w, event, params, num_params) ^ CascadeMenu.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 CascadeEnter(), CascadeLeave(); ^ CascadeMenu.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CascadeLeave(w, event, params, num_params) ^ CascadeMenu.c:77: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 CascadeEnter(), CascadeLeave(); ^ 32 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c version.c rm -f emiclock._man if test -z "" ; then cd `dirname emiclock` && ln -s `basename emiclock.man` `basename emiclock._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < emiclock.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >emiclock._man; fi cp resources/Xaw/EmiClock.ad . rm -f emiclock clang -o emiclock -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib main.o EmiClock.o menu.o gengine.o gdata_cbase.o gdata_char.o gdata_cmono.o credit.o credit_mono.o sound.o rcfile.o misc.o CascadeMenu.o version.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm