Bug report #5273

Trunk doesn't build with gcc 4.7

Added by Volker Fröhlich almost 12 years ago. Updated almost 12 years ago.

Status:Closed
Priority:Normal
Assignee:Jürgen Fischer
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:Linux, Fedora Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:14998

Description

Trunk doesn't build with gcc 4.7, but builds with 4.6.

In the first case it complains:

/builddir/build/BUILD/qgis-1.8.0/src/app/main.cpp: In function 'void myMessageOutput(QtMsgType, const char*)':
/builddir/build/BUILD/qgis-1.8.0/src/app/main.cpp:203:44: error: 'STDERR_FILENO' was not declared in this scope

Please see my patch.

qgis-1.8.0-unistd.patch Magnifier (333 Bytes) Volker Fröhlich, 2012-03-31 07:04 AM

History

#1 Updated by Jürgen Fischer almost 12 years ago

  • Assignee set to Jürgen Fischer

#2 Updated by Jürgen Fischer almost 12 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in c29fb5a and commit:8ae7651

Also available in: Atom PDF