Re: complex support when using -std=c++11

2015-11-16 Thread Jason Merrill
On 11/15/2015 04:09 PM, D Haley wrote: Thanks for the prompt reply. I am not an expert here, so I probably don't know the correct solution for gcc. We are using std=c++11 to maximise source compatibility for any users seeking to recompile our code on whatever compiler/toolchain they have. Note

Re: complex support when using -std=c++11

2015-11-15 Thread D Haley
Dear Marc, Thanks for the prompt reply. I am not an expert here, so I probably don't know the correct solution for gcc. We are using std=c++11 to maximise source compatibility for any users seeking to recompile our code on whatever compiler/toolchain they have. As to your suggestions for po

Re: complex support when using -std=c++11

2015-11-12 Thread Marc Glisse
On Thu, 12 Nov 2015, D Haley wrote: I am currently trying to understand an issue to do with complex number support in gcc. Consider the following code: #include int main() { float _Complex a = _Complex_I; } Attempting to compile this with these commands is fine: $ g++ tmp.cpp -std