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

Interactive mode undefined native functions #1

Open
jpoirier opened this issue Jun 9, 2015 · 0 comments
Open

Interactive mode undefined native functions #1

jpoirier opened this issue Jun 9, 2015 · 0 comments

Comments

@jpoirier
Copy link
Owner

jpoirier commented Jun 9, 2015

When compiled with optimizations turned on and in interactive mode functions like printf are undefined.

E.g. create a user function
picoc > void tst() { printf("%d\n", 876); }

Call the function
picoc > tst();

Returns "ExpressionParseFunctionCall FuncName: 'printf' is undefined"

The problem seems to originate in VariableScopeEnd but I've not been able to figure out the problem yet.

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

1 participant