Comments (3)
I can't reproduce this one on a Mac so it looks like a windows only problem.
Has msx.h got any funny line endings etc?
from z88dk.
Yes, it has CR-LF line endings.
The default in git is to commit always with LF endings, but to write the native line ending in the working area (LF on Unix, CR-LF on windows).
Maybe the C preprocessor is opening the files in binary mode?
from z88dk.
Issue solved.
git uses by default the native line ending in the sandbox. This causes problems with cygwin that declares itself as UNIX, requiring LF-only line endings, but on a Win32 files git saves files with CR-LF.
Solved by declaring to git that all files have LF endings independently of the platform. Microsoft compilers on Win32 handle LF-files well.
from z88dk.
Related Issues (20)
- make compatible with casio 8080 CPU HOT 4
- (ci) msys2 build failing HOT 5
- (sccz80) Compilation issue
- Request: Please update the AgonLight wiki re: ADL=1 (24 bit mode)
- How to have random #asm as a beginning of a banked file? HOT 2
- def.asm.m4 missing from lib/target/zx/def HOT 1
- Windows zcc binary doesn't work on wine HOT 6
- CMake: Detecting C compiler ABI info - failed
- Contributing with fixes in header files HOT 3
- typo error in src/ticks/disassembler_main.c
- Linux: error compiling test program HOT 1
- Link .map files from other builds instead of clib/startup/crt0? HOT 2
- zcc does not process defc files via -g option
- Wav generation issue + potential solution HOT 14
- `libsrc` build system prone to bricking when interrupted HOT 2
- Any type of file IO causes errors with submit.com HOT 15
- (z80asm) wrong representation of 0.0 in -float=zx81
- fwrite hangs depending on buffer size. HOT 5
- Declaring prototype for interrupt handler breaks the handler
- (z80asm) Parse1.c compilation issue for m68k HOT 1
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 z88dk.