Skip to content

Compile warnings #199

@djzort

Description

@djzort

3x of these

dbdimp.c:32:1: note: in expansion of macro 'DBISTATE_DECLARE'
 DBISTATE_DECLARE;
 ^~~~~~~~~~~~~~~~
cc -c  -I/usr/include/oracle/23/client64 -I/usr/local/lib/perl5/site_perl/5.40.0/x86_64-linux-gnu/auto/DBI -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/local/lib/perl5/5.40.0/x86_64-linux-gnu/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"23.26.1.0\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
In file included from Oracle.h:50,
                 from oci8.c:12:
/usr/local/lib/perl5/site_perl/5.40.0/x86_64-linux-gnu/auto/DBI/DBIXS.h:495:25: warning: 'dbi_get_state' defined but not used [-Wunused-function]
     static dbistate_t** dbi_get_state(pTHX) {                               \
                         ^~~~~~~~~~~~~
/usr/local/lib/perl5/site_perl/5.40.0/x86_64-linux-gnu/auto/DBI/DBIXS.h:495:25: note: in definition of macro '_DBISTATE_DECLARE_COMMON'
     static dbistate_t** dbi_get_state(pTHX) {                               \
                         ^~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions