compile err
YongKang Zhu
yozhu at ece.rochester.edu
Tue Jul 23 11:55:41 EDT 2002
Dear Click members,
> Secondly, dang. We'll go through and fix these errors as much as we can in
> the anonymous CVS version. It would help if you provided us with a list of
> these warnings:
>
> > Also, with option `--disable-int64', I got lots of compilation warnings
> > at where pointer is converted to integer of different size.
With `--disable-int64' option when configuring, I got following warnings
before the compiler was stuck somewhere:
../lib/element.cc: In function `String Element::read_positional_handler
(Element *, void *)':
../lib/element.cc:760: warning: cast from pointer to integer of
different size
../lib/element.cc: In function `int
Element::reconfigure_positional_handler (const String &, Element *,
void *, ErrorHandler *)':
../lib/element.cc:831: warning: cast from pointer to integer of
different size
../lib/notifier.cc: In method `int Notifier::initialize (Router *)':
../lib/notifier.cc:53: warning: cast from pointer to integer of
different size
../lib/notifier.cc:56: warning: cast to pointer from integer of
different size
../elements/ethernet/arpresponder.cc: In function `String
ARPResponder::read_handler (Element *, void *)':
../elements/ethernet/arpresponder.cc:203: warning: cast from pointer to
integer of different size
../elements/ethernet/etherencap.cc: In function `String
EtherEncap::read_handler (Element *, void *)':
../elements/ethernet/etherencap.cc:87: warning: cast from pointer to
integer of different size
../elements/icmp/checkicmpheader.cc: In function `String
CheckICMPHeader::read_handler (Element *, void *)':
../elements/icmp/checkicmpheader.cc:153: warning: cast from pointer to
integer of different size
../elements/ip/checkipheader.cc: In function `String
CheckIPHeader::read_handler (Element *, void *)':
../elements/ip/checkipheader.cc:199: warning: cast from pointer to integer
of different size
../elements/ip/ipencap.cc: In function `String IPEncap::read_handler
(Element *, void *)':
../elements/ip/ipencap.cc:161: warning: cast from pointer to integer of
different size
../elements/standard/counter.cc: In function `String
Counter::read_handler (Element *, void *)':
../elements/standard/counter.cc:123: warning: cast from pointer to integer
of different size
../elements/standard/counter.cc: In function `int
Counter::write_handler (const String &, Element *, void *, ErrorHandler
*)':
../elements/standard/counter.cc:139: warning: cast from pointer to integer
of different size
../elements/standard/infinitesource.cc: In function `String
InfiniteSource::read_param (Element *, void *)':
../elements/standard/infinitesource.cc:135: warning: cast from pointer to
integer of different size
../elements/standard/infinitesource.cc: In function `int
InfiniteSource::change_param (const String &, Element *, void *,
ErrorHandler *)':
../elements/standard/infinitesource.cc:157: warning: cast from pointer to
integer of different size
Thank you.
-YongKang
More information about the click
mailing list