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

Include empty header file gives unable to read included file error #53

Closed
TBladen opened this issue Apr 3, 2018 · 0 comments
Closed
Labels

Comments

@TBladen
Copy link
Contributor

TBladen commented Apr 3, 2018

Including a header file that exists but is empty produces the following error:

unable to read included file

This can be reproduced by adding an empty include_helper_empty.h to the feature test directory, and adding the following include to tests/feature_tests/include.c:
#include "include_helper_empty.h"

Even just adding an empty comment to the empty file fixes this bug.

Discovered while I was looking at #37

@TBladen TBladen changed the title Include empty file Include empty header file gives unable to read included file error Apr 3, 2018
TBladen added a commit to TBladen/ShivyC that referenced this issue Apr 3, 2018
TBladen added a commit to TBladen/ShivyC that referenced this issue Apr 4, 2018
splasky pushed a commit to splasky/ShivyC that referenced this issue Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants