dlang-community / D-Scanner

Swiss-army knife for D source code
Boost Software License 1.0
242 stars 80 forks source link

Trying to build using Ubuntu 20.04 packages #899

Open roi-illouz opened 1 year ago

roi-illouz commented 1 year ago

building the project gives the following:

containers/src/containers/dynamicarray.d(10): Error: module core.lifetime import copyEmplace not found

Dub also has other issues with modules cross dependencies

WebFreak001 commented 1 year ago

are you using dmd or ldc and which version?

This will probably not be fixable in code, but require an update of the compiler.

roi-illouz commented 1 year ago

all of the compilers (dcg,dbd,ldc) that come bundled with Ubuntu 20.04 using older compilers - I downloaded the community dmd latest deb problem solved I think because of the popularity of Ubunto a comment would be nice

Regards

On Wed, Apr 5, 2023 at 10:43 AM Jan Jurzitza @.***> wrote:

are you using dmd or ldc and which version?

This will probably not be fixable in code, but require an update of the compiler.

— Reply to this email directly, view it on GitHub https://github.com/dlang-community/D-Scanner/issues/899#issuecomment-1497059492, or unsubscribe https://github.com/notifications/unsubscribe-auth/A634LJTXDCQDN5LQOBUTGGDW7UO7XANCNFSM6AAAAAAWTVRDY4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Roi Illouz WEKA E @.*** ­W www.weka.io https://www.weka.io?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature ­ ­ http://weka.io/4

WebFreak001 commented 1 year ago

versioned imports may be possible in the containers package for the old compilers, but need to investigate that and schedule new releases.

dcg and dbd are not D compilers btw.

What's the ldc version that comes bundled on your system?

roi-illouz commented 1 year ago

Sorry ldc 2.90 gdc - 2.76 dmd - already installed community latest so I don't know what version is the snap

WebFreak001 commented 1 year ago

ok that LDC version should be supportable, that gdc version probably won't be.

roi-illouz commented 1 year ago

ldc didn't compile same error