[Issue 4176] Link error in switch with 4 or more cases and no default

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 19 08:52:10 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4176


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-04-19 08:48:36 PDT ---
This error only happens if you're missing the 'main' function. The most recent
Optlink version gives these errors:

OPTLINK : Warning 23: No Stack
errorswitch.obj(errorswitch)
 Error 42: Symbol Undefined __d_switch_error
OPTLINK : Warning 134: No Start Address
--- errorlevel 1

Not sure why the error about the switch is there, but it certainly won't link
without main, so there's no damage done here right?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list