Re: [cfe-users] is this compiller error

2020-02-12 Thread Richard Smith via cfe-users
On Fri, 7 Feb 2020 at 19:51, FRANČEK PRIJATELJ via cfe-users < cfe-users@lists.llvm.org> wrote: > /* > > Following code compiled with clang-cl on win10 generates 2 errors > (while the same code compiled with MS cl compiles): > > t1.cpp(12,35): error: in-class initializer for static data member is

[cfe-users] is this compiller error

2020-02-07 Thread FRANČEK PRIJATELJ via cfe-users
/* Following code compiled with clang-cl on win10 generates 2 errors (while the same code compiled with MS cl compiles): t1.cpp(12,35): error: in-class initializer for static data member is not a constant expression     static const int64_t MIN_VALUE = -0x8000LL;