Compilation fails with some abnormal output.
Numbered Steps to Reproduce Problem:
1. Attempt to compile the latest version of the /vg/ SS13 code, found here:
https://github.com/d3athrow/vgstation13/tree/Bleeding-Edge
Note bleeding-edge branch.
Expected Results:
Normal compilation, zero errors.
Actual Results:
loading baystation12.dme
loading interface\skin.dmf
code\modules\client\client procs.dm:42:error: 20: duplicate definition
code\modules\client\client procs.dm:42:error: 30: duplicate definition
code\modules\client\client procs.dm:42:error: to: instruction not allowed here
code\modules\client\client procs.dm:44:error: "priv_msg": value not allowed here
code\modules\client\client procs.dm:44:error: href_list: value not allowed here
code\modules\client\client procs.dm:44:error: : duplicate definition
code\modules\client\client procs.dm:53:error: config: duplicate definition
code\modules\client\client procs.dm:53:error: config.log_hrefs: duplicate definition
code\modules\client\client procs.dm:53:error: href_logfile: duplicate definition
code\modules\client\client procs.dm:53:error: &&: instruction not allowed here
code\modules\client\client procs.dm:53:error: : duplicate definition
code\modules\client\client procs.dm:45:error: href_list: undefined var
code\modules\client\client procs.dm:45:error: =: expected a constant expression
code\modules\client\client procs.dm:46:error: C: value not allowed here
code\modules\client\client procs.dm:46:error: : empty type name (indentation error?)
code\modules\client\client procs.dm:47:error: C: invalid variable
code\modules\client\client procs.dm:47:error: =: expected a constant expression
BUG: Unexpected condition in IsForwardReference(.651.1.2/=.0)
BUG: Unexpected condition in IsForwardReference(.651.1.2/=.1)
code\modules\client\client procs.dm:47:error: : empty type name (indentation error?)
code\modules\client\client procs.dm:49:error: cmd_admin_pm: undefined proc
code\modules\client\client procs.dm:50:error: return: instruction not allowed here
code\modules\client\client procs.dm:45:error: : duplicate definition
code\modules\client\client procs.dm:54:error: href_logfile: duplicate definition
code\modules\client\client procs.dm:54:error: world.timeofday: duplicate definition
code\modules\client\client procs.dm:54:error: "hh:mm": duplicate definition
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: src: value not allowed here
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: usr: value not allowed here
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: hsrc: duplicate definition
code\modules\client\client procs.dm:54:error: hsrc: value not allowed here
code\modules\client\client procs.dm:54:error: : empty type name (indentation error?)
code\modules\client\client procs.dm:54:error: text"[] ": value not allowed here
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: "": duplicate definition
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: href: value not allowed here
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: text"<small>[] [] (usr:[])</small> || [][]<br>": value not allowed here
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:54:error: <<: instruction not allowed here
code\modules\client\client procs.dm:54:error: : duplicate definition
code\modules\client\client procs.dm:56:error: "_src_": value not allowed here
code\modules\client\client procs.dm:56:error: href_list: value not allowed here
code\modules\client\client procs.dm:56:error: : empty type name (indentation error?)
code\modules\client\client procs.dm:57:error: "holder": duplicate definition
code\modules\client\client procs.dm:58:error: "usr": duplicate definition
code\modules\client\client procs.dm:59:error: "prefs": duplicate definition
code\modules\client\client procs.dm:60:error: "vars": duplicate definition
code\modules\client\client procs.dm:57:error: hsrc: undefined var
code\modules\client\client procs.dm:57:error: holder: undefined var
code\modules\client\client procs.dm:57:error: : duplicate definition
code\modules\client\client procs.dm:58:error: hsrc: undefined var
code\modules\client\client procs.dm:58:error: mob: undefined var
code\modules\client\client procs.dm:58:error: : duplicate definition
code\modules\client\client procs.dm:59:error: usr: duplicate definition
code\modules\client\client procs.dm:59:error: href_list: duplicate definition
code\modules\client\client procs.dm:59:error: prefs.process_link: instruction not allowed here
code\modules\client\client procs.dm:59:error: return: instruction not allowed here
code\modules\client\client procs.dm:59:error: : duplicate definition
code\modules\client\client procs.dm:60:error: href: duplicate definition
code\modules\client\client procs.dm:60:error: href_list: duplicate definition
code\modules\client\client procs.dm:60:error: hsrc: duplicate definition
code\modules\client\client procs.dm:60:error: view_var_Topic: instruction not allowed here
code\modules\client\client procs.dm:60:error: return: instruction not allowed here
code\modules\client\client procs.dm:60:error: : duplicate definition
code\modules\client\client procs.dm:57:error: : duplicate definition
code\modules\client\client procs.dm:44:error: : empty type name (indentation error?)
baystation12.dmb - 68 errors, 0 warnings
Note these 2 lines:
BUG: Unexpected condition in IsForwardReference(.651.1.2/=.0)
BUG: Unexpected condition in IsForwardReference(.651.1.2/=.1)
When does the problem NOT occur?
Others tested it and reported zero errors/warnings. They were all running BYOND 506.1247 and Windows 7 64.
Note that the errors reported have incorrect line numbers (mostly shifted down) and only loosely correspond to the actual client_procs.dm code, found here:
https://github.com/d3athrow/vgstation13/blob/Bleeding-Edge/ code/modules/client/client%20procs.dm
Also note that it was last changed on 4 Oct 2014, but this problem did not occur before 22 Oct 2014 (both myself and the other person compiled successfully many times in the past 2 weeks).
Workarounds:
Hopefully not "get a 64-bit OS".
This seems like more of a poor programming error than BYOND's issue..