Bug 787813 - corosync using qb_util_set_log_function
Summary: corosync using qb_util_set_log_function
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Corosync Cluster Engine
Classification: Retired
Component: unknown
Version: 1.4
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
Assignee: Angus Salkeld
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-06 19:42 UTC by Steven Dake
Modified: 2016-04-26 21:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-12 23:55:49 UTC


Attachments (Terms of Use)

Description Steven Dake 2012-02-06 19:42:15 UTC
Description of problem:
corosync is using a deprecated qb_util_set_log_function call.  Please replace with non-deprecated version to remove compile warning.

Version-Release number of selected component (if applicable):
1.99.1

How reproducible:


Steps to Reproduce:
1. run make
2.
3.
  
Actual results:
  CC     testcpg.o
  CCLD   testcpg
  CC     testcpg2.o
  CCLD   testcpg2
  CC     cpgbench.o
cpgbench.c: In function ‘main’:
cpgbench.c:169:2: warning: ‘qb_util_set_log_function’ is deprecated (declared at /usr/include/qb/qbutil.h:92) [-Wdeprecated-declarations]
  CCLD   cpgbench
  CC     testquorum.o
  CCLD   testquorum
  CC     testvotequorum1.o
  CCLD   testvotequorum1
  CC     testvotequorum2.o


Expected results:
No make warning about deprecated function

Additional info:

Comment 1 Angus Salkeld 2012-02-06 23:01:41 UTC
posted upstream


Note You need to log in before you can comment on or make changes to this bug.