Comments (3)
Hmm... it seems that my errors are coming from somewhere else. bool
can indeed be translated after I added #include <stdbool.h>
but I'm getting a number of other errors... let me attempt to translate a larger file...
from c2v.
Attempted to translate just header files:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <windows.h>
#include <math.h>
V gives this error when trying to translate:
C:\Users\argit>v translate c:/SoEm_Chaos.c
C to V translator 0.3.1
translating c:/SoEm_Chaos.c ... C++ top level
C2V failed to translate the C files. Please report it via GitHub.
from c2v.
Ok looks like it doesn't like string.h and windows.h
from c2v.
Related Issues (20)
- doom specific hacks should be removed from c2v HOT 4
- C2V can't find header files from parent folder. HOT 4
- error: struct embedding must be declared at the beginning of the struct body
- parameter name must not begin with upper case letter HOT 1
- use `&Type` instead of `*Type` when declaring references HOT 1
- a type alias can not refer to itself: Dl_info
- unexpected token `*`, expecting name
- Failed to Properly Format Select Statement HOT 2
- UB program gets wrongly converted
- Problem converting glad.c to V HOT 1
- V Translate - header files not detected, no wrapper generated HOT 2
- Wrapper generation - wrong types
- c2v incorrectly translates `sizeof var_name`
- `strftime()` error: parameter name must not begin with upper case letter (`Char`) HOT 1
- `getline()` error: unexpected token `*`, expecting `,`
- Weird define issue
- can't translate compound struct and union HOT 1
- can't translate assert
- C files to V translated successfully but all got plenty of errors when running.
- Failure to translate structs after typedefs
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 c2v.