Skip to content

Commit

Permalink
Update the limitations section
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Apr 17, 2019
1 parent 482e632 commit 62cd71b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ Use `-h` for usage information. Any flags recognized by Clang can be used.

## Limitations/Known issues

* Doesn't translate preprocessor macros, with exception to simple constants and functions.
* Doesn't translate `#include` to `import`. A few standard C headers are translated
* Supports translating some of the preprocessor, like: `#define` for simple
constants, function like macros and the token concatenation operator (`##`)
* Doesn't translate `#include` to `import`. Imports for a few standard C headers
are added automatically
* Doesn't translate C++ at all
* Umbrella headers. Some headers just serve to include other headers. If these other headers contain some form of protection, like `#error`, to be included directly this can cause problems for DStep
* Some headers are designed to always be included together with other header files. These headers may very well use symbols from other header files without including them itself. Since DStep is designed to convert header files one-by-one this doesn't work. There are two workarounds for this:
Expand Down

0 comments on commit 62cd71b

Please sign in to comment.