Thread: Warnings

Warnings

From
"Johann Zuschlag"
Date:
Hi,

in the latest CVS I saw some changes in Code because of some compile warnings.

Question: There where allways some warnings during compile (VC6).
And they are still there. Why?

regards


Johann Zuschlag
zuschlag2@online.de



Re: Warnings

From
Bruce Momjian
Date:
Johann Zuschlag wrote:
> Hi,
>
> in the latest CVS I saw some changes in Code because of some compile warnings.
>
> Question: There where allways some warnings during compile (VC6).
> And they are still there. Why?

Please send them over and we will take a look.  Current CVS doesn't show
any for BSD/OS.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: Warnings

From
"Johann Zuschlag"
Date:
On Mon, 25 Mar 2002 16:11:38 -0500 (EST), Bruce Momjian wrote:

>Please send them over and we will take a look.  Current CVS doesn't show
>any for BSD/OS.

There are (and were allways since 6.5 or later IIRC) the following warnings. All error numbers of MS VC6.
The german statements:
"Formal parameter 2 differs from declaration" and
"Different types for formal and supplied parameter 4"

Never knew whether these are some casting tricks.

drvconn.c(328) : warning C4028: Formaler Parameter 2 unterscheidet sich von der Deklaration
drvconn.c(328) : warning C4024: 'DialogBoxParamA' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter 4
drvconn.c(334) : warning C4028: Formaler Parameter 2 unterscheidet sich von der Deklaration
drvconn.c(334) : warning C4024: 'DialogBoxParamA' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter 4

setup.c(133) : warning C4028: Formaler Parameter 2 unterscheidet sich von der Deklaration
setup.c(133) : warning C4024: 'DialogBoxParamA' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter 4
setup.c(305) : warning C4028: Formaler Parameter 2 unterscheidet sich von der Deklaration
setup.c(305) : warning C4024: 'DialogBoxParamA' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter 4
setup.c(312) : warning C4028: Formaler Parameter 2 unterscheidet sich von der Deklaration
setup.c(312) : warning C4024: 'DialogBoxParamA' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter 4

Any ideas?

regards


Johann Zuschlag
zuschlag2@online.de



Re: Warnings

From
Hiroshi Inoue
Date:
Johann Zuschlag wrote:
>
> On Mon, 25 Mar 2002 16:11:38 -0500 (EST), Bruce Momjian wrote:
>
> >Please send them over and we will take a look.  Current CVS doesn't show
> >any for BSD/OS.
>
> There are (and were allways since 6.5 or later IIRC) the following warnings. All error numbers of MS VC6.
> The german statements:
> "Formal parameter 2 differs from declaration" and
> "Different types for formal and supplied parameter 4"

Probably I can fix it. Please wait for a week or so.
I have already > 10000 lines of 'diff -c' changes to the
current cvs.

regards,
Hiroshi Inoue