[Webkit-unassigned] [Bug 179427] New: Gigacage.cpp:44:46: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 8 09:26:33 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179427

            Bug ID: 179427
           Summary: Gigacage.cpp:44:46: warning: ‘*’ in boolean context,
                    suggest ‘&&’ instead [-Wint-in-bool-context]
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: bmalloc
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: ggaren at apple.com, sbarati at apple.com

r224555 "We should PROT_NONE the Gigacage runway so OOB accesses crash" introduced this GCC warning:

[15/2288] Building CXX object Source/b...les/bmalloc.dir/bmalloc/Gigacage.cpp.o
../../Source/bmalloc/bmalloc/Gigacage.cpp: In lambda function:
../../Source/bmalloc/bmalloc/Gigacage.cpp:44:46: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
 #define GIGACAGE_RUNWAY (16llu * 1024 * 1024 * 1024)
                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../../Source/bmalloc/bmalloc/Gigacage.cpp:159:17: note: in expansion of macro ‘GIGACAGE_RUNWAY’
             if (GIGACAGE_RUNWAY) {
                 ^~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171108/1349f5c4/attachment.html>


More information about the webkit-unassigned mailing list