[Smtk-developers] Using C++ 11 Syntax

Marcus D. Hanwell marcus.hanwell at kitware.com
Tue Jun 21 11:10:18 EDT 2016


http://doc.qt.io/qt-5/supported-platforms.html may be of interest, as
Qt 5.7 requires C++11 their supported platforms for 5.7 is likely a
good starting point. I was checking minimum OS versions for Qt
yesterday and saw this.

On Tue, Jun 21, 2016 at 8:29 AM, Robert Maynard
<robert.maynard at kitware.com> wrote:
> Mac-clang by default compiles in a warn-but-allow-c++11 mode
> currently, which means we need to explicitly state that we want to
> compile smtk with c++11.
>
> To keep the build logic simpler I agree with ben that we need to make
> sure our dashboards are all using compilers that support the set of
> C++11 features
> we desire. A quick search shows that GCC 4.8.X does support most of
> C++11 language features ( including auto ), but has problems with
> standard library features.
>
> On Sun, Jun 19, 2016 at 11:20 AM, Bob Obara <bob.obara at kitware.com> wrote:
>> Hi All,
>>
>> I would like to start using some parts of C++ 11 - for example using auto.
>> Do feel that this is ok?  I noticed that when I used auto I got a warning
>> from building on the Mac.
>>
>> Bob
>>
>> Robert M. O'Bara, MEng.
>> Assistant Director of Scientific Computing
>>
>> Kitware Inc.
>> 28 Corporate Drive
>> Suite 101
>> Clifton Park, NY 12065
>>
>> Phone: (518) 881- 4931
>>
>>
>>
>>
>>
>> _______________________________________________
>> Smtk-developers mailing list
>> Smtk-developers at smtk.org
>> http://public.kitware.com/mailman/listinfo/smtk-developers
>>
> _______________________________________________
> Smtk-developers mailing list
> Smtk-developers at smtk.org
> http://public.kitware.com/mailman/listinfo/smtk-developers


More information about the Smtk-developers mailing list