Created
June 24, 2014 19:38
-
-
Save amwatson/0d7592b066cb3d867a99 to your computer and use it in GitHub Desktop.
Compiler error?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moroso code: | |
let tcb = thr_create(null, null, 0); | |
C output: | |
struct tcb* tcb = (tcb *)thr_create(NULL, NULL, 0); | |
gcc error: | |
error: expected expression before ‘)’ token | |
[problem does not exist when '(tcb *)' is removed] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment