Bug 1540795
| Summary: | invalid code under gcc8 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orcan Ogetbil <oget.fedora> | 
| Component: | glibmm24 | Assignee: | Kalev Lember <klember> | 
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | 
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | debarshir, karlthered, klember, mattias.ellert, opensource | 
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glibmm24-2.54.1-2.fc28 | Doc Type: | If docs needed, set a value | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-02 15:58:31 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| 
 
        
          Description
        
        
          Orcan Ogetbil
        
        
        
        
        
          2018-02-01 03:00:59 UTC
        
       
      
      
      
    I found that the following upstream commit removes "the deprecated threads API" https://github.com/GNOME/glibmm/commit/db75f338fb1 It is an API breaking change. Should we backport this change downstream in rawhide? It looks like a typo (a missing &). The other 4 gobj() methods say "return &gobject":
$ grep 'gobj() {' /usr/include/glibmm-2.4/glibmm/threads.h
  GMutex* gobj() { return &gobject_; }
  GRecMutex* gobj() { return &gobject_; }
  GRWLock* gobj() { return &gobject_; }
  GCond* gobj() { return &gobject_; }
  GPrivate* gobj() { return gobject_; }
    Thanks, should be fixed in glibmm24-2.54.1-2.fc28 that changes it to "return &gobject_" Thanks. Makes me wonder why it didn't fail before.  |