[Vm-dev] compiling Objective-C++ (.mm) files with clang++ on MacOS

Eliot Miranda eliot.miranda at gmail.com
Mon Apr 22 19:12:22 UTC 2019


Hi All,

    anyone know if there's a special -x argument for clang++ when compiling
.mm files?
I'm suffering from a conflict between the boost C++ libraries use of
noexcept and Objective-C's use of noexcept as a keyword.  It may be that
I'm invoking clang++ wrongly.  But if I use either

      clang++ -x objc
or
      clang++ -x objc++
both are rejected "language not recognized".  I can't find a list of
acceptable language names (the man page just says -x <language>
Treat subsequent input files as having type <language>

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190422/349d942e/attachment.html>


More information about the Vm-dev mailing list