Skip to Content.
Sympa Menu

freetds - cc vs CC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Shivakumar, Pravinkumar (ODC - Satyam)" <PShivakumar AT Satyam.odc.ml.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: cc vs CC
  • Date: Fri, 23 Aug 2002 15:38:47 +0530

Hi All,

I have downloaded freeTDS-0.53 on sun solaris 5.6. Installation of the
program happens fine but when I execute the sample programs present in the
../src/dblib/unittests it runs fine while i use the cc compiler but when I
use the CC compiler it throws the following error.any clue what am i doing
wrong,


qaetr@hobbit% ./build.sh
t0003.c:
"t0003.c", line 44: Error: The function "read_login_info" must have a
prototype
"t0003.c", line 53: Error: Formal argument handler of type extern "C"
int(*)()
n call to dberrhandle(extern "C" int(*)()) is being passed
int(*)(DBPROCESS*,in
,int,int,char*,char*).
"t0003.c", line 54: Error: Formal argument handler of type extern "C"
int(*)()
n call to dbmsghandle(extern "C" int(*)()) is being passed
int(*)(DBPROCESS*,in
,int,int,char*,char*,char*,int).
"t0003.c", line 62: Warning: String literal converted to char* in formal
argume
t application in call to DBSETLAPP(LOGINREC*, char*).
"t0003.c", line 63: Warning: String literal converted to char* in formal
argume
t hostname in call to DBSETLHOST(LOGINREC*, char*).
"t0003.c", line 72: Warning: String literal converted to char* in formal
argume
t char_param in call to dbsetopt(DBPROCESS*, int, char*, int).
"t0003.c", line 77: Warning: String literal converted to char* in formal
argume
t cmdstring in call to dbcmd(DBPROCESS*, char*).
"t0003.c", line 89: Warning: String literal converted to char* in formal
argume
t cmdstring in call to dbcmd(DBPROCESS*, char*).
"t0003.c", line 111: Warning: String literal converted to char* in formal
argum
nt cmdstring in call to dbcmd(DBPROCESS*, char*).
3 Error(s) and 6 Warning(s) detected.
common.c:
pwd.c:

TIA,
regards,
Pravin Kumar S

<<application/ms-tnef>>



  • cc vs CC, Shivakumar, Pravinkumar (ODC - Satyam), 08/23/2002
    • <Possible follow-up(s)>
    • Re: cc vs CC, Alex Hornby, 08/23/2002

Archive powered by MHonArc 2.6.24.

Top of Page