lkundrak / dev86

C compiler, assembler and linker environment for the production of 8086 executables
http://v3.sk/~lkundrak/dev86/
GNU General Public License v2.0
153 stars 44 forks source link

Fix tok_io compilation error: do_control return type must be void #14

Closed scontini76 closed 6 years ago

scontini76 commented 7 years ago

This change permits to compile dev86 on macOS Sierra, otherwise the compilation stops with error. I'm using:

Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I don't know which other compiler stops with error in the same case.

jbruchon commented 7 years ago

In my fork this fix has been committed: https://github.com/jbruchon/dev86/commit/7a4f074633630d871a8195165647ecafa02b489f

mfld-fr commented 6 years ago

See also issue #16 for the clang patch.