Advertisement
pwned8k

niSH is back!

Jan 27th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None | 0 0
  1. bash-3.2$ g++ NISH_CODE.cc -I . -o test
  2. NISH_CODE.cc:1:20: warning: extra tokens at end of #include directive
  3.       [-Wextra-tokens]
  4. #include <iostream>;
  5.                    ^
  6.                    //
  7. NISH_CODE.cc:2:19: warning: extra tokens at end of #include directive
  8.       [-Wextra-tokens]
  9. #include <fstream>;
  10.                   ^
  11.                   //
  12. NISH_CODE.cc:3:18: warning: extra tokens at end of #include directive
  13.       [-Wextra-tokens]
  14. #include <string>;
  15.                  ^
  16.                  //
  17. NISH_CODE.cc:4:18: warning: extra tokens at end of #include directive
  18.       [-Wextra-tokens]
  19. #include <vector>;
  20.                  ^
  21.                  //
  22. NISH_CODE.cc:5:20: warning: extra tokens at end of #include directive
  23.       [-Wextra-tokens]
  24. #include <signal.h>;
  25.                    ^
  26.                    //
  27. NISH_CODE.cc:6:17: warning: extra tokens at end of #include directive
  28.       [-Wextra-tokens]
  29. #include <ctime>;
  30.                 ^
  31.                 //
  32. NISH_CODE.cc:7:19: warning: extra tokens at end of #include directive
  33.       [-Wextra-tokens]
  34. #include <sstream>;
  35.                   ^
  36.                   //
  37. NISH_CODE.cc:8:27: warning: extra tokens at end of #include directive
  38.       [-Wextra-tokens]
  39. #include "KERNEL_HEADER.h";
  40.                           ^
  41.                           //
  42. NISH_CODE.cc:249:1: warning: control may reach end of non-void function
  43.       [-Wreturn-type]
  44. }
  45. ^
  46. 9 warnings generated.
  47. bash-3.2$ ./test
  48. niSH# echo testing
  49. testing   niSH# parrot KERNEL_HEADER.h
  50. Parrot Beta 1: Written for niSH.
  51. #ifndef KERNEL_HEADER_H
  52. #define KERNEL_HEADER_H
  53.  
  54. std::string HACK_STRING="58cty87fyb8xby48";
  55. int RUN_SCRIPT_LINE(std::string LINE);
  56. int DOWN();
  57. int SPAWN(char SCRIPT[1024]);
  58.  
  59. #endif
  60. niSH# time
  61. 12:50
  62. niSH# down
  63. bash-3.2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement