BartVandewoestyne / Effective-Modern-Cpp

Sample code for the Effective Modern C++ book by Scott Meyers.
561 stars 175 forks source link

Support different compilers #2

Open BartVandewoestyne opened 9 years ago

BartVandewoestyne commented 9 years ago

This project should be compilable with as many C++11/14 compilers as possible. It should be easy to switch compilers. The buildsystem should be modified so that it is easy to build the project with one or the other compiler. I do not yet have a clear idea about how to approach this. Suggestions are definitely welcome.

yoyonel commented 8 years ago

Hi Bart !

I've forked your depot and worked on branch for gcc-4.9 (ubuntu/mint x64) support. If you want, you can read/grab the result :-) =>https://github.com/yoyonel/Effective-Modern-Cpp/tree/gcc-4.9

Take for your sharings, Lionel

BartVandewoestyne commented 8 years ago

On Tue, May 10, 2016 at 4:22 PM, yoyonel notifications@github.com wrote:

Hi Bart !

I've forked your depot and worked on branch for gcc-4.9 (ubuntu/mint x64) support. If you want, you can read/grab the result :-) =>https://github.com/yoyonel/Effective-Modern-Cpp/tree/gcc-4.9

Take for your sharings, Lionel

Hello Lionel,

Thanks for the pull request. I'm quite busy the next couple of days, but I'll definitely take a look at it! Feel free to share the repo with your friends, co-workers, etc... and make some publicity for it :-)

Kind regards, Bart

BartVandewoestyne commented 8 years ago

On 2016-05-10 16:22, yoyonel wrote:

Hi Bart !

I've forked your depot and worked on branch for gcc-4.9 (ubuntu/mint x64) support. If you want, you can read/grab the result :-) =>https://github.com/yoyonel/Effective-Modern-Cpp/tree/gcc-4.9

Take for your sharings, Lionel

Hello Lionel,

Can you make a pull request for this? I might want to comment on your suggested changes. It will probably take me some time to go through it, but I eventually will! :-)

Kind regards, Bart

yoyonel commented 8 years ago

Yo Bart !

No problem to submit a pull request (it's done).

Cu soon ^^ YoYo

BartVandewoestyne commented 8 years ago

Hello yoyonel,

Today, I played around with Travis CI to setup an environment in which we can test both clang and g++. I could not get past the Boost 1.56 requirement. See my comments on issue #5.

yoyonel commented 8 years ago

Yo Bart, I sent to you a response on #5 ^^

BartVandewoestyne commented 8 years ago

I got three compilers working on Travis CI: g++ 4.9 and 5.0 and clang++ 3.6. Only clang++ 3.7 is still failing.

yoyonel commented 8 years ago

i will fix tomorrow the problem/bug for clang++ 3.7 ;-)