Removed warnings mesgs

Doesn't compile due to missing bufstream


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-07-25 08:31:39 +00:00
parent f701d7abc1
commit bd7d06f23d
20 changed files with 135 additions and 118 deletions

View File

@@ -26,6 +26,8 @@
#include <../iodbc/hstmt.h>
#include <../iodbc/itrace.h>
#include <strings.h>
#include <stdio.h>
extern char* _iodbcdm_getkeyvalbydsn();
extern char* _iodbcdm_getkeyvalinstr();
@@ -292,7 +294,7 @@ RETCODE _iodbcdm_driverunload( HDBC hdbc )
GENV_t FAR* genv;
HPROC hproc;
RETCODE retcode = SQL_SUCCESS;
int sqlstat = en_00000;
/* int sqlstat = en_00000; */
if( hdbc == SQL_NULL_HDBC )
{
@@ -952,16 +954,16 @@ RETCODE SQL_API SQLBrowseConnect (
SWORD FAR* pcbConnStrOut )
{
DBC_t FAR* pdbc = (DBC_t FAR*)hdbc;
HDLL hdll;
/* HDLL hdll; */
char FAR* drv;
char drvbuf[1024];
char FAR* dsn;
char dsnbuf[SQL_MAX_DSN_LENGTH + 1];
UCHAR cnstr2drv[1024];
/* UCHAR cnstr2drv[1024]; */
HPROC hproc, dialproc;
HPROC hproc /*, dialproc*/ ;
int sqlstat = en_00000;
/* int sqlstat = en_00000; */
RETCODE retcode = SQL_SUCCESS;
RETCODE setopterr = SQL_SUCCESS;

View File

@@ -32,7 +32,7 @@ HPROC _iodbcdm_getproc( HDBC hdbc, int idx )
{
DBC_t FAR* pdbc = (DBC_t FAR*)hdbc;
ENV_t FAR* penv;
HDLL hdll;
/* HDLL hdll; */
HPROC FAR* phproc;
if( idx <= 0 || idx > SQL_EXT_API_LAST )

View File

@@ -28,6 +28,8 @@
#include <../iodbc/itrace.h>
#include "../iodbc/herr.ci"
#include <strings.h>
#include <stdio.h>
static HERR _iodbcdm_popsqlerr( HERR herr )
{

View File

@@ -27,6 +27,9 @@
#include <../iodbc/itrace.h>
#include <strings.h>
#include <stdio.h>
RETCODE SQL_API SQLDataSources(
HENV henv,
UWORD fDir,
@@ -118,7 +121,7 @@ RETCODE SQL_API SQLGetInfo(
HPROC hproc;
RETCODE retcode = SQL_SUCCESS;
DWORD dword;
DWORD dword = 0;
int size = 0, len = 0;
char buf[16] = { '\0' };

View File

@@ -19,6 +19,7 @@
#include <../iodbc/isqlext.h>
#include <stdio.h>
#include <strings.h>
static int
upper_strneq(
@@ -26,8 +27,8 @@ upper_strneq(
char* s2,
int n )
{
int i;
char c1, c2;
int i;
char c1 = 0, c2 = 0;
for(i=1;i<n;i++)
{
@@ -108,7 +109,7 @@ readtoken(
static char*
getinitfile(char* buf, int size)
{
int i, j;
int /* i, */ j;
char* ptr;
j = STRLEN("/odbc.ini") + 1;