rubund / graywolf

Other
107 stars 36 forks source link

trying to compile make command but got error #53

Open paramsaini opened 1 year ago

paramsaini commented 1 year ago

can anyone please help me out on this error. all fine till cmake .. command after that when I pass make install then this error generated.

-- Generating done -- Build files have been written to: /Users/paramsaini/graywolf/build (base) paramsaini@MacBook-Pro build % make install [ 1%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/assign.c.o /Users/paramsaini/graywolf/src/Ylib/assign.c:500:44: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf(stderr,"sum = %d, max = %d\n", sum, max ); ~~ ^~~ %ld /Users/paramsaini/graywolf/src/Ylib/assign.c:500:49: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf(stderr,"sum = %d, max = %d\n", sum, max ); ~~ ^~~ %ld /Users/paramsaini/graywolf/src/Ylib/assign.c:502:29: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf(stderr,"%d %d\n", j, capS[j]); ~~ ^ %ld /Users/paramsaini/graywolf/src/Ylib/assign.c:502:32: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf(stderr,"%d %d\n", j, capS[j]); ~~ ^~~ %ld /Users/paramsaini/graywolf/src/Ylib/assign.c:507:28: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf( stderr, "[%d]", cost_matrix[i][j]); ~~ ^~~~~ %ld /Users/paramsaini/graywolf/src/Ylib/assign.c:509:28: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf( stderr, " %d ", cost_matrix[i][j]); ~~ ^~~~~ %ld 6 warnings generated. [ 1%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/buster.c.o /Users/paramsaini/graywolf/src/Ylib/buster.c:327:48: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] sprintf(YmsgG,"%s @(%d,%d)\n", user_messageS, xx1, yy1 ); ~~ ^~~ %ld /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' builtin___sprintf_chk (str, 0, darwin_obsz(str), VA_ARGS) ^~~ /Users/paramsaini/graywolf/src/Ylib/buster.c:327:53: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] sprintf(YmsgG,"%s @(%d,%d)\n", user_messageS, xx1, yy1 ); ~~ ^~~ %ld /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' builtin_sprintf_chk (str, 0, darwin_obsz(str), __VA_ARGS) ^~~ /Users/paramsaini/graywolf/src/Ylib/buster.c:333:21: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] user_messageS, xx1, yy1 ); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' builtin___sprintf_chk (str, 0, darwin_obsz(str), VA_ARGS) ^~~ /Users/paramsaini/graywolf/src/Ylib/buster.c:333:26: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] user_messageS, xx1, yy1 ); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' builtin_sprintf_chk (str, 0, darwin_obsz(str), __VA_ARGS) ^~~ 4 warnings generated. [ 2%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/cleanup.c.o [ 2%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/colors.c.o [ 3%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/deck.c.o /Users/paramsaini/graywolf/src/Ylib/deck.c:114:1: warning: non-void function does not return a value [-Wreturn-type] } / end Ydeck_push / ^ /Users/paramsaini/graywolf/src/Ylib/deck.c:141:1: warning: non-void function does not return a value [-Wreturn-type] } / end Yadd2Deck / ^ /Users/paramsaini/graywolf/src/Ylib/deck.c:228:1: warning: non-void function does not return a value [-Wreturn-type] } ^ /Users/paramsaini/graywolf/src/Ylib/deck.c:239:1: warning: non-void function does not return a value [-Wreturn-type] } ^ /Users/paramsaini/graywolf/src/Ylib/deck.c:249:32: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf( stderr,"%d cards\n",deckPtr->size); ~~ ^~~~~ %ld /Users/paramsaini/graywolf/src/Ylib/deck.c:255:30: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf( stderr,"%d ", (INT)Ydeck_getData(deckPtr) ) ; ~~ ^~~~~~~ %ld /Users/paramsaini/graywolf/src/Ylib/deck.c:264:30: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat] fprintf( stderr,"%d ", (INT) Ydeck_getData(deckPtr) ) ; ~~ ^~~~~~~~ %ld /Users/paramsaini/graywolf/src/Ylib/deck.c:269:1: warning: non-void function does not return a value [-Wreturn-type] } / end Ydeck_dump / ^ 8 warnings generated. [ 3%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/dialog.c.o /Users/paramsaini/graywolf/src/Ylib/dialog.c:217:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( winstr = XGetDefault( dpyS, GRAPHICS, resource )){


/Users/paramsaini/graywolf/src/Ylib/dialog.c:217:16: note: place parentheses around the assignment to silence this warning
    if( winstr = XGetDefault( dpyS, GRAPHICS, resource )){
               ^
        (                                               )
/Users/paramsaini/graywolf/src/Ylib/dialog.c:217:16: note: use '==' to turn this assignment into an equality comparison
    if( winstr = XGetDefault( dpyS, GRAPHICS, resource )){
               ^
               ==
/Users/paramsaini/graywolf/src/Ylib/dialog.c:241:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if(font = XGetDefault( dpyS, GRAPHICS, resource )){
       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/dialog.c:241:13: note: place parentheses around the assignment to silence this warning
    if(font = XGetDefault( dpyS, GRAPHICS, resource )){
            ^
       (                                             )
/Users/paramsaini/graywolf/src/Ylib/dialog.c:241:13: note: use '==' to turn this assignment into an equality comparison
    if(font = XGetDefault( dpyS, GRAPHICS, resource )){
            ^
            ==
/Users/paramsaini/graywolf/src/Ylib/dialog.c:542:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        } else if( font_change = REVERT_FONT ){
                   ~~~~~~~~~~~~^~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/dialog.c:542:25: note: place parentheses around the assignment to silence this warning
        } else if( font_change = REVERT_FONT ){
                               ^
                   (                        )
/Users/paramsaini/graywolf/src/Ylib/dialog.c:542:25: note: use '==' to turn this assignment into an equality comparison
        } else if( font_change = REVERT_FONT ){
                               ^
                               ==
3 warnings generated.
[  4%] Building C object src/Ylib/CMakeFiles/ycadgraywolf.dir/draw.c.o
/Users/paramsaini/graywolf/src/Ylib/draw.c:502:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if( reply = XGetDefault( dpyS, GRAPHICS, "bw" )){
            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:502:12: note: place parentheses around the assignment to silence this warning
        if( reply = XGetDefault( dpyS, GRAPHICS, "bw" )){
                  ^
            (                                          )
/Users/paramsaini/graywolf/src/Ylib/draw.c:502:12: note: use '==' to turn this assignment into an equality comparison
        if( reply = XGetDefault( dpyS, GRAPHICS, "bw" )){
                  ^
                  ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:513:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if(font = XGetDefault( dpyS, GRAPHICS, "font" )){
       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:513:13: note: place parentheses around the assignment to silence this warning
    if(font = XGetDefault( dpyS, GRAPHICS, "font" )){
            ^
       (                                           )
/Users/paramsaini/graywolf/src/Ylib/draw.c:513:13: note: use '==' to turn this assignment into an equality comparison
    if(font = XGetDefault( dpyS, GRAPHICS, "font" )){
            ^
            ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:527:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if( reply = XGetDefault( dpyS, GRAPHICS, "stipple" )){
        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:527:15: note: place parentheses around the assignment to silence this warning
    if( reply = XGetDefault( dpyS, GRAPHICS, "stipple" )){
              ^
        (                                               )
/Users/paramsaini/graywolf/src/Ylib/draw.c:527:15: note: use '==' to turn this assignment into an equality comparison
    if( reply = XGetDefault( dpyS, GRAPHICS, "stipple" )){
              ^
              ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:533:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if( reply = XGetDefault( dpyS, GRAPHICS, "rectangle_fill" )){
        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:533:15: note: place parentheses around the assignment to silence this warning
    if( reply = XGetDefault( dpyS, GRAPHICS, "rectangle_fill" )){
              ^
        (                                                      )
/Users/paramsaini/graywolf/src/Ylib/draw.c:533:15: note: use '==' to turn this assignment into an equality comparison
    if( reply = XGetDefault( dpyS, GRAPHICS, "rectangle_fill" )){
              ^
              ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:539:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if( reply = XGetDefault( dpyS, GRAPHICS, "arbitrary_fill" )){
        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:539:15: note: place parentheses around the assignment to silence this warning
    if( reply = XGetDefault( dpyS, GRAPHICS, "arbitrary_fill" )){
              ^
        (                                                      )
/Users/paramsaini/graywolf/src/Ylib/draw.c:539:15: note: use '==' to turn this assignment into an equality comparison
    if( reply = XGetDefault( dpyS, GRAPHICS, "arbitrary_fill" )){
              ^
              ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:545:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if( reply = XGetDefault( dpyS, GRAPHICS, "reverse" )){
        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:545:15: note: place parentheses around the assignment to silence this warning
    if( reply = XGetDefault( dpyS, GRAPHICS, "reverse" )){
              ^
        (                                               )
/Users/paramsaini/graywolf/src/Ylib/draw.c:545:15: note: use '==' to turn this assignment into an equality comparison
    if( reply = XGetDefault( dpyS, GRAPHICS, "reverse" )){
              ^
              ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:552:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if( reply = XGetDefault( dpyS, GRAPHICS, "wait_time" )){
        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:552:15: note: place parentheses around the assignment to silence this warning
    if( reply = XGetDefault( dpyS, GRAPHICS, "wait_time" )){
              ^
        (                                                 )
/Users/paramsaini/graywolf/src/Ylib/draw.c:552:15: note: use '==' to turn this assignment into an equality comparison
    if( reply = XGetDefault( dpyS, GRAPHICS, "wait_time" )){
              ^
              ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:560:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if( winstr = XGetDefault( dpyS, GRAPHICS, "geometry" )){
        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:560:16: note: place parentheses around the assignment to silence this warning
    if( winstr = XGetDefault( dpyS, GRAPHICS, "geometry" )){
               ^
        (                                                 )
/Users/paramsaini/graywolf/src/Ylib/draw.c:560:16: note: use '==' to turn this assignment into an equality comparison
    if( winstr = XGetDefault( dpyS, GRAPHICS, "geometry" )){
               ^
               ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:931:1: warning: non-void function does not return a value [-Wreturn-type]
} /* end set_clip_window() */ 
^
/Users/paramsaini/graywolf/src/Ylib/draw.c:949:43: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
    sprintf( YmsgG, "new center - %d,%d", x1, y1 ) ;
                                  ~~      ^~
                                  %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:949:47: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
    sprintf( YmsgG, "new center - %d,%d", x1, y1 ) ;
                                     ~~       ^~
                                     %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1189:1: warning: non-void function does not return a value [-Wreturn-type]
} /* end initcolor */
^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1198:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            sprintf( YmsgG, "Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1201:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            fprintf( stderr,"Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Users/paramsaini/graywolf/src/Ylib/draw.c:1238:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            sprintf( YmsgG, "Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1241:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            fprintf( stderr,"Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Users/paramsaini/graywolf/src/Ylib/draw.c:1243:2: error: non-void function 'drawDLine' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1245:2: error: non-void function 'drawDLine' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1255:6: error: non-void function 'drawDLine' should return a value [-Wreturn-type]
            return ;
            ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1295:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            sprintf( YmsgG, "Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1298:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            fprintf( stderr,"Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Users/paramsaini/graywolf/src/Ylib/draw.c:1300:2: error: non-void function 'drawDRect' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1302:2: error: non-void function 'drawDRect' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1307:6: error: non-void function 'drawDRect' should return a value [-Wreturn-type]
            return ;
            ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1432:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            sprintf( YmsgG, "Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1435:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            fprintf( stderr,"Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Users/paramsaini/graywolf/src/Ylib/draw.c:1437:2: error: non-void function 'drawDArb' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1439:2: error: non-void function 'drawDArb' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1464:6: error: non-void function 'drawDArb' should return a value [-Wreturn-type]
            return ;
            ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:1613:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if( press = XCheckTypedWindowEvent( dpyS,drawS,
            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1613:12: note: place parentheses around the assignment to silence this warning
        if( press = XCheckTypedWindowEvent( dpyS,drawS,
                  ^
            (
/Users/paramsaini/graywolf/src/Ylib/draw.c:1613:12: note: use '==' to turn this assignment into an equality comparison
        if( press = XCheckTypedWindowEvent( dpyS,drawS,
                  ^
                  ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:1983:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            sprintf( YmsgG, "Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:1986:57: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            fprintf( stderr,"Color number:%d is out of range", color ) ;
                                          ~~                   ^~~~~
                                          %ld
/Users/paramsaini/graywolf/src/Ylib/draw.c:2067:52: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
    sprintf( filename, "%s/cell.bin.%d", dirNameS, frameCountS ) ;
                                    ~~             ^~~~~~~~~~~
                                    %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:2072:51: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
    sprintf( filename, "%s/net.bin.%d", dirNameS, frameCountS ) ;
                                   ~~             ^~~~~~~~~~~
                                   %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:2077:52: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
    sprintf( filename, "%s/symb.bin.%d", dirNameS, frameCountS ) ;
                                    ~~             ^~~~~~~~~~~
                                    %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:2109:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if( excess = numCharS % 4 ){
            ~~~~~~~^~~~~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:2109:13: note: place parentheses around the assignment to silence this warning
        if( excess = numCharS % 4 ){
                   ^
            (                    )
/Users/paramsaini/graywolf/src/Ylib/draw.c:2109:13: note: use '==' to turn this assignment into an equality comparison
        if( excess = numCharS % 4 ){
                   ^
                   ==
/Users/paramsaini/graywolf/src/Ylib/draw.c:2145:50: warning: format specifies type 'int' but the argument has type 'INT' (aka 'long') [-Wformat]
            sprintf( fileName,"%s/cell.bin.%d",dirNameS,frameCountS ) ;
                                           ~~           ^~~~~~~~~~~
                                           %ld
/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:2170:2: error: non-void function 'drawWLine' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:2177:6: error: non-void function 'drawWLine' should return a value [-Wreturn-type]
            return ;
            ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:2227:2: error: non-void function 'drawWRect' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:2234:6: error: non-void function 'drawWRect' should return a value [-Wreturn-type]
            return ;
            ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:2278:2: error: non-void function 'drawWArb' should return a value [-Wreturn-type]
        return ;
        ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:2285:6: error: non-void function 'drawWArb' should return a value [-Wreturn-type]
            return ;
            ^
/Users/paramsaini/graywolf/src/Ylib/draw.c:2292:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while( bustptr = Ybuster() ){
           ~~~~~~~~^~~~~~~~~~~
/Users/paramsaini/graywolf/src/Ylib/draw.c:2292:20: note: place parentheses around the assignment to silence this warning
    while( bustptr = Ybuster() ){
                   ^
           (                  )
/Users/paramsaini/graywolf/src/Ylib/draw.c:2292:20: note: use '==' to turn this assignment into an equality comparison
    while( bustptr = Ybuster() ){
                   ^
                   ==
29 warnings and 15 errors generated.
make[2]: *** [src/Ylib/CMakeFiles/ycadgraywolf.dir/draw.c.o] Error 1
make[1]: *** [src/Ylib/CMakeFiles/ycadgraywolf.dir/all] Error 2
make: *** [all] Error 2
(base) paramsaini@MacBook-Pro build % 
Skipper1Z commented 4 months ago

yep i got the same error