Am Montag, 17. Juni 2019, 12:04:44 CEST schrieb Jean-Marc Lasgouttes: > Le 13/06/2019 à 09:35, Kornel Benko a écrit : > > OK Jean-Marc and José. Committed at 6f2cd261 for cmake build. > > Good! > > > So without support of gcc4.6, do we need boost? > > Actually regex only work in gcc starting at 4.9. I am not sure we are > ready to require this right now (please tell me again), but it will be > possible soon. > > > What has to be done for clang to use STD_REGEX? > > I think it should just work, unless macOS has some issues. > > > ATM, we use STD_REGEX if requested on command line for cmake configuration. > > In autoconf, we enable it according on an explicit code test (that I > thought I stole from cmake).
Ah, yes. So in the end it is not a one way stealing (automake->cmake) :) > Let's return to boost and review its use. The things we use are > > #include <boost/any.hpp> > #include <boost/assert.hpp> > #include <boost/crc.hpp> > #include "boost/signals2.hpp" > #include <boost/lexical_cast.hpp> > #include <boost/regex.hpp> > > These are needed right now. > > #include <boost/cstdint.hpp> > > Can be replaced with <cstdint> with C++11 > > #include <boost/current_function.hpp> > > We can use __func_ with c++11. > > I will remove the two unneeded ones. > > JMarc Compiles fine here. Kornel
signature.asc
Description: This is a digitally signed message part.