wgtcc
wgtcc copied to clipboard
Can't find include file in current directory
The newest pull.
gang gang zai wo de dian nao shang mian hai shi hao hao de......
I know why: just include the file itself will reproduce this bug.
➜ wgtcc git:(master) git log
commit 89c101e1027c0774d3130860c8cb5ed314f1b09b
Author: wgtdkp <[email protected]>
Date: Fri Jul 14 23:01:39 2017 +0800
fix bug: no checking for return type of function call
➜ wgtcc git:(master) ✗ ll
total 40
-rw-r--r-- 1 mario staff 15B 7 18 09:56 2.c
-rw-r--r-- 1 mario staff 1.0K 6 6 17:18 LICENSE
-rw-r--r-- 1 mario staff 2.2K 7 18 09:36 README.md
drwxr-xr-x 5 mario staff 170B 6 6 17:18 doc
drwxr-xr-x 5 mario staff 170B 6 6 17:18 example
-rw-r--r-- 1 mario staff 446B 6 6 17:18 gnu-extension.txt
drwxr-xr-x 10 mario staff 340B 6 6 17:18 include
drwxr-xr-x 31 mario staff 1.0K 7 18 09:36 src
drwxr-xr-x 48 mario staff 1.6K 7 18 09:36 test
➜ wgtcc git:(master) ✗ cat 2.c
#include "2.c"
百姓无不怀念我大清