Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find include file in current directory #39

Open
huangguiyang opened this issue Jul 18, 2017 · 2 comments
Open

Can't find include file in current directory #39

huangguiyang opened this issue Jul 18, 2017 · 2 comments

Comments

@huangguiyang
Copy link

The newest pull.

@wgtdkp
Copy link
Owner

wgtdkp commented Jul 18, 2017

gang gang zai wo de dian nao shang mian hai shi hao hao de......

@huangguiyang
Copy link
Author

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"
百姓无不怀念我大清

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants