Dear Andriy,

actually the intention of my change was getfem to support C++11 by default
if the compiler supports it by default.

Are you using msvc or gcc? I thought that my change would affect only
compiling with gcc which officially does not support c++11 by default.

Even with gcc one can still enable c++11 by adding the appropriate CXXFLAGS
at running the configure script.

Within getfem we just need to use
#if __cplusplus > 199711L
#endif
conditionals for features that depend on C++11.

Is there any practical issue that I am forgetting here?

Best regards
Kostas




On Wed, Mar 19, 2014 at 10:26 AM, Andriy Andreykiv <
[email protected]> wrote:

> Dear Getfem users,
>
> Currently, Getfem is configured by default not to support C++11 (revision
> 4536).
> May I ask why?  I would really want to have it supported. I like to use
> lambda's auto's and the new for loop syntax in my code, but,
> more importantly, C++11 includes libraries that otherwise have to be
> included through Boost (I'm using at least <thread> and <atomic>)
>
> Best regards,
>                         Andriy
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users
>
>
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to