On 01/09/2016 09:25, Dmitry Yemanov wrote:
> 01.09.2016 14:04, Adriano dos Santos Fernandes wrote:
>> MSVC10 supports nothing, and even MSVC12 is also a bit limited in regard
>> to MSVC14 and recent g++ and clang++:
>>
>> https://msdn.microsoft.com/en-us/library/hh567368.aspx
> We've agreed on MSVC13 for FBv4, so we cannot use features from later 
> versions. As for gcc, are there officially supported Linux distros other 
> than CentOS 6 that use gcc 4.7 or older? RHEL6 is EOL now, fortunately.
>
I see that before VC++ 2015 Update 3, it accepts everything supported
without compiler options, right?

So, I think the plan should be:

- Update Linux prefix files to include -std=c++11
- Agree on a set of allowed features
- Write a readme specifying these features

I can then submit it as PR with some usage of these features, converted
from old code, so others can see it working in their environments.

For the set of allowed features, I would want we to be dynamic and
always evaluate then as necessary, but I would start with:

- auto keyword
- range-based for loop
- lambdas


Adriano


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to