Skip to content

Commit

Permalink
[fix] build: replace -WError with -WAll under Mac plateform
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Ye committed Aug 9, 2011
1 parent 570a16a commit 2a049ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/myocamlbuild_prefix.ml
Expand Up @@ -35,7 +35,10 @@ let sed = if is_mac then P"gsed" else P"sed"


let windows_mode = (os = Win32) let windows_mode = (os = Win32)


let c_wall,c_werror = if windows_mode (*&& compiler=microsoft*) then "/Wall","/Wall" else "-Wall","-Werror" let c_wall,c_werror =
if windows_mode (*&& compiler=microsoft*) then "/Wall","/Wall"
else if is_mac then "-Wall","-Wall"
else "-Wall","-Werror"


let winocamldir = Pathname.pwd / "ms_windows" let winocamldir = Pathname.pwd / "ms_windows"


Expand Down

0 comments on commit 2a049ca

Please sign in to comment.