Changeset 502

Show
Ignore:
Timestamp:
01/11/11 00:54:11 (1 year ago)
Author:
braddr
Message:

Fix rt/dmain2 to properly declare one missing symbol (probably visible due to bug 314 while building the whole library but not when building the unittest.
Start building druntime with -O on 64 bit, everything passes now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/posix.mak

    r500 r502  
    77MODEL=32 
    88 
    9 ifeq ($(MODEL),64) 
    10 DFLAGS=-m$(MODEL) -release -inline -nofloat -w -d -Isrc -Iimport 
    11 UDFLAGS=-m$(MODEL) -release -nofloat -w -d -Isrc -Iimport 
    12  
    13 CFLAGS=-m$(MODEL) 
    14 else 
    159DFLAGS=-m$(MODEL) -O -release -inline -nofloat -w -d -Isrc -Iimport  
    1610UDFLAGS=-m$(MODEL) -O -release -nofloat -w -d -Isrc -Iimport  
    1711 
    1812CFLAGS=-m$(MODEL) -O 
    19 endif 
    2013 
    2114OBJDIR=obj 
     
    403396 
    404397ifeq ($(MODEL),64) 
    405 DISABLED_TESTS = \ 
    406     rt/dmain2 
     398DISABLED_TESTS = 
    407399else 
    408 DISABLED_TESTS = \ 
    409     rt/dmain2 
     400DISABLED_TESTS = 
    410401endif 
    411402 
  • trunk/src/rt/dmain2.d

    r441 r502  
    5858        _d_unhandled = t; 
    5959    } 
    60      
     60 
     61    extern (C) Throwable.TraceInfo _d_traceContext(void* ptr = null); 
     62 
    6163    extern (C) void _d_createTrace(Object *o) 
    6264    {