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

Fail with "cnip: preprocessor invocation failed" on large file #9

Open
malbarbo opened this issue Feb 23, 2021 · 1 comment
Open

Fail with "cnip: preprocessor invocation failed" on large file #9

malbarbo opened this issue Feb 23, 2021 · 1 comment

Comments

@malbarbo
Copy link

Description

Generate a large large file:

for i in $(seq 1 100000); do echo "int i$i;" >> a.c; done

Run cnip:

./cnip a.c

Get the error:

cnip: preprocessor invocation failed

Version

commit cb578e9d10c2cc67980e9f383f9afd542f784e17 (HEAD -> master, origin/master, origin/HEAD)
Author: Leandro T. C. Melo <[email protected]>
Date:   Mon Feb 22 10:24:11 2021 -0300

    add Psyche-C logo

Expected behavior

I would expect cnip run without any error.

@aytey
Copy link
Contributor

aytey commented Mar 21, 2021

It looks like this was fixed in:

* 21717af

but the build was broken, so works as of:

* 847c471

Currently this is hidden under the --cc-pp option, but still reproduces if you use --cc-pp.

aytey added a commit to aytey/psychec that referenced this issue Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants