view ldc2.conf.in @ 1226:00f377e03423

Fix a problem which occurred when a function type was forward-referenced by parameter types. This was intended to fix the following test case: {{{ void delegate(Hit) dg; struct Hit { void delegate(Hit) a; } }}} which ChristianK reduced from a problem downs had on IRC. It also seems to fix mini/compile_delegate.d (which turns out to be quite similar, but produced a different error message).
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 19 Apr 2009 23:15:03 +0200
parents 8403fec8c34c
children 15f1707721fa
line wrap: on
line source

// This configuration file uses libconfig.
// See http://www.hyperrealm.com/libconfig/ for syntax details.

// The default group is required
default:
{
    // 'switches' holds array of string that are appends to the command line
    // arguments before they are parsed.
    switches = [
        "-I@RUNTIME_DIR@/import",
        "-L-L@PROJECT_BINARY_DIR@/../lib",
        "-defaultlib=@RUNTIME_AIO@",
        "-debuglib=@RUNTIME_AIO@"
    ];
};