• Bruce Momjian's avatar
    Some points for portability improvements: · b2d867fb
    Bruce Momjian authored
    1. C++ style comments in C source for ecpg ( // comment )
    2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c
    from
    include path instead of workdir (rename it ?)
    3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use
    SOCKET_SIZE_TYPE instead)
    4. char vs unsigned char in psql calls to libpq
    5. empty define that results in an empty but terminated line ( ; )
    
    Now for all but point 3 I can supply changes to the
    compiler flags, to make the compiler less pedantic.
    Or is someone interested in the complications ?
    
    in the meantime can someone apply the attached patch ?
    
    Andreas
    b2d867fb
aix_42 185 Bytes