libdbi deprecation warnings when building Evergreen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Low
|
Unassigned |
Bug Description
When building Evergreen Master on Ubuntu 14.04 (libdbi-0.8.4), I see the following warnings:
oils_sql.c:157:2: warning: 'dbi_initialize' is deprecated (declared at /usr/include/
if( dbi_initialize( NULL ) == -1 ) {
^
oils_sql.c:171:2: warning: 'dbi_conn_new' is deprecated (declared at /usr/include/
dbi_conn handle = dbi_conn_new( driver );
^
test_json_
if( dbi_initialize( NULL ) < 0 ) {
^
test_json_
dbi_conn conn = dbi_conn_new( "pgsql" ); // change string if ever necessary
^
test_json_
dbi_shutdown();
^
test_json_
dbi_shutdown();
^
test_qstore.
dbi_initialize( NULL );
^
test_qstore.
dbi_conn dbhandle = dbi_conn_new( opts->driver );
According to the Programmers Reference for LibDBI, there are replacement functions available (see http://
tags: | added: cleanup |
Changed in evergreen: | |
status: | New → Confirmed |
Also libdbi. sourceforge. net/docs/ programmers- guide/reference -conn.html