Bug: Perma [tier2] mingw /builds/worker/checkouts/gecko/browser/app/winlauncher/DllBlocklistInit.cpp:31:20: error: use of undeclared identifier 'nt'; did you mean 'mozilla::nt'?
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-09-17 11:46:56+00:00
Resolved: 2020-09-25 14:13:52+00:00

**Filed by:** smolnar [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=315932968&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/b-T7qeckQ7KLbyQGWaz8tw/runs/0/artifacts/public/logs/live_backing.log

---
```
"WARNING -  /builds/worker/workspace/obj-build/dist/include/mozilla/interceptor/Trampoline.h:279:12: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
[task 2020-09-17T10:26:14.886Z] 10:26:14     INFO -      return std::move(result);
[task 2020-09-17T10:26:14.888Z] 10:26:14     INFO -             ^
[task 2020-09-17T10:26:14.888Z] 10:26:14     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/interceptor/Trampoline.h:279:12: note: remove std::move call here
[task 2020-09-17T10:26:14.888Z] 10:26:14     INFO -      return std::move(result);
[task 2020-09-17T10:26:14.888Z] 10:26:14     INFO -             ^~~~~~~~~~      ~
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  In file included from Unified_cpp_app_winlauncher0.cpp:2:
[task 2020-09-17T10:26:14.889Z] 10:26:14    ERROR -  /builds/worker/checkouts/gecko/browser/app/winlauncher/DllBlocklistInit.cpp:31:20: error: use of undeclared identifier 'nt'; did you mean 'mozilla::nt'?
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -    ptrdiff_t diff = nt::PEHeaders::HModuleToBaseAddr<uint8_t*>(aRemote) -
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -                     ^~
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -                     mozilla::nt
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/NativeNt.h:132:11: note: 'mozilla::nt' declared here
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  namespace nt {
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -            ^
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  In file included from Unified_cpp_app_winlauncher0.cpp:2:
[task 2020-09-17T10:26:14.889Z] 10:26:14    ERROR -  /builds/worker/checkouts/gecko/browser/app/winlauncher/DllBlocklistInit.cpp:32:20: error: use of undeclared identifier 'nt'; did you mean 'mozilla::nt'?
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -                     nt::PEHeaders::HModuleToBaseAddr<uint8_t*>(aLocal);
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -                     ^~
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -                     mozilla::nt
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/NativeNt.h:132:11: note: 'mozilla::nt' declared here
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  namespace nt {
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -            ^
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  In file included from Unified_cpp_app_winlauncher0.cpp:29:
[task 2020-09-17T10:26:14.889Z] 10:26:14     INFO -  In file included from /builds/worker/checkouts/gecko/browser/app/winlauncher/LauncherProcessWin.cpp:17:
[task 2020-09-17T10:26:14.889Z] 10:26:14  WARNING -  /builds/worker/workspace/obj-build/dist/include/mozilla/glue/Debug.h:36:49: warning: GCC does not allow 'format' attribute in this position on a function definition [-Wgcc-compat]
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -  inline void printf_stderr(const char* fmt, ...) MOZ_FORMAT_PRINTF(1, 2) {
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -                                                  ^
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/Attributes.h:915:20: note: expanded from macro 'MOZ_FORMAT_PRINTF'
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -      __attribute__((format(__MINGW_PRINTF_FORMAT, stringIndex, firstToCheck)))
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -                     ^
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -  2 warnings and 2 errors generated.
[task 2020-09-17T10:26:14.890Z] 10:26:14    ERROR -  make[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:725: Unified_cpp_app_winlauncher0.o] Error 1
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -  make[4]: Leaving directory '/builds/worker/workspace/obj-build/browser/app/winlauncher'
[task 2020-09-17T10:26:14.890Z] 10:26:14    ERROR -  make[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: browser/app/winlauncher/target-objects] Error 2
[task 2020-09-17T10:26:14.890Z] 10:26:14     INFO -  make[3]: *** Waiting for unfinished jobs....
[task 2020-09-17T10:26:14.902Z] 10:26:14     INFO -  make[4]: Entering directory '/builds/worker/workspace/obj-build/security/sandbox'
[task 2020-09-17T10:26:14.903Z] 10:26:14     INFO -  security/sandbox/at_exit.o
[task 2020-09-17T10:26:14.903Z] 10:26:14     INFO -  make[4]: Leaving directory '/builds/worker/workspace/obj-build/security/sandbox'
[task 2020-09-17T10:26:14.907Z] 10:26:14     INFO -  make[4]: Entering directory '/builds/worker/workspace/obj-build/accessible/windows/ia2'"```