Open Bug 1620858 Opened 5 years ago Updated 5 years ago

Cannot specify multiple flags of DllBlockInfo::Flags

Categories

(Firefox :: Launcher Process, defect, P3)

Unspecified
Windows
defect

Tracking

()

People

(Reporter: toshi, Unassigned)

Details

Since DllBlockInfo::mFlags is defined as enum, using multiple flags in DLL_BLOCKLIST_ENTRY causes the compile error like this:

 0:05.58 u:/mz/mozilla-central/obj-x86_64-pc-mingw32/dist/include\mozilla/WindowsDllBlocklistLegacyDefs.h(22,67): error: cannot initialize a member subobject of type 'enum Flags' with an rvalue of type 'int'
 0:05.58   DLL_BLOCKLIST_ENTRY("database.dll", MAKE_VERSION(27, 3, 0, 59), DllBlockInfo::BLOCK_WIN8_ONLY | DllBlockInfo::BROWSER_PROCESS_ONLY)
 0:05.58                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
Severity: S3 → S4
You need to log in before you can comment on or make changes to this bug.