Comments (1)
Thanks for this suggestion! Given what I know so far, though, I think Corrode is working as designed. The experiment you should try is:
Does running gcc -Wall src/main.h
work on your example?
I expect you'll find that if Corrode requires an option like -I.
, then so does GCC, since Corrode just runs gcc
internally and passes along (most of) the arguments that you give it.
I'm closing this issue, but feel free to re-open it if you find that Corrode's behavior is different than GCC's.
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.