Am 12.05.2016 um 19:59 schrieb Dimitry Andric:
> On 12 May 2016, at 13:33, Yuri wrote:
>>
>> clang++37 compiles this simple program fine on 10.3, but fails on 9.3.
>>
>> Why does it behave differently on different OS versions?
>>
>> It looks like it ignores -std=c++11 on 9.3.
>
> You cannot
On 12 May 2016, at 13:33, Yuri wrote:
>
> clang++37 compiles this simple program fine on 10.3, but fails on 9.3.
>
> Why does it behave differently on different OS versions?
>
> It looks like it ignores -std=c++11 on 9.3.
You cannot compile for C++11 on a 9.x installation,
On 05/12/2016 04:33, Yuri wrote:
clang++37 compiles this simple program fine on 10.3, but fails on 9.3.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209467
Yuri
___
freebsd-ports@freebsd.org mailing list
clang++37 compiles this simple program fine on 10.3, but fails on 9.3.
Why does it behave differently on different OS versions?
It looks like it ignores -std=c++11 on 9.3.
Yuri
---program---
#include
int main() {
const int vmax = std::numeric_limits::max();
static_assert(vmax>0, "");
}