trolley813 / OpenFool

Open source implementation of a Fool (Durak) card game.
35 stars 6 forks source link

Build on Linux #7

Closed bulat-f closed 7 years ago

bulat-f commented 7 years ago

I have a trouble with building on Linux. I run qmake ../OpenFool.pro (not just OpenFool). After I try to execute make release, but Make say target is not fund. Okay, I run make and it start to compile, but I receive error message again.

../table.h:17:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat]
     Table(QObject *parent = nullptr);
     ^

What am I doing wrong?

trolley813 commented 7 years ago

@fatbulat I'll try to reproduce this.

trolley813 commented 7 years ago

Reproduced and fixed. The problem was that GCC on Windows includes C++11 headers by default and enables C++11 standard, which is not the case on Linux. Now it's properly fixed - but it's still necessary to run just make.