[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667159: exactimage: ftbfs with GCC-4.7



tags 667159 + pending
thanks

On Tuesday, April 03, 2012 11:08:44 PM you wrote:
> The package fails to build in a test rebuild on at least amd64 with
> gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
> severity of this report may be raised before the wheezy release.
> 
> edisplay/edisplay.cc:585:20: error: 'usleep' was not declared in this scope
[...]

Thanks for the tests and the bug report. I've uploaded a patch to the git
repository [1].

Kind regards,
	Sven

[1] http://anonscm.debian.org/gitweb/?p=collab-maint/exactimage.git;a=commit;h=21f8bb0e6f24209e336abe46c9ffaa8501f10fc3
Description: Fix missing declaration of usleep with libstdc++6-4.7
Bug-Debian: http://bugs.debian.org/667159
Author: Sven Eckelmann <sven@narfation.org>

---
diff --git a/edisplay/edisplay.cc b/edisplay/edisplay.cc
index 26485735154fafddd8f27c06d13f5397254ae3a6..79e3ae467e2a45ee7174d61207f33abe6f1aa03b 100644
--- a/edisplay/edisplay.cc
+++ b/edisplay/edisplay.cc
@@ -31,6 +31,7 @@
 #include <algorithm>
 #include <iostream>
 #include <sstream>
+#include <unistd.h>
 
 #include "ArgumentList.hh"
 using namespace Utility;

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: