First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 129651
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Conway S. Smith <beolach@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129651 depends on: Show dependency tree
Bug 129651 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-11 21:21 0000
Building ocrad-0.14 using gcc-4.1.0 fails with these errors:
x86_64-pc-linux-gnu-g++  -march=athlon64 -O2 -pipe -c -o bitmap.o bitmap.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: *** [page_image_layout.o] Error 1
make: *** Waiting for unfinished jobs....

The following patch (found at
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg166371.html)
fixes this:

--- ocrad-0.14-orig/page_image_layout.cc        2006-01-02 11:31:18.000000000
-0700
+++ ocrad-0.14/page_image_layout.cc     2006-04-11 21:50:48.000000000 -0600
@@ -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
 //

------- Comment #1 From Martin Ehmsen (RETIRED) 2006-04-13 07:27:26 0000 -------
Fixed in CVS.
Thanks for reporting and discovering the patch!

First Last Prev Next    No search results available      Search page      Enter new bug