-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Bill Meier
Sent: den 28 juli 2014 15:24
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] O2 compile option makes it difficult to debug.

>> Hi,
>> It seems like the O2 option interferes with running the debugger. 
>> Would it be better to only use O2 on release builds?
>> I'm not sure how to do that, add nmake -f makefile.nmake release option?

>What I've done is to alter config.nmake slightly to allow the specification of 
>WIRESHARK_ENVIRONMENT_CFLAGS as an environment variable the >value of which is 
>then added to the end of the CFLAGS (after all the other stuff) in 
>config.nmake.
>
>So: I then set WIRESHARK_ENVIRONMENT_CFLAGS to /Od
>
<My experience has been that the "last seen" value for an option specified 
multiple times is the one that is used by the 'cl' command (at least for >the 
options I've wanted to override).
>
>If this is considered useful (and not harmful), I can commit the config.nmake 
>change.

Please upload it to gerrit, I think it would be useful.

Bill




___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to