This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Source files' config.nmake has Debug compiler and link flags

0

Hi,

I noticed that in the 1.12.7 source files (https://www.wireshark.org/download/src/) in the config.nmake file, the /Zi debug compiler flag and /DEBUG linker flag are included. I am wondering if this is just for the development version or does the release version of wireshark have these debugging flags too? I am trying to make a release version of a plugin and an installer for that and am trying to figure out how to do so.

Thanks for any info,

asked 26 Aug '15, 14:25

j-demars's gravatar image

j-demars
416613
accept rate: 0%


One Answer:

0

Both these flags cause extra info to be inserted into the .pdb files used for debugging release code and shouldn't (AFAIK) affect the produced binary.

See MSDN /Zi and /Debug for more info.

You can see the actual build flags used by the buildbots when creating the Wireshark releases by examining the buildbot output, e.g. here.

For your plugin just follow the Developers Guide, that will produce a release version.

answered 27 Aug '15, 01:13

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%