Created
June 12, 2014 22:44
-
-
Save jnthn/8a67ca154313a9dc6163 to your computer and use it in GitHub Desktop.
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
compiling src\jit\jit.obj | |
jit.c | |
src\jit\jit.c(147) : error C2057: expected constant expression | |
src\jit\jit.c(147) : error C2466: cannot allocate an array of constant size 0 | |
src\jit\jit.c(147) : error C2133: 'global_labels' : unknown size | |
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.EXE"' : | |
return code '0x2' | |
Stop. |
Strange, dynamically sized arrays have been a feature of c compilers fo ages now. It's an easy fix.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I'll look at that. Note that calling functions isn't expected to work yet, the microsoft ABI is diffeent from the unix 'AT&T' ABI. See http://en.wikipedia.org/wiki/X86_calling_conventions#x86-64_calling_conventions for more information.