[Issue 11451] import statements don't work when compiling several files at once

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 6 05:25:44 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11451


Dicebot <public at dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at dicebot.lv


--- Comment #1 from Dicebot <public at dicebot.lv> 2013-11-06 05:25:43 PST ---
Looks like "accepts invalid" for the first (separate compilation) case. You
always must have either import statement or explicit "extern" declaration to
use the symbol. Should be compilation error in both cases.

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


More information about the Digitalmars-d-bugs mailing list