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

uni5_for.c:3298:28: error: 'j' undeclared #51

Closed
bradbell opened this issue Jul 17, 2023 · 1 comment
Closed

uni5_for.c:3298:28: error: 'j' undeclared #51

bradbell opened this issue Jul 17, 2023 · 1 comment

Comments

@bradbell
Copy link

I get the following message when I try to compile the current master:

ADOL-C/src/uni5_for.c:3298:28: error: 'j' undeclared (first use in this function)
 3298 |                       for (j=0;j<i;j++)
     ... snip ...

These errors do not occur if one goes back to the commit just before
ac15412

I was able to fix these these errors with the following sed command in the top source directory for the project:

sed -i ADOL-C/src/uni5_for.c -e 's|for (\([ij]\)=|for(int \1=|'
@awalther1
Copy link
Contributor

Thanks for the hint, this is fixed now

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