Comments (2)
Sorry for the delay getting back to you! I still haven't figured out how to get GitHub to e-mail me when new issues are filed. 😦
Did you mean D[]
rather than just D
? If you aren't trying to declare an array, then that's a weird (although legal) declaration.
If you did want an array, then this is a duplicate of bug #52, and we should close this one and follow that one.
I can't reproduce the output you're seeing as-is; I get:
static D : i32 = 0x78a3i32;
Which matches what GCC compiles that to, and I think is correct.
from corrode.
Since I haven't heard back from you, I'm going to assume you did mean D[]
and that this is a duplicate of #52. Which I'm working on!
from corrode.
Related Issues (20)
- exit() not declared as noreturn
- Fails on global uninitialised structs HOT 2
- box, true and false are not renamed HOT 2
- Wrong code generation when using the zero variant of an enum in `if` clauses
- Use of possibly uninitialized reference(s)
- C volatile pointers do not translate to rust volatile accesses
- enums should derive Debug, PartialOrd & PartialEq?
- Arrays without explicit size
- Math on enums generates invalid Rust
- Using corrode with cmake HOT 2
- Support for C bitfields HOT 1
- Corrode has trouble with "implicit ints" in K&R style HOT 2
- Use the libc crate to provide external functions and c-like types
- Attempt to initialize static enums
- Loop transformations can bring variable references out of scope
- Ignore/support __builtin_ functions
- Add the ability to pass multiple files to corrode
- It is only a suggestion or lets say Idea
- FTBFS: fails to build on OpenSUSE/Tumbleweed
- Build failed HOT 2
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 corrode.