[Bug 151] Pragma without ';' results in undefined symbols

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 24 07:38:07 PDT 2006


http://d.puremagic.com/bugzilla/show_bug.cgi?id=151


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #1 from smjg at iname.com  2006-05-24 09:38 -------
If the semicolon is omitted, then the pragma modifies the declaration or
statement that immediately follows it, in this case the class bla.

But it would appear from the spec that pragma(lib) is valid only on its own. 
It is indeed absurd that it behaves as it does, but in reality (AIUI) it
shouldn't compile at all.


-- 




More information about the Digitalmars-d-bugs mailing list