Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] ../../epan/dissectors/packet-per.h:37: error: expected declaration specifiers or '...' before 'asn1_ctx_t'

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "yin sun" <sunyin51@xxxxxxxxx>
Date: Sat, 4 Aug 2007 15:34:18 -0400

That doesn't make sense, as
1. the packet-per.h itself uses types defined in asn1.h
2. it will break any dissectors's build that use packet-per before 0.99.6.

/Yin

On 8/4/07, Stephen Fisher <stephentfisher@xxxxxxxxx> wrote:


On Fri, Jul 27, 2007 at 04:39:57PM -0400, yin sun wrote:

> the epan/dissectors/packet-per.h is missing this #include
> <epan/asn1.h>

You should place that include in your dissector code as we typically do
not include other headers from within header files in Wireshark.


Steve

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev

  • References:
    • Re: [Wireshark-dev] ../../epan/dissectors/packet-per.h:37: error: expected declaration specifiers or '...' before 'asn1_ctx_t'
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] RFC: Get rid of individual configure for wiretap directory
  • Next by Date: Re: [Wireshark-dev] Building wireshark-0.99.6 problems on Linux
  • Previous by thread: Re: [Wireshark-dev] ../../epan/dissectors/packet-per.h:37: error: expected declaration specifiers or '...' before 'asn1_ctx_t'
  • Next by thread: Re: [Wireshark-dev] Building wireshark-0.99.6 problems on Linux
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation