Guest User

Untitled

a guest
Jun 19th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $ make conftest
  2. cc -O2 -pipe conftest.c -o conftest
  3. conftest.c:7:5: error: conflicting types for 'test'
  4. int test(fmt)
  5. ^
  6. conftest.c:4:5: note: previous declaration is here
  7. int test(char*,...);
  8. ^
  9. conftest.c:14:2: error: 'va_start' used in function with fixed args
  10. va_start(ap,fmt);
  11. ^
  12. /usr/include/stdarg.h:45:2: note: instantiated from:
  13. __builtin_va_start((ap), (last))
  14. ^
  15. 3 diagnostics generated.
  16. *** Error code 1
  17.  
  18. Stop in /home/ed.
Add Comment
Please, Sign In to add comment