Comments (4)
Does it happen on the master branch of gmp-d aswell?
I'm gonna bump the version of gmp-d to 0.0.2.
from gmp-d.
gmp-d ~master: building configuration "library"...
../../.dub/packages/gmp-d-master/gmp-d/src/gmp/z.d(249,13): Error: function gmp.z.MpZ.fromString functions cannot be scope
../../.dub/packages/gmp-d-master/gmp-d/src/gmp/z.d(1125,19): Error: function gmp.z.MpZ._limbs functions cannot be scope
../../.dub/packages/gmp-d-master/gmp-d/src/gmp/z.d(1156,26): Error: function gmp.z.MpZ._ptr functions cannot be scope
../../.dub/packages/gmp-d-master/gmp-d/src/gmp/q.d(350,26): Error: function gmp.q.MpQ._ptr functions cannot be scope
../../.dub/packages/gmp-d-master/gmp-d/src/gmp/q.d(356,26): Error: function gmp.q.MpQ._num_ptr functions cannot be scope
../../.dub/packages/gmp-d-master/gmp-d/src/gmp/q.d(362,26): Error: function gmp.q.MpQ._den_ptr functions cannot be scope
from gmp-d.
There's a serious regression in 2.074.0:
dub build --compiler=/usr/bin/dmd
errors as
Performing "debug" build using /usr/bin/dmd for x86_64.
gmp-d 0.0.1+commit.126.g660d82b: building configuration "library"...
src/gmp/z.d(484,20): Error: struct gmp.z.MpZ is not copyable because it is annotated with @disable
src/gmp/q.d(205,16): Error: template instance gmp.z.MpZ.opBinary!"/" error instantiating
src/gmp/z.d(168,16): Error: struct gmp.z.MpZ is not copyable because it is annotated with @disable
src/gmp/z.d(921,16): Error: struct gmp.z.MpZ is not copyable because it is annotated with @disable
/usr/bin/dmd failed with exit code 1.
I don't, currently, know how to move forward with this.
I asked the forums here.
Update:
This error message seems to be a false positive triggered by not being able to handle my scope tagging of functions which I just commented out.
from gmp-d.
I just removed the scope
qualifiers for functions and now build and tests pass for dmd latest stable and master. Available on gmp-d master and new tag v0.0.2.
from gmp-d.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmp-d.