Advertisement
GregLeblanc

Untitled

Apr 27th, 2022
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. $ make
  2. cc -o alphatross -Wno-deprecated-declarations -Wno-pointer-to-int-cast -g alphatross.c -I. -I /usr/include -I/usr/X11R6/LessTif/Motif1.2/include -L/usr/X11R6/lib -L/usr/lib/X11 -lXm -lXt -lX11 -lm
  3. In file included from alphatross.c:78:0:
  4. ./oual.h:63:1: warning: useless storage class specifier in empty declaration [enabled by default]
  5. };
  6. ^
  7. alphatross.c: In function ‘TimeOutCB’:
  8. alphatross.c:3852:57: warning: incompatible implicit declaration of built-in function ‘exp10’ [enabled by default]
  9. IGValue = 1.0 * exp10((atof(command) - 10.0));
  10. ^
  11. alphatross.c:4086:49: warning: incompatible implicit declaration of built-in function ‘exp10’ [enabled by default]
  12. IGValue = 1.0 * exp10((atof(command) - 10.0));
  13. ^
  14. alphatross.c:4781:9: warning: passing argument 3 of ‘XtAppAddTimeOut’ from incompatible pointer type [enabled by default]
  15. XtAppAddTimeOut(XtWidgetToApplicationContext(client_data), time, TimeOutCB, (XtPointer) client_data);
  16. ^
  17. In file included from /usr/include/Xm/Xm.h:59:0,
  18. from /usr/include/Xm/DrawingA.h:32,
  19. from alphatross.c:83:
  20. /usr/include/X11/Intrinsic.h:978:21: note: expected ‘XtTimerCallbackProc’ but argument is of type ‘void (*)(struct _WidgetRec *, XtIntervalId *)’
  21. extern XtIntervalId XtAppAddTimeOut(
  22. ^
  23. #cc -o alphatross -w -g alphatross.c -I. -I /usr/include -I/usr/X11R6/LessTif/Motif1.2/include -L/usr/X11R6/lib -L/usr/lib/X11 -lXm -lXt -lX11 -lm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement