Closed Bug 1480657 Opened 6 years ago Closed 6 years ago

Fix compiler warnings in clang-cl ASAN builds

Categories

(Core :: MFBT, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1306642
Tracking Status
firefox63 --- affected

People

(Reporter: emk, Unassigned)

Details

16:56:41 INFO - z:/build/build/src/obj-firefox/dist/include/mozilla/MemoryChecking.h(53,1): error: '__asan_poison_memory_region' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Werror,-Winconsistent-dllimport] 16:56:41 INFO - z:/build/build/src/obj-firefox/dist/include/mozilla/MemoryChecking.h(55,1): error: '__asan_unpoison_memory_region' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Werror,-Winconsistent-dllimport] This error prevents bug 1090497 from landing.
This sounds like the reverse of bug 1306642 -- I guess in your case MemoryChecking.h got included after plarena.h, rather than before it.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
No longer blocks: winclang-werror
You need to log in before you can comment on or make changes to this bug.