[Issue 4485] CT only arrays appear in executable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 18 17:37:01 PST 2014


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


Marco Leise <Marco.Leise at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Marco.Leise at gmx.de


--- Comment #1 from Marco Leise <Marco.Leise at gmx.de> 2014-01-18 17:36:58 PST ---
That is correct. that other module "use_CT_STRING.d" could import it. Its
removal can only be done by whole program optimizations and or the external
linker.

Have you tried actually declaring a compile time string like this?:

  enum CT_STRING = "int i = 0;";

-- 
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