- **status**: review --> fixed
- **Comment**:

changeset:   6530:ee74d1846cad
branch:      opensaf-4.5.x
parent:      6525:32079e2039d2
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     amf: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6531:a9bc1dbb08b9
branch:      opensaf-4.5.x
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     mds: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6532:b9305fd1a863
branch:      opensaf-4.5.x
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     plm: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6533:ccccaf78d5e6
branch:      opensaf-4.6.x
parent:      6528:ae390469410a
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     amf: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6534:8a9393544c35
branch:      opensaf-4.6.x
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     mds: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6535:445df98a9bcf
branch:      opensaf-4.6.x
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     plm: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6536:aefa3b108e0b
parent:      6529:b02b84711237
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     amf: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6537:c58ed4cae121
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     mds: Fix GCC 5.1.0 compiler warning [#1340]

changeset:   6538:199094d11ede
tag:         tip
user:        Anders Widell <[email protected]>
date:        Fri May 08 12:33:00 2015 +0200
summary:     plm: Fix GCC 5.1.0 compiler warning [#1340]

[staging:ee74d1]
[staging:a9bc1d]
[staging:b9305f]
[staging:ccccaf]
[staging:8a9393]
[staging:445df9]
[staging:aefa3b]
[staging:c58ed4]
[staging:199094]




---

** [tickets:#1340] osaf: Build fails with GCC 5.1.0**

**Status:** fixed
**Milestone:** 4.5.2
**Created:** Fri Apr 24, 2015 11:37 AM UTC by Anders Widell
**Last Updated:** Wed Apr 29, 2015 12:23 PM UTC
**Owner:** Anders Widell

OpenSAF fails to build with GCC 5.1.0, due to new compiler warnings:

    imma_proc.c: In function 'imma_proc_increment_pending_reply':
    imma_proc.c:3324:28: error: comparison of constant '255' with boolean 
expression is always true [-Werror=bool-compare]
      if (cl_node->replyPending < 0xff) {
                                ^
    imma_proc.c: In function 'imma_proc_decrement_pending_reply':
    imma_proc.c:3337:29: error: comparison of constant '255' with boolean 
expression is always true [-Werror=bool-compare]
       if (cl_node->replyPending < 0xff) {
                                 ^
    
    
    susm.cc: In function 'uint32_t avnd_evt_avd_su_pres_evh(AVND_CB*, 
AVND_EVT*)':
    susm.cc:1237:26: error: switch condition has type bool [-Werror=switch-bool]
      switch (info->term_state) {
                              ^
    
    
    mds_dt_tipc.c: In function 'mdtm_tipc_init':
    mds_dt_tipc.c:245:28: error: comparison of constant '2' with boolean 
expression is always false [-Werror=bool-compare]
      if (mds_use_network_order == NCSCC_RC_FAILURE) {
                                ^
    
    
    plms_hsm.c: In function 'hsm_discover_and_dispatch':
    plms_hsm.c:685:20: error: unused variable 'my_entity_path' 
[-Werror=unused-variable]
      SaHpiEntityPathT  my_entity_path;
                        ^
    plms_hsm.c:684:20: error: unused variable 'hpirc' [-Werror=unused-variable]
      SaErrorT          hpirc = SA_OK;
                        ^



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to