I'm not sure. Try compiling with the -std=c++0x switch and see if it compiles. If it compiles without errors, then it's probably safe. In the latest release, we've included a bash script that will download and compile the latest version of gcc (see package_gcc.bash<https://github.com/hypertable/hypertable/blob/master/bin/src-utils/package_gcc.bash>). We used a slight variant of that script to build gcc 4.8.2 on all of our build platforms.
- Doug On Mon, Mar 17, 2014 at 6:21 PM, Yongfeng Qi <[email protected]> wrote: > I replace "-std=c++11" with 'C++0x' in CMakelists.txt, when i compile > hypertable > 0.9.7.16 with gcc(4.4.4). Is that OK? > thx > > 在 2014年2月14日星期五UTC+8上午1时10分16秒,Doug Judd写道: > >> Now that most of the mainstream compilers support C++11, we've decided to >> make the switch. If you're compiling a C++ program that links to the >> Hypertable libraries, then you'll need to upgrade your compiler. I've >> got a script that builds the latest version of gcc (4.8.2), so if you'd >> like a copy of it, just let me know. If you're using the pre-built >> packages, this change won't have any impact on you. >> >> We plan to start using C++11 in the upcoming 0.9.7.16 release. On Linux, >> we'll be building with gcc 4.8.2 and on the Mac with clang (LLVM 3.3). >> >> - Doug >> >> -- Doug Judd CEO, Hypertable Inc. -- You received this message because you are subscribed to the Google Groups "Hypertable Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hypertable-dev. For more options, visit https://groups.google.com/d/optout.
