Wireshark-dev: Re: [Wireshark-dev] ASN.1 generating unused code warnings ( was:Compile warnings
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 25 Jun 2008 07:46:22 +0200
On Tue, Jun 24, 2008 at 10:52:04PM +0200, Anders Broman wrote:
> Not sure I have to check later, but it may well be in the original ASN.1
> file. I seem to remember looking at some of those warnings before and being
> undecided whether we should comment out unused ASN.1 code in *our* ASN.1
> file or keep the original ones as far as possible.

Maybe adding an option to ignore parts of the asn spec instead of commenting
things out in the asn file could be used. Leaving the asn file untouched is
nice from a maintainance point of view, commenting out unnecessary/unwanted
stuff is nice from an implementation point of view.

 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.