DMD 2.0 and invariant strings

wxD
2007-11-27
2013-05-22
  • Preliminary support for invariant strings and std.contracts.assumeUnique in CVS, haven't tried it myself.

     
    • some one
      some one
      2008-02-13

      Tried CVS version (today) with CVS version of gdc (with D 2.0, today) on CYGWIN_NT-5.1.

      Everything builds fine.

      Sample/
      minimal: works fine.
      GLCube: builds fine, but when I run it, it just silently exit, and no application window show up.

      Haven't got time to debug, here is a simple session:

      $ ./GLCube.exe
      (silently exit)
      $ gdb GLCube.exe
      GNU gdb 6.5.50.20060706-cvs (cygwin-special)
      Copyright (C) 2006 Free Software Foundation, Inc.
      GDB is free software, covered by the GNU General Public License, and you are
      welcome to change it and/or distribute copies of it under certain conditions.
      Type "show copying" to see the conditions.
      There is absolutely no warranty for GDB.  Type "show warranty" for details.
      This GDB was configured as "i686-pc-cygwin"...
      (gdb) r
      Starting program: /cygdrive/d/project/wxd-CYGWIN-/Samples/GLCube/GLCube.exe
      Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
      Loaded symbols for /usr/bin/cygwin1.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
      Loaded symbols for /usr/bin/cygexpat-0.dll
      Loaded symbols for /usr/bin/cygjpeg-62.dll
      Loaded symbols for /usr/bin/cygpng12.dll
      Loaded symbols for /usr/bin/cygz.dll
      Loaded symbols for /usr/bin/cygtiff-5.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/comctl32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/gdi32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/user32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/comdlg32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/shlwapi.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/shell32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/ole32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/oleaut32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/opengl32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/glu32.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/ddraw.dll
      Loaded symbols for /cygdrive/c/WINDOWS/system32/dciman32.dll

      Program exited normally.
      (gdb) quit

       
    • some one
      some one
      2008-02-13

      BTW:

      using WX_2_8:

      cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout -r WX_2_8_BRANCH wxMSW

       
    • some one
      some one
      2008-02-13

      also tried wxd (CVS): DMD v2.010, wxWidgets-2.6.4 on WinXP

      ==============================
      cd wx
      make
      dmd -version=wx26 -version=__WXMSW__ -version=ANSI -I.. -O -g -c -ofAccelerator.
      obj Accelerator.d
      ..\wx\Window.d(411): Error: cannot implicitly convert expression (wxDefaultPosit
      ion) of type const(Point) to Point
      ..\wx\Window.d(411): Error: cannot implicitly convert expression (wxDefaultSize)
      of type const(Size) to Size
      ..\wx\Window.d(415): Error: cannot implicitly convert expression (wxDefaultPosit
      ion) of type const(Point) to Point
      ..\wx\Window.d(415): Error: cannot implicitly convert expression (wxDefaultSize)
      of type const(Size) to Size

      --- errorlevel 1

      --- errorlevel 1