You can use the USE() macro to silence the unused variable warnings (make
DCHECK call USE).
USE is defined here:
https://cs.chromium.org/chromium/src/v8/src/base/macros.h?l=267

On Tue, Jul 17, 2018 at 1:41 PM <n4h...@gmail.com> wrote:

> Thank you for reply
> Simply changing DCHECK () results in a compile error (because unused
> variables are created). In DCHECK_WITH_MSG, replacing the statement in the
> if statement with void (0); will fix the problem.
>
>
> 2018년 7월 17일 화요일 오후 6시 55분 20초 UTC+9, Jakob Gruber 님의 말:
>>
>> Edit the DCHECK macro definition:
>> https://cs.chromium.org/chromium/src/v8/src/base/logging.h?l=63&rcl=f1b3e80faad6c84deabec8043bae524d1480293b
>>
>> On Tue, Jul 17, 2018 at 11:37 AM, <n4h...@gmail.com> wrote:
>>
>>> I am using d8 in debug mode.
>>> I would like to disable the dcheck functions in this state. Do I have
>>> any compile options like this?
>>>
>> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Clemens Hammacher

Software Engineer

cleme...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten
haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter,
löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen,
dass die E-Mail an die falsche Person gesendet wurde.



This e-mail is confidential. If you received this communication by mistake,
please don't forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to