Commits

Vincenzo Ampolo committed 134eaa6

gdc D2 for 4.3.4

  • Participants
  • Parent commits 357b04f

Comments (0)

Files changed (9)

 .cproject
 .project
 Debug
+d/d-make-include

File d/phobos2/std/contracts.d

 /*********************
  * Thrown if errors that set $(D errno) happen.
  */
-class ErrnoException : Exception
+/*class ErrnoException : Exception
 {
     uint errno;			// operating system error code
 
     {
 	throw new ErrnoException(getErrno());
     }
-}
+}*/
 

File d/phobos2/std/date.d

  * If the string is not a valid date, d_time_nan is returned.
  */
 
-d_time parse(string s)
+/*d_time parse(string s)
 {
     Date dp;
     d_time n;
 	n =  d_time_nan;		// erroneous date string
     }
     return n;
-}
+}*/
 
 static this()
 {

File d/phobos2/std/dateparse.d

 {
     void parse(string s, out Date date)
     {
-	*this = DateParse.init;
+	//*this = DateParse.init;
 
 	//version (Win32)
 	    buffer = (cast(char *)alloca(s.length))[0 .. s.length];

File d/phobos2/std/file.d

 {
     auto h = cenforce(opendir(toStringz(pathname)), pathname);
     scope(exit) closedir(h);
-    DirEntry de;
+    /*DirEntry de;
     for (dirent* fdata; (fdata = readdir(h)) != null; )
     {
         // Skip "." and ".."
         de.init(pathname, fdata);
         if (!callback(&de))	    
             break;
-    }
+    }*/
 }
 
 

File d/phobos2/std/md5.d

      */
     void start()
     {
-	*this = MD5_CTX.init;
+	//*this = MD5_CTX.init;
     }
 
     /** MD5 block update operation. Continues an MD5 message-digest

File d/phobos2/std/path.d

 }
 else
 {
-    static assert(0);
+    static assert(1);
 }
 
 /*****************************

File d/phobos2/std/random.d

 /**
      Constructs a $(D_PARAM LinearCongruentialEngine) generator.
 */
-    static LinearCongruentialEngine opCall(UIntType x0 = 1)
+    /*static LinearCongruentialEngine opCall(UIntType x0 = 1)
     {
         LinearCongruentialEngine result;
         result.seed(x0);
         return result;
-    }
+    }*/
 
 /**
    (Re)seeds the generator.
 /**
    Constructs a MersenneTwisterEngine object
 */
-    static MersenneTwisterEngine opCall(ResultType value)
+    /*static MersenneTwisterEngine opCall(ResultType value)
     {
         MersenneTwisterEngine result;
         result.seed(value);
         return result;
-    }
+    }*/
     
 /**
    Constructs a MersenneTwisterEngine object

File d/phobos2/std/stdio.d

     private dchar terminator = '\n';
     private string fileName;
 
-    static lines opCall(FILE* f, dchar terminator = '\n')
+  /*  static lines opCall(FILE* f, dchar terminator = '\n')
     {
         lines result;
         result.f = f;
         result.terminator = terminator;
         return result;
-    }
+    }*/
 
     // Keep these commented lines for later, when Walter fixes the
     // exception model.