zhipeng-jia / project-lemon

Automatically exported from code.google.com/p/project-lemon
72 stars 19 forks source link

Ubuntu 16.04 下编译错误 #27

Open gao-keyong opened 7 years ago

gao-keyong commented 7 years ago

g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qtlocalpeer.o qtsingleapplication/qtlocalpeer.cpp qtsingleapplication/qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’: qtsingleapplication/qtlocalpeer.cpp:96:54: error: ‘::getuid’ has not been declared socketName += QLatin1Char('-') + QString::number(::getuid(), 16);

lizr2004 commented 6 years ago

it was fixed by 111116. see it