Closed Bug 1431809 Opened 6 years ago Closed 6 years ago

Sandbox MinGW Compilation errors: Missing constants in MinGW

Categories

(Core :: Security: Process Sandboxing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

(Whiteboard: [tor])

Attachments

(1 file)

0:02.10 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/base/win/windows_version.cc: In constructor ‘base::win::OSInfo::OSInfo()’:
 0:02.10 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/base/win/windows_version.cc:190:12: error: ‘PRODUCT_ENTERPRISE_S’ was not declared in this scope
 0:02.10        case PRODUCT_ENTERPRISE_S:
 0:02.10             ^~~~~~~~~~~~~~~~~~~~
 0:02.10 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/base/win/windows_version.cc:191:12: error: ‘PRODUCT_ENTERPRISE_S_EVALUATION’ was not declared in this scope
 0:02.10        case PRODUCT_ENTERPRISE_S_EVALUATION:
 0:02.10             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 0:02.10 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/base/win/windows_version.cc:192:12: error: ‘PRODUCT_ENTERPRISE_S_N’ was not declared in this scope
 0:02.10        case PRODUCT_ENTERPRISE_S_N:
 0:02.10             ^~~~~~~~~~~~~~~~~~~~~~
> 0:02.10 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/base/win/windows_version.cc:193:12: error: ‘PRODUCT_ENTERPRISE_S_N_EVALUATION’ was not declared in this scope
> 0:02.10        case PRODUCT_ENTERPRISE_S_N_EVALUATION:
> 0:02.10             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Jacek can you add these? It seems like they're in mingw-w64-tools/widl/include/winnt.h but not in mingw-w64-headers/include/winnt.h ?
Flags: needinfo?(jacek)
Also 

 0:02.53 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/sandbox/win/src/acl.cc:98:20: error: ‘ERROR_INVALID_TOKEN’ was not declared in this scope
Never mind, I can do this; I don't know why I asked; it's so simple.
Flags: needinfo?(jacek)
Not bumping MinGW in this particular bug as we'll be bumping it over in Bug 1432009
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
I was wrong, we do need to bump here.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment on attachment 8945082 [details]
Bug 1431809 Bump MinGW version for new Product Constants

https://reviewboard.mozilla.org/r/215306/#review220870
Attachment #8945082 - Flags: review?(nfroyd) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4e13c93143e6
Bump MinGW version for new Product Constants r=froydnj
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4e13c93143e6
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: