Skip to content

Build From Source In setup.py #84

@whitemice

Description

@whitemice

Does the IfxPy module build, even from source, using current tools?

awilliam@dalet:~/projects/ifx3/IfxPy/IfxPy> cat out.txt 
Detected 64-bit Python
Smart Triggers are not available.
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying IfxPyDbi.py -> build/lib.linux-x86_64-3.6
running build_ext
building 'IfxPy' extension
creating build/temp.linux-x86_64-3.6
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fPIC -I/home/awilliam/projects/ifx3/IfxPy/IfxPy -I/home/awilliam/projects/ifx3/IfxPy/IfxPy/Include -I/opt/informix/incl/cli -I/usr/include/python3.6m -c ifxpyc.c -o build/temp.linux-x86_64-3.6/ifxpyc.o
ifxpyc.c: In function ‘estrndup’:
ifxpyc.c:158:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (len > max)
             ^
ifxpyc.c: In function ‘_python_IfxPy_free_conn_struct’:
ifxpyc.c:214:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    tempNode = tempNode->next;
             ^
ifxpyc.c: In function ‘_python_IfxPy_free_result_struct’:
ifxpyc.c:263:35: warning: unused variable ‘prev_ptr’ [-Wunused-variable]
     param_node *curr_ptr = NULL, *prev_ptr = NULL;
                                   ^~~~~~~~
ifxpyc.c:263:17: warning: unused variable ‘curr_ptr’ [-Wunused-variable]
     param_node *curr_ptr = NULL, *prev_ptr = NULL;
                 ^~~~~~~~

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