[Issue 11881] -betterC switch suffers from bit rot

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 8 00:41:44 PST 2014


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



--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2014-01-08 00:41:41 PST ---
Based on "remove the relation to the runtime library" concept, we can extend
-betterC switch meaning.

One more idea:
If -betterC is specified, glue layer will report error for the uses of language
feature which requires runtime library, such as:

- new expression
- typeid expression
- array literal that is allocated on heap
- AA literal
- array concatenation and appending
- closure creation

I think that we should define "minimum D" to spread the activity area of D.
Making -betterC switch more useful is necessary work.

And, this is closely related to the nogc/noheap feature.
So it would also be a good challenge for the requests.

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