Facebook
From me, 2 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 76
  1. ====================[ Build | spl | Debug ]=====================================
  2. /snap/clion/209/bin/cmake/linux/bin/cmake --build /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/cmake-build-debug --target spl -j 6
  3. [2/4] Building C object CMakeFiles/spl.dir/src/main.c.o
  4. FAILED: CMakeFiles/spl.dir/src/main.c.o
  5. /usr/bin/cc  -I/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src -I/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/cmake-build-debug/generated-sources -I/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c -g -Wall -Wextra -std=gnu11 -MD -MT CMakeFiles/spl.dir/src/main.c.o -MF CMakeFiles/spl.dir/src/main.c.o.d -o CMakeFiles/spl.dir/src/main.c.o -c /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c
  6. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c: In function ‘tokenPosition’:
  7. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c:21:27: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
  8.    21 |             return yylval.identVal.position;
  9.       |                           ^~~~~~~~
  10.       |                           intVal
  11. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c: In function ‘printToken’:
  12. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c:38:53: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
  13.    38 |             fprintf(out, ", value = \"%s\"", yylval.identVal.val->string);
  14.       |                                                     ^~~~~~~~
  15.       |                                                     intVal
  16. [3/4] Building C object CMakeFiles/spl.dir/generated-sources/phases/_01_scanner/scanner.c.o
  17. FAILED: CMakeFiles/spl.dir/generated-sources/phases/_01_scanner/scanner.c.o
  18. /usr/bin/cc  -I/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src -I/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/cmake-build-debug/generated-sources -I/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c -g -Wall -Wextra -std=gnu11 -MD -MT CMakeFiles/spl.dir/generated-sources/phases/_01_scanner/scanner.c.o -MF CMakeFiles/spl.dir/generated-sources/phases/_01_scanner/scanner.c.o.d -o CMakeFiles/spl.dir/generated-sources/phases/_01_scanner/scanner.c.o -c /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/cmake-build-debug/generated-sources/phases/_01_scanner/scanner.c
  19. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex: In function ‘symbolIdentVal’:
  20. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:78:16: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
  21.    78 |      * @param value The identifier that was detected. (Use newIdentifier(char* string) to construct an Identifier from yytext)
  22.       |                ^~~~~~~~
  23.       |                intVal
  24. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:80:16: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
  25.    80 |      */
  26.       |                ^      
  27.       |                intVal
  28. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex: In function ‘yylex’:
  29. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:143:38: warning: passing argument 2 of ‘symbolIdentVal’ makes pointer from integer without a cast [-Wint-conversion]
  30.   143 | ['] {return symbolIdentVal(IDENT, newIdentifier(yytext));}
  31.       |                                ~~~~~~^~~
  32.       |                                      |
  33.       |                                      char
  34. /home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:77:53: note: expected ‘Identifier *’ {aka ‘struct identifier *’} but argument is of type ‘char’
  35.    77 |      * @param type The token type that was detected (should always be IDENT).
  36.       |                                         ~~~~~~~~~~~~^~~~~
  37. ninja: build stopped: subcommand failed.
  38.