First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 149191
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jeno I. Hajdu <jeno.i.hajdu@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 149191 depends on: Show dependency tree
Bug 149191 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-09-26 09:20 0000
GAlib won't compile with gcc4. One way to resolve the problem can be found on
GAlib's mailing list:
http://mailman.mit.edu/pipermail/galib/2006-June/001325.html .
Here's a patch:

--- gaconfig_old.h      2006-09-26 11:21:11.000000000 +0200
+++ gaconfig.h  2006-09-26 11:24:11.000000000 +0200
@@ -192,7 +192,9 @@

 // determine the compiler
 #if defined(__GNUG__) || defined(__GNUC__)
-#if __GNUC__ == 3
+#if __GNUC__ == 4
+#define GALIB_COMPILER "gcc4"
+#elif __GNUC__ == 3
 #define GALIB_COMPILER "gcc3"
 #elif __GNUC__ == 2
 #define GALIB_COMPILER "gcc2"
@@ -365,7 +367,7 @@
 #define GALIB_USE_PID
 #define GALIB_USE_EMPTY_TEMPLATES
 #define GALIB_NEED_INSTANTIATION_PREFIX
-#if __GNUC__ == 3
+#if __GNUC__ >= 3
 #define GALIB_USE_ANSI_HEADERS
 #define GALIB_USE_STD_NAMESPACE
 #define GALIB_USE_COMP_OPERATOR_TEMPLATES

There are still some unresolved warnings related to GAID.

------- Comment #1 From Markus Dittrich 2006-09-26 15:13:56 0000 -------
Hi Jeno,

Thanks for your report. I'll have a look at it soon.

Best,
Markus

------- Comment #2 From Markus Dittrich 2006-09-26 16:52:46 0000 -------
The patch works well and I just committed it to portage cvs.

Thanks again,
Markus

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