Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Importing DSFML modules gives failures  (Read 4365 times)

0 Members and 1 Guest are viewing this topic.

RobotGymnast

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Importing DSFML modules gives failures
« on: January 27, 2011, 03:34:25 am »
There are a few issues with the DSFML modules in the DSFML svn. I'm compiling with the latest dmd (v2.051) and getting issues in videomode.d : 103, where

Code: [Select]

bool opEquals(VideoMode other)


should be

Code: [Select]

const bool opEquals(ref const VideoMode other)


And in window.d

Code: [Select]

this(VideoMode mode, char[] title, Style windowStyle = Style.RESIZE | Style.CLOSE, WindowSettings settings = WindowSettings())


should be

Code: [Select]

this(VideoMode mode, string title, Style windowStyle = Style.RESIZE | Style.CLOSE, WindowSettings settings = WindowSettings())

 

anything