Wireshark mailing list archives
Re: Conditional compilation (debug)
From: Pascal Quantin <pascal.quantin () gmail com>
Date: Thu, 27 Jul 2017 18:42:43 +0200
Hi Dario, 2017-07-27 18:34 GMT+02:00 Dario Lombardo <dario.lombardo.ml () gmail com>:
Hi I'd like to add some code that appears only in development builds of wireshark. Is there some define that helps me understand if I am in such a case, both in autotools and cmake?
You could check that VERSION_MINOR is odd. But depending on the kind of code you want to checkin, maybe a specific compilation flag could be more appropriate? Cheers, Pascal.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Conditional compilation (debug) Dario Lombardo (Jul 27)
- Re: Conditional compilation (debug) Pascal Quantin (Jul 27)
- Re: Conditional compilation (debug) Jeff Morriss (Jul 27)
- Re: Conditional compilation (debug) Dario Lombardo (Jul 27)
- Re: Conditional compilation (debug) Roland Knall (Jul 28)
- Re: Conditional compilation (debug) Dario Lombardo (Jul 29)
- Re: Conditional compilation (debug) Michael Mann via Wireshark-dev (Jul 29)
- Re: Conditional compilation (debug) Dario Lombardo (Jul 30)
- Re: Conditional compilation (debug) Michael Mann via Wireshark-dev (Jul 29)
- Re: Conditional compilation (debug) Dario Lombardo (Jul 27)