Scalable OGo (SOGo)

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001763SOGoSOPEpublic2012-04-09 12:182012-05-09 11:57
Reporteravoegele 
Assigned Toludovic 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit / nightly 
Target Version1.3.15Fixed in Version1.3.15 
Summary0001763: Support GCC 4.7 in SOPE
DescriptionGCC 4.7 removes several functions that were deprecated with GCC 4.6. Also, the libobjc distributed with GCC 4.7.0 sets __GNU_LIBOBJC__ to 20110608.

The attached patch replaces "__GNU_LIBOBJC__ == 20100911" with "__GNU_LIBOBJC__ >= 20100911" in several places. The condition "__GNU_LIBOBJC__ != 20100911" is replaced with "!(__GNU_LIBOBJC__ >= 20100911)".

In several modules the function sel_isEqual() is used instead of sel_eq() if a recent libobjc is installed. In sope-gdl1/GDLAccess/EOFaultHandler.m sel_getTypeEncoding() is used instead of selector->sel_types.

Tested on Slackware Linux, which recently switched to GCC 4.7.0.
TagsNo tags attached.
Attached Filesdiff file icon sope_gcc_4_7.diff [^] (27,092 bytes) 2012-04-09 12:18 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0003738)
kwirk (reporter)
2012-04-13 17:12

I can also confirm that the attached patch, "sope_gcc_4_7.diff", resolved the issue. Tested on ArchLinux which also recently switched to GCC 4.7.0.
(0003876)
ludovic (administrator)
2012-05-09 11:57

Patch pushed: http://mtn.inverse.ca/revision/diff/6f6c97530e1ca62307245ec25b6fab1b9399f99d/with/0681181778150eed5fe08a39588d7884861cdbf2 [^]

- Issue History
Date Modified Username Field Change
2012-04-09 12:18 avoegele New Issue
2012-04-09 12:18 avoegele File Added: sope_gcc_4_7.diff
2012-04-13 17:12 kwirk Note Added: 0003738
2012-05-09 11:44 ludovic Target Version => 1.3.15
2012-05-09 11:57 ludovic Note Added: 0003876
2012-05-09 11:57 ludovic Status new => resolved
2012-05-09 11:57 ludovic Fixed in Version => 1.3.15
2012-05-09 11:57 ludovic Resolution open => fixed
2012-05-09 11:57 ludovic Assigned To => ludovic
2012-05-09 11:57 ludovic Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker