Hide Forgot
Created attachment 532891 [details] "Hello, world!" in D (sez the D homepage) Description of problem: After installing ldc, I had to install tango-devel (missing dependency on the standard library?) If I try the attached "Hello, world!" example I just get error messages... Version-Release number of selected component (if applicable): ldc-2-4.20110801git58d40d2.fc16.x86_64 tango-devel-0.99.9-21.20101012svn5569.fc15.x86_64 How reproducible: Always... Steps to Reproduce: 1. ldc2 hello.d 2. 3. Actual results: $ ldc2 hello.d /usr/include/d/tango/core/Thread.d(633): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(680): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(692): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(2578): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(3607): 15 == 0 must be parenthesized when next to operator & /usr/include/d/tango/core/Thread.d(3691): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(3699): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(3726): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/Thread.d(3732): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(144): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(153): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(157): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(161): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(174): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(183): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(187): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(191): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(265): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(273): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(281): volatile statements deprecated; used synchronized statements instead /usr/include/d/tango/core/sync/Atomic.d(304): volatile statements deprecated; used synchronized statements instead Expected results: Some executable, ... Additional info:
Dear, currently tango D2 is being in development, in Fedora 16 the standard library is phobos so hello world is: ---------------- import std.stdio; import std.string; void main( sring[] args ){ writeln( "Hello world" ); } ---------------- read a file ---------------- private import std.stream : BufferedFile; private import std.stdio : writeln; private import std.string; void main( sring[] args ){ foreach(char[] line; new BufferedFile( filePath )){ writeln( line ); } } ---------------- i follow tango d2 here: https://github.com/SiegeLord/Tango-D2/ when it will enough stable i will add it
I close the bug, if you feel you need re-open the bug you are welcome I can suggest add D repo: $ su -lc 'yum install --nogpgcheck http://repos.fedorapeople.org/repos/bioinfornatics/D/fedora-16/noarch/d-repo-16-1.fc16.noarch.rpm' currenlty only for 64 bits derelict, gtkd, DSQLite, DParser