[config] How to use on Mac with C++11 dialect?

I've asked this on Boost-User and had no reply. Maybe someone here would know? Using the current Boost 1.48 and the current Clang for the Apple Macintosh, when the compiler is set to accept the C++11 dialect (that is, new "auto" usage, lambda functions, rvalue references, etc.) then Boost headers choke. So currently we can use either C++11 or Boost, but not both. I'm sure it's a matter of configuration, of telling Boost headers that the compiler is indeed supporting these constructs. Can someone please point out what needs to be done? Thanks, —John

Last time I've seen, clang could not support even lambda syntax, I don't know for this case where the problem lies, but I've switched to GCC for C++11 development... there's a lot lacking in Clang and libc++. 2012/1/17 John M. Dlugosz <mpbecey7gu@snkmail.com>
I've asked this on Boost-User and had no reply. Maybe someone here would know?
Using the current Boost 1.48 and the current Clang for the Apple Macintosh, when the compiler is set to accept the C++11 dialect (that is, new "auto" usage, lambda functions, rvalue references, etc.) then Boost headers choke. So currently we can use either C++11 or Boost, but not both.
I'm sure it's a matter of configuration, of telling Boost headers that the compiler is indeed supporting these constructs.
Can someone please point out what needs to be done?
Thanks, —John
______________________________**_________________ Unsubscribe & other changes: http://lists.boost.org/** mailman/listinfo.cgi/boost<http://lists.boost.org/mailman/listinfo.cgi/boost>

On 01/17/2012 05:48 PM, John M. Dlugosz wrote:
I've asked this on Boost-User and had no reply. Maybe someone here would know?
Using the current Boost 1.48 and the current Clang for the Apple Macintosh, when the compiler is set to accept the C++11 dialect (that is, new "auto" usage, lambda functions, rvalue references, etc.) then Boost headers choke. So currently we can use either C++11 or Boost, but not both.
I'm sure it's a matter of configuration, of telling Boost headers that the compiler is indeed supporting these constructs.
Can someone please point out what needs to be done?
Can you be more specific about the problems you're having? I use C++11 with Boost just fine.
participants (3)
-
Francisco L. Silva
-
John M. Dlugosz
-
Mathias Gaunard