-
Notifications
You must be signed in to change notification settings - Fork 26
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
Getting C compiler errors when using functions that return real values #63
Comments
It seems to be an interaction between Futures and real. Let's write a simpler test case that reveals the bug.
Does this fail? Anything simpler? (I can have a look later.) |
Still fails. |
Failing test added in commit 8f21f1a. |
Future values should be allocated on the heap of the producer. The corresponding C code for
is
This only affects values whose size is greater than one word, namely |
I propose we use The reason we haven't seen this yet is that we mostly use |
+1 for |
Fixed as of d13f203 |
When i try to compile this code :
i get the following errors from the compiler :
I get no type errors or other errors from the encore parser.
BUT if i change the return type of
glenn
toint
as follows:it compiles without errors :(
The text was updated successfully, but these errors were encountered: