sdy added inline comments.

================
Comment at: docs/LanguageExtensions.rst:1278
+It is possible use the newest SDK but still build a program that can run on
+older macOS and iOS versions, by passing ``-mmacosx-version-info=`` /
+``--miphoneos-version-min=``.
----------------
thakis wrote:
> sdy wrote:
> > arphaman wrote:
> > > Nit: older versions of macOS or iOS
> > I thought this flag was `--mmacosx-version-min`?
> > Nit: I would remove the comma after "versions".
> Nicos-MacBook-Pro:llvm-build thakis$ bin/clang -mmacosx-version-min=10.11 -c 
> test.mm
> Nicos-MacBook-Pro:llvm-build thakis$ bin/clang --mmacosx-version-min=10.11 -c 
> test.mm
> clang-3.5: error: unsupported option '--mmacosx-version-min=10.11'
> 
> Removed comma.
Sorry, I added an extra dash in the comment. I meant that the CL says 
mmacosx-version-**info**, not min.


https://reviews.llvm.org/D35379



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to