Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] packet-rlc.c problems

From: Gisle Vanem <gvanem@xxxxxxxxxxxx>
Date: Tue, 15 Nov 2011 19:57:17 +0100
Just a FYI:

epan/dissectors/packet-rlc.c(113) : error C2365: 'PCCH' : redefinition; previous definition was 'typedef'
       g:\VC_2010\SDK\include\winnt.h(419) : see declaration of 'PCCH'
epan/dissectors/packet-rlc.c(113) : error C2086: 'channel_type PCCH' : redefinition
       epan/dissectors/packet-rlc.c(113) : see declaration of 'PCCH'
epan/dissectors/packet-rlc.c(902) : error C2275: 'PCCH' : illegal use of this type as an expression
       g:\VC_2010\SDK\include\winnt.h(419) : see declaration of 'PCCH'
epan/dissectors/packet-rlc.c(902) : error C2046: illegal case
epan/dissectors/packet-rlc.c(1628) : error C2143: syntax error : missing ')' before 'type'
epan/dissectors/packet-rlc.c(1628) : error C2198: 'dissect_rlc_tm' : too few arguments for call
epan/dissectors/packet-rlc.c(1628) : error C2059: syntax error : ')'

Can we rename 'PCCH' to something more sensible?

--gv