Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created June 12, 2014 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/8a67ca154313a9dc6163 to your computer and use it in GitHub Desktop.
Save jnthn/8a67ca154313a9dc6163 to your computer and use it in GitHub Desktop.
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.
@bdw
Copy link

bdw commented Jun 13, 2014

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