User Profile

Collapse

Profile Sidebar

Collapse
waner
waner
Last Activity: Aug 1 '10, 07:49 AM
Joined: Jul 30 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • waner
    replied to compiling a db2 problem
    in C
    Thanks.I've tried as you say.The problem above isn't existed,though there is another problem appearing....
    See more | Go to post

    Leave a comment:


  • waner
    replied to compiling a db2 problem
    in C
    #if !defined SQL_API_RC
    #define SQL_API_RC int
    #define SQL_STRUCTURE struct
    #define SQL_POINTER
    #define SQL_API_FN __stdcall
    #define SQL_API_INTR __stdcall
    #define PSQL_API_FN __stdcall *
    #endif


    Is it?...
    See more | Go to post

    Leave a comment:


  • waner
    started a topic compiling a db2 problem
    in C

    compiling a db2 problem

    I'm new to db2. I've copied a small example program somewhere.My compiler is gcc. When I compile it I get some errors:
    In file included from test2.c:20:
    sqladef.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribu te__’ before ‘sqlaaloc’
    sqladef.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribu te__’...
    See more | Go to post
No activity results to display
Show More
Working...