Comments (6)
Change of a single line is not enough, as there are other usages of handle!
in the source code, nor does it solve the actual problem.
Red/System rightfully warns you and rejects such macro redefinition (that's the reason of compilation error - there's a type mismatch in library call, because old definition is still being used), as it's a ticking bomb that may cause serious trouble, e.g. Red runtime relies on handle!
pretty heavily, esp. in OS APIs.
Anyway, this code is not maintained for a long time and serves only as a PoC, you shouldn't use it as-is for your project. Red itself will likely have ZeroMQ port in the future.
from code.
Yes, i understood that it's not nice fix.
And i'm ok with that not maintained - i too just playing with red (try to implement IPython kernel with red).
It's ok, to change handle!
definition to something another name or remove it?
from code.
@Oldes
from code.
@Intey what if you just remove this line?
code/Library/ZeroMQ/ZeroMQ.reds
Line 18 in 95a4b16
Apparently there was no handle!
used in Red's runtime when I was working with it.
from code.
As in the source is handle!
used mostly instead of void *
, it should be ok.
from code.
@Oldes I think about this. But I meet nice idea of name types explicit. Something like context-ptr!
like with socket-ptr!
. I prepare PR to show this
Sent with GitHawk
from code.
Related Issues (14)
- Picosheet demo broken by more strict word rules HOT 1
- simple-clock.red doesn't appear to work with latest Red HOT 1
- Can't run anything HOT 1
- Compilation Error: undefined symbol: red/image/acquire-buffer in mandelbrot-fast.red HOT 1
- `mandelbrot.red` gives error if closed abruptly HOT 1
- Not able to compile the SQLite example - Compilation Error: undefined symbol: zerofill HOT 12
- Build on sqlite3.red failing on argument type mismatch HOT 3
- can not run the calculator demo HOT 1
- Mandlebrot (slow) broken since circa October 2018 HOT 6
- Gradient Lab HOT 5
- Picosheet on W7 skips initial update HOT 11
- Missing %definitions.reds HOT 3
- Broken Showcase/Calculator.red HOT 15
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 code.