www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21837] New: [Home]


          Issue ID: 21837
           Summary: [Home]
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P3
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: larry.jordan cox.net

When I try to recompile a betterC application (developed under 2.095.0), I get
the following NEW error. I do not use expceptions. 

dmd  -I/home/larry/Github/escheme-dbc/src -c 
-od=/home/larry/Github/escheme-dbc/src -betterC -O -release -inline
-boundscheck=off /home/larry/Github/escheme-dbc/src/main.d
Error: Cannot use try-catch statements with -betterC
Error: template instance `core.internal.lifetime.emplaceRef!(Vector!(void
function()), Vector!(void function()), int).emplaceRef.S.__ctor!()` error
       instantiated from here: `emplaceRef!(Vector!(void function()),
Vector!(void function()), int)`

I do not use exceptions anywhere in this application. The application compiles
find under 2.965.0.  I pressume the aforementioned package DID star using
exceptions and now is invalid for betterC use.

Apr 17 2021