Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac files cannot compile with MS C compiler #5050

Closed
vicuna opened this issue May 18, 2010 · 3 comments
Closed

Mac files cannot compile with MS C compiler #5050

vicuna opened this issue May 18, 2010 · 3 comments
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented May 18, 2010

Original bug ID: 5050
Reporter: gildor
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2010-07-28T11:34:21Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Related to: #5053

Bug description

Here and there the compilation process on Windows stops with this error:
c:\cygwin\home\gildor\programmation\00ext\ocaml\ocaml-trunk\yacc\version.h : error C4335: Format de fichier Mac détecté : convertissez le fichier source au format DOS ou UNIX

I open, remove the "^M" and save the files with GVim to solve the issue.

Here is the list of files:
byterun/version.h
yacc/version.h

(ocaml version: trunk)

@vicuna
Copy link
Author

vicuna commented May 18, 2010

Comment author: gildor

I suspect that this bug is linked with svn:eol-style for the file VERSION.

@vicuna
Copy link
Author

vicuna commented May 20, 2010

Comment author: @damiendoligez

This has nothing to do with Mac files and everything to do with Windows and Cygwin disagreeing on EOL representation.

I've hopefully fixed this by changing svn:eol-style on VERSION.

@vicuna
Copy link
Author

vicuna commented Jul 28, 2010

Comment author: @damiendoligez

I think the svn:eol-style trick fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants