Bug 226965 - [gcc-4.3] sci-visualization/epix-1.2.2 fails to compile w/ gcc-4.3
Bug#: 226965 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: mlm@ngc17.pl
Component: Applications
URL: 
Summary: [gcc-4.3] sci-visualization/epix-1.2.2 fails to compile w/ gcc-4.3
Keywords:  
Status Whiteboard: 
Opened: 2008-06-14 18:52 0000
Description:   Opened: 2008-06-14 18:52 0000
Again missing headers.

Steps to reproduce:
1. echo "=sci-visualization/epix-1.2.2" >> /etc/portage/package.keywords
2. USE="bash-completion emacs" emerge -v1 =sci-visualization/epix-1.2.2

The error messages:
1.
> errors.h: In function 'void ePiX::epix_error(std::string)':
> errors.h:51: error: 'exit' was not declared in this scope

My emerge --info: as in the bug 226663, comment 2.
I include a tiny patch.

------- Comment #1 From Marek Miller 2008-06-14 18:53:08 0000 -------
Created an attachment (id=156771) [details]
epix-1.2.2-gcc43.patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2008-06-14 19:11:46 0000 -------
Patch looks good

------- Comment #3 From Markus Dittrich 2008-06-15 10:56:52 0000 -------
Thank you very much for the patch. I've bumped epix
to version 1.2.4 which had a fix for this already.

Best,
Markus