Re: [R-pkg-devel] warning: binary constants are a C++14 feature or GCC extension

2020-11-21 Thread Dan Zigmond
Thank you! That's very helpful. Dan . -- Dan Zigmond d...@shmonk.com On Sat, Nov 21, 2020 at 5:14 PM David Kepplinger wrote: > Dear Dan, > > As the warning says, the binary notation you use is only valid with > C++14 and onwards. You can either add SystemRequirem

Re: [R-pkg-devel] warning: binary constants are a C++14 feature or GCC extension

2020-11-21 Thread David Kepplinger
Dear Dan, As the warning says, the binary notation you use is only valid with C++14 and onwards. You can either add SystemRequirements: C++14 to your DESCRIPTION file, or use decimal (or hex) notation. In my opinion it's even better to name your constants to convey their meaning to the reader of