Ethereal-dev: Re: [Ethereal-dev] Warnings in h225s, /h235 and kerberos dissectors

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ronnie Sahlberg" <ronnie_sahlberg@xxxxxxxxxxxxxx>
Date: Wed, 26 May 2004 02:09:03 +1000
Teh ASN2ETH script must be changed to fix these issues.

The two
> ../packet-h235.h:45: warning: array `AuthenticationMechanism_vals' assumed
to have one element
> ../packet-h235.h:46: warning: array `CryptoToken_vals' assumed to have one
element
and
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
Warning: size of symbol `CryptoToken_vals' changed from 8 in
.libs/packet-h225.o to 40 in .libs/packet-h235.o
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
Warning: size of symbol `AuthenticationMechanism_vals' changed from 8 in
.libs/packet-h225.o to 72 in .libs/packet-h235.o
will be fixed by ASN2ETH changing the header file to declare (and not
define) these two variables  by prepending the 'extern' qualifier.

All the
> ../packet-h235.c:440: warning: initialization from incompatible pointer
type
will be fixed by changing ASN2ETH to emit dissector functions that return
int  instead of guint32


Tomas, can you have a look at these changes required?



----- Original Message ----- 
From: "Joerg Mayer" <jmayer@xxxxxxxxx>
To: <ethereal-dev@xxxxxxxxxxxx>
Sent: Wednesday, May 26, 2004 5:58 AM
Subject: [Ethereal-dev] Warnings in h225s, /h235 and kerberos dissectors


> Just some warnings when compiling some files:
> packet-h225.[hc]
> packet-h235.[hc]
> packet-kerberos.c
>
> At least the linker warning should be fixed: the two files declare the
same
> symbols in two cases.
>
> ../packet-h225.c:7618: warning: initialization from incompatible pointer
type
> ../packet-h235.h:45: warning: array `AuthenticationMechanism_vals' assumed
to have one element
> ../packet-h235.h:46: warning: array `CryptoToken_vals' assumed to have one
element
> ../packet-h235.c:354: warning: initialization from incompatible pointer
type
> ../packet-h235.c:355: warning: initialization from incompatible pointer
type
> ../packet-h235.c:389: warning: initialization from incompatible pointer
type
> ../packet-h235.c:390: warning: initialization from incompatible pointer
type
> ../packet-h235.c:391: warning: initialization from incompatible pointer
type
> ../packet-h235.c:440: warning: initialization from incompatible pointer
type
> ../packet-h235.c:441: warning: initialization from incompatible pointer
type
> ../packet-h235.c:460: warning: initialization from incompatible pointer
type
> ../packet-h235.c:461: warning: initialization from incompatible pointer
type
> ../packet-h235.c:462: warning: initialization from incompatible pointer
type
> ../packet-h235.c:463: warning: initialization from incompatible pointer
type
> ../packet-h235.c:464: warning: initialization from incompatible pointer
type
> ../packet-h235.c:480: warning: initialization from incompatible pointer
type
> ../packet-h235.c:481: warning: initialization from incompatible pointer
type
> ../packet-h235.c:482: warning: initialization from incompatible pointer
type
> ../packet-h235.c:483: warning: initialization from incompatible pointer
type
> ../packet-h235.c:484: warning: initialization from incompatible pointer
type
> ../packet-h235.c:506: warning: initialization from incompatible pointer
type
> ../packet-h235.c:507: warning: initialization from incompatible pointer
type
> ../packet-h235.c:524: warning: initialization from incompatible pointer
type
> ../packet-h235.c:525: warning: initialization from incompatible pointer
type
> ../packet-h235.c:538: warning: initialization from incompatible pointer
type
> ../packet-h235.c:539: warning: initialization from incompatible pointer
type
> ../packet-h235.c:596: warning: initialization from incompatible pointer
type
> ../packet-h235.c:597: warning: initialization from incompatible pointer
type
> ../packet-h235.c:626: warning: initialization from incompatible pointer
type
> ../packet-h235.c:627: warning: initialization from incompatible pointer
type
> ../packet-h235.c:628: warning: initialization from incompatible pointer
type
> ../packet-h235.c:629: warning: initialization from incompatible pointer
type
> ../packet-h235.c:630: warning: initialization from incompatible pointer
type
> ../packet-h235.c:631: warning: initialization from incompatible pointer
type
> ../packet-h235.c:632: warning: initialization from incompatible pointer
type
> ../packet-h235.c:633: warning: initialization from incompatible pointer
type
> ../packet-h235.c:685: warning: initialization from incompatible pointer
type
> ../packet-h235.c:686: warning: initialization from incompatible pointer
type
> ../packet-h235.c:687: warning: initialization from incompatible pointer
type
> ../packet-h235.c:688: warning: initialization from incompatible pointer
type
> ../packet-h235.c:689: warning: initialization from incompatible pointer
type
> ../packet-h235.c:708: warning: initialization from incompatible pointer
type
> ../packet-h235.c:709: warning: initialization from incompatible pointer
type
> ../packet-h235.c:710: warning: initialization from incompatible pointer
type
> ../packet-h235.c:751: warning: initialization from incompatible pointer
type
> ../packet-h235.c:752: warning: initialization from incompatible pointer
type
> ../packet-h235.c:753: warning: initialization from incompatible pointer
type
> ../packet-h235.c:754: warning: initialization from incompatible pointer
type
> ../packet-h235.c:777: warning: initialization from incompatible pointer
type
> ../packet-h235.c:778: warning: initialization from incompatible pointer
type
> ../packet-h235.c:779: warning: initialization from incompatible pointer
type
> ../packet-h235.c:780: warning: initialization from incompatible pointer
type
> ../packet-h235.c:781: warning: initialization from incompatible pointer
type
> ../packet-h235.c:782: warning: initialization from incompatible pointer
type
> ../packet-h235.c:783: warning: initialization from incompatible pointer
type
> ../packet-h235.c:784: warning: initialization from incompatible pointer
type
> ../packet-h235.c:808: warning: initialization from incompatible pointer
type
> ../packet-h235.c:809: warning: initialization from incompatible pointer ty
pe
> ../packet-h235.c:810: warning: initialization from incompatible pointer
type
> ../packet-h235.c:811: warning: initialization from incompatible pointer
type
> ../packet-h235.c:828: warning: initialization from incompatible pointer
type
> ../packet-h235.c:829: warning: initialization from incompatible pointer
type
> ../packet-h235.c:830: warning: initialization from incompatible pointer
type
> ../packet-h235.c:831: warning: initialization from incompatible pointer
type
> ../packet-h235.c:832: warning: initialization from incompatible pointer
type
> ../packet-h235.c:833: warning: initialization from incompatible pointer
type
> ../packet-h235.c:834: warning: initialization from incompatible pointer
type
> ../packet-h235.c:835: warning: initialization from incompatible pointer
type
> ../packet-h235.c:836: warning: initialization from incompatible pointer
type
> ../packet-h235.c:837: warning: initialization from incompatible pointer
type
> ../packet-h235.c:838: warning: initialization from incompatible pointer
type
> ../packet-h235.c:839: warning: initialization from incompatible pointer
type
> ../packet-h235.c:856: warning: initialization from incompatible pointer
type
> ../packet-h235.c:857: warning: initialization from incompatible pointer
type
> ../packet-h235.c:858: warning: initialization from incompatible pointer
type
> ../packet-h235.c:883: warning: initialization from incompatible pointer
type
> ../packet-h235.c:884: warning: initialization from incompatible pointer
type
> ../packet-h235.c:900: warning: initialization from incompatible pointer
type
> ../packet-h235.c:901: warning: initialization from incompatible pointer
type
> ../packet-h235.c:917: warning: initialization from incompatible pointer
type
> ../packet-h235.c:918: warning: initialization from incompatible pointer
type
> ../packet-h235.c:919: warning: initialization from incompatible pointer
type
> ../packet-h235.c:943: warning: initialization from incompatible pointer
type
> ../packet-h235.c:944: warning: initialization from incompatible pointer
type
> ../packet-h235.c:945: warning: initialization from incompatible pointer
type
> ../packet-h235.c:946: warning: initialization from incompatible pointer
type
> ../packet-h235.c:961: warning: initialization from incompatible pointer
type
> ../packet-h235.c:962: warning: initialization from incompatible pointer
type
> ../packet-h235.c:963: warning: initialization from incompatible pointer
type
> ../packet-h235.c:964: warning: initialization from incompatible pointer
type
> ../packet-h235.c:965: warning: initialization from incompatible pointer
type
> ../packet-h235.c:978: warning: initialization from incompatible pointer
type
> ../packet-h235.c:979: warning: initialization from incompatible pointer
type
> ../packet-h235.c:980: warning: initialization from incompatible pointer
type
> ../packet-h235.c:981: warning: initialization from incompatible pointer
type
> ../packet-h235.c:994: warning: initialization from incompatible pointer
type
> ../packet-h235.c:995: warning: initialization from incompatible pointer
type
> ../packet-h235.c:996: warning: initialization from incompatible pointer
type
> ../packet-h235.c:997: warning: initialization from incompatible pointer
type
> ../packet-h235.c:1010: warning: initialization from incompatible pointer
type
> ../packet-h235.c:1011: warning: initialization from incompatible pointer
type
> ../packet-h235.c:556: warning: unused parameter `pinfo'
> ../packet-h235.c:530: warning: `dissect_h235_ECGDSASignature' defined but
not used
> ../packet-h235.c:876: warning: `dissect_h235_PwdCertToken' defined but not
used
> ../packet-h235.c:970: warning: `dissect_h235_KeySignedMaterial' defined
but not used
> ../packet-h235.c:986: warning: `dissect_h235_H235CertificateSignature'
defined but not used
> ../packet-h235.c:1002: warning: `dissect_h235_ReturnSig' defined but not
used
> ../packet-h235.c:1016: warning: `dissect_h235_KeySyncMaterial' defined but
not used
>
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
Warning: size of symbol `CryptoToken_vals' changed from 8 in
.libs/packet-h225.o to 40 in .libs/packet-h235.o
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
Warning: size of symbol `AuthenticationMechanism_vals' changed from 8 in
.libs/packet-h225.o to 72 in .libs/packet-h235.o
>
> ../packet-kerberos.c:1485: warning: passing arg 6 of
`dissect_ber_sequence' discards qualifiers from pointer target type
>
>
>   Ciao
>        Joerg
> -- 
> Joerg Mayer                                           <jmayer@xxxxxxxxx>
> We are stuck with technology when what we really want is just stuff that
> works. Some say that should read Microsoft instead of technology.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev