Package: ocrad
Version: 0.14-1
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of ocrad_0.14-1 on bigsur by sbuild/mips 1.106
...
> g++ -Wall -W -O2 -c -o page_image_layout.o page_image_layout.cc
> page_image_layout.cc:34: error: definition of 'void
> Page_image::find_columns(const Rectangle&, bool)' is not in namespace
> enclosing 'Page_image'
> page_image_layout.cc:110: error: definition of 'void
> Page_image::find_rows(const Rectangle&, bool)' is not in namespace enclosing
> 'Page_image'
> make[1]: *** [page_image_layout.o] Error 1
--- ./page_image_layout.cc~ 2006-03-19 05:13:46.000000000 +0000
+++ ./page_image_layout.cc 2006-03-19 05:14:37.000000000 +0000
@@ -31,6 +31,8 @@
void find_rows( const Rectangle & rin, bool recursive ) throw();
+} // end namespace
+
void Page_image::find_columns( const Rectangle & rin, bool recursive ) throw()
{
if( !this->includes( rin ) ) return;
@@ -172,8 +174,6 @@
}
}
-} // end namespace
-
// Creates a reduced Page_image
//
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]