Ticket #57 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

compilation on Linux32 fails

Reported by: ne704 [niko@… Owned by: emmenlau
Priority: major Milestone:
Component: xuvtools Version:
Keywords: Cc: niko@…, aponti@…, mario@…

Description

g++ on Ubuntu 9.04 with Qt 4.5 complains and stops:

../../src/gui/mainwindow.cpp: In member function ‘void MainWindow::redirectToFile(QString)’:
../../src/gui/mainwindow.cpp:1275: error: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
../../src/gui/mainwindow.cpp:1290: error: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
../../src/gui/mainwindow.cpp: In member function ‘void MainWindow::redirectToNull()’:
../../src/gui/mainwindow.cpp:1313: error: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
../../src/gui/mainwindow.cpp:1314: error: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Change History

Changed 11 years ago by aaron@…

Please see if the fix added in revision 2736 corrects the compilation problem.

Changed 11 years ago by ne704 [niko@…

  • status changed from new to closed
  • resolution set to fixed

fixed in r2737

Note: See TracTickets for help on using tickets.