SFML community forums

Bindings - other languages => D => Topic started by: RobotGymnast on January 27, 2011, 03:34:25 am

Title: Importing DSFML modules gives failures
Post by: RobotGymnast 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())