Menu

#5 Compile error on W2K

1.1 Branch
closed-duplicate
Compilation (2)
5
2008-02-12
2005-08-29
Anonymous
No

Tried compiling with VS.NET and get the following:

D:\downloads\pyDB2\PyDB2-1.1.0>setup.py build
Your DB2 root is: C:\Program Files\IBM\SQLLIB\
running build
running build_py
creating build
creating build\lib.win32-2.4
copying DB2.py -> build\lib.win32-2.4
running build_ext
building '_db2' extension
creating build\temp.win32-2.4
creating build\temp.win32-2.4\Release
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBU
G "-IC:\Program Files\IBM\SQLLIB\include" "-IC:\Program
Files\Python24\include" "-IC:\Program Files\
Python24\PC" /Tc_db2_module.c /Fobuild\temp.win32-2.4
\Release\_db2_module.obj
_db2_module.c
_db2_module.c(1855) : error C2036: 'SQLPOINTER' :
unknown size
_db2_module.c(2087) : warning C4018: '<' :
signed/unsigned mismatch
error: command '"C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\bin\cl.exe"' failed with exi
t status 2

Discussion

  • Ken Kuhlman

    Ken Kuhlman - 2006-01-20

    Logged In: YES
    user_id=1344215

    See patch 1411178. Changing from casting to a (void *) to
    a (SQLCHAR *) fixes this issue.

     
  • Jon Thoroddsen

    Jon Thoroddsen - 2008-02-12
    • labels: --> Compilation
    • assigned_to: nobody --> jon_thoroddsen
    • status: open --> open-duplicate
     
  • Jon Thoroddsen

    Jon Thoroddsen - 2008-02-12

    Logged In: YES
    user_id=2003727
    Originator: NO

    Fixed in 1.1.0-3

     
  • Jon Thoroddsen

    Jon Thoroddsen - 2008-02-12
    • status: open-duplicate --> closed-duplicate
     

Log in to post a comment.

MongoDB Logo MongoDB