www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7116] New: phobos git won't compile

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7116

           Summary: phobos git won't compile
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: dlang chilon.net



Cannot build git master branch.

Everything compiles fine until:

dmd -I../druntime-build/import  -w -d -property -m64 -O -release -nofloat -lib
-ofgenerated/linux/release/64/libphobos2.a ../druntime-build/lib/libdruntime.a
crc32.d std/algorithm.d std/array.d std/ascii.d std/base64.d std/bigint.d
std/bitmanip.d std/compiler.d std/complex.d std/concurrency.d std/container.d
std/contracts.d std/conv.d std/cpuid.d std/cstream.d std/ctype.d std/date.d
std/datetime.d std/datebase.d std/dateparse.d std/demangle.d std/encoding.d
std/exception.d std/file.d std/format.d std/functional.d std/getopt.d
std/gregorian.d std/json.d std/loader.d std/math.d std/mathspecial.d std/md5.d
std/metastrings.d std/mmfile.d std/numeric.d std/outbuffer.d std/parallelism.d
std/path.d std/perf.d std/process.d std/random.d std/range.d std/regex.d
std/regexp.d std/signals.d std/socket.d std/socketstream.d std/stdint.d
std/stdio.d std/stdiobase.d std/stream.d std/string.d std/syserror.d
std/system.d std/traits.d std/typecons.d std/typetuple.d std/uni.d std/uri.d
std/utf.d std/variant.d std/xml.d std/zip.d std/zlib.d std/c/linux/linux.d
std/c/linux/socket.d etc/c/curl.d etc/c/zlib.d std/c/fenv.d std/c/locale.d
std/c/math.d std/c/process.d std/c/stdarg.d std/c/stddef.d std/c/stdio.d
std/c/stdlib.d std/c/string.d std/c/time.d std/c/wcharh.d
std/internal/math/biguintcore.d std/internal/math/biguintnoasm.d
std/internal/math/biguintx86.d std/internal/math/gammafunction.d
std/internal/math/errorfunction.d std/internal/processinit.d std/internal/uni.d
std/internal/uni_tab.d std/net/isemail.d
generated/linux/release/64/etc/c/zlib/adler32.o
generated/linux/release/64/etc/c/zlib/compress.o
generated/linux/release/64/etc/c/zlib/crc32.o
generated/linux/release/64/etc/c/zlib/deflate.o
generated/linux/release/64/etc/c/zlib/gzclose.o
generated/linux/release/64/etc/c/zlib/gzlib.o
generated/linux/release/64/etc/c/zlib/gzread.o
generated/linux/release/64/etc/c/zlib/gzwrite.o
generated/linux/release/64/etc/c/zlib/infback.o
generated/linux/release/64/etc/c/zlib/inffast.o
generated/linux/release/64/etc/c/zlib/inflate.o
generated/linux/release/64/etc/c/zlib/inftrees.o
generated/linux/release/64/etc/c/zlib/trees.o
generated/linux/release/64/etc/c/zlib/uncompr.o
generated/linux/release/64/etc/c/zlib/zutil.o
std.contracts has been scheduled for deprecation. Please use std.exception
instead.
Notice: As of Phobos 2.055, std.date and std.dateparse have been deprecated.
They will be removed in February 2012. Please use std.datetime instead.
Notice: As of Phobos 2.055, std.gregorian has been deprecated. It will be
removed in February 2012. Please use std.datetime instead.
std.perf has been scheduled for deprecation. Please use std.datetime instead.
Notice: As of Phobos 2.055, std.regexp has been deprecated. It will be removed
in February 2012. Please use std.regex instead.
std/algorithm.d(1325): Error: cannot implicitly convert expression (source) of
type TempTransition[] to shared(const(TempTransition[]))
std/algorithm.d(1325): Error: cannot implicitly convert expression (source) of
type TempTransition[] to shared(const(TempTransition[]))
std/algorithm.d(1407): Error: template instance
std.algorithm.move!(TempTransition[]) error instantiating
std/range.d(6095):        instantiated from here: move!(TempTransition[])
std/algorithm.d(6703):        instantiated from here:
SortedRange!(TempTransition[],less)
std/datetime.d(29480):        instantiated from here: sort!("a.timeT <
b.timeT",cast(SwapStrategy)0,TempTransition[])
std/range.d(6095): Error: template instance
std.algorithm.move!(TempTransition[]) error instantiating
std/algorithm.d(6703):        instantiated from here:
SortedRange!(TempTransition[],less)
std/datetime.d(29480):        instantiated from here: sort!("a.timeT <
b.timeT",cast(SwapStrategy)0,TempTransition[])
std/algorithm.d(6703): Error: template instance
std.range.SortedRange!(TempTransition[],less) error instantiating
std/datetime.d(29480):        instantiated from here: sort!("a.timeT <
b.timeT",cast(SwapStrategy)0,TempTransition[])

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 16 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7116


pelo <dlang chilon.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



Sorry the problem only exists when building phobos with D 2.057.

Using the dmd from git works.

Apologies once again.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 16 2011