Re: [gem5-dev] Protobuf compilation errors

2018-03-23 Thread Andreas Sandberg
Agreed. Using the old SWIG trick and use a less strict environment for some external dependencies (e.g., ProtoBuf) seems like the right thing to do. Thanks for looking into this! I would've done it myself if I had a better understanding of the build system. Most of the issues I have run into

Re: [gem5-dev] Protobuf compilation errors

2018-03-21 Thread Gabe Black
I definitely don't think we should disable -Wall or -Werror. I'll look into ways to disable that check in specific cases. Surprisingly I haven't run into this problem on my workstation even though I've hit a bunch of other problems related to very up to date tool versions, but maybe it's just

Re: [gem5-dev] Protobuf compilation errors

2018-03-21 Thread Matthias Jung
Hey, by the way, when we talk about protobuf, I recently found this: https://capnproto.org Its claimed, that capnproto is faster than protobuf, However, I cannot confirm that because I have not tried it. Has somebody else experience with capnproto? Best, Matthias > Am 21.03.2018 um

Re: [gem5-dev] Protobuf compilation errors

2018-03-21 Thread Matteo Andreozzi
Hi Andreas, Thanks for sending this out. I’ve been experiencing issues on Mac using clang, the issue in detail is: Scons tries to build a test program including message.h from protobuf to check if the protobuf C libraries are present Protobuf versions later than 3.3.0 use the LANG_CXX11 macro

[gem5-dev] Protobuf compilation errors

2018-03-21 Thread Andreas Sandberg
Hi Everyone, We have been experiencing some issues with some combinations of different versions of protobuf and gcc/clang. Most of the issues seem to be related to undefined macros (-Wundef), but I have some vague memories of other issues as well (unclear indentation?). In the short term, it