[capnproto] Build Cap'n Proto failure with Clang 3.5

2017-05-25 Thread Lucky Boy
Hi everyone, I am a beginner on Cap'n Proto and I would like to ask a build question. I am using Clang 3.5.0 to build Cap'n Proto but failed. What I did for build was ./configure CXX=clang++ CXXFLAGS='-std=gnu++1y -g' make and the build error is as follows: luckyboy@cse-322osu10:capnproto-

Re: [capnproto] Build Cap'n Proto failure with Clang 3.5

2017-05-25 Thread 'Kenton Varda' via Cap'n Proto
Hi, Clang 3.5 should be OK. In the build log you gave, the "-std=gnu++1y" flag is not being passed to the compiler, which explains the errors that follow. One reason this could happen is if you are building from source and you are using an older version of libtool. libtool is known to drop flags

Re: [capnproto] Build Cap'n Proto failure with Clang 3.5

2017-05-27 Thread Lucky Boy
Hi Kenton, Thanks very much and I appreciate your comments! I tried again and again but unfortunately still couldn't make capnproto built by clang.3.5... the information is as follows: luckyboy@cse-322osu10:capnproto-c++-0.6.0$ *./configure CXX=clang++ CXXFLAGS=-g* checking for a BSD-compati

Re: [capnproto] Build Cap'n Proto failure with Clang 3.5

2017-05-27 Thread 'Kenton Varda' via Cap'n Proto
Hi LuckyBoy, It looks like your compiler is crashing, which is definitely a bug in the compiler, not in Cap'n Proto. Is this really an unmodified build of Clang 3.5? Are you targeting an unusual architecture, or is there anything else unusual about your compiler configuration? I tested 0.6.0 using