Created
February 18, 2022 02:45
-
-
Save DennisPing/f6ad123b89c993d3855e7bf3f58e33b2 to your computer and use it in GitHub Desktop.
Lab 2: Unable to compile (make) the baseline code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Doc/CS56/lab2-DennisPing main ❯ make | |
+ cc cmdparse.c | |
cmdparse.c: In function ‘cmd_line_parse’: | |
cmdparse.c:387:40: error: implicit conversion from ‘tokentype_t’ to ‘controlop_t’ [-Werror=enum-conversion] | |
387 | cmd->controlop = token.type; | |
| ^ | |
cmdparse.c:392:40: error: implicit conversion from ‘tokentype_t’ to ‘controlop_t’ [-Werror=enum-conversion] | |
392 | cmd->controlop = token.type; | |
| ^ | |
cc1: all warnings being treated as errors | |
make: *** [Makefile:17: cmdparse.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment