Closed Bug 1840530 Opened 1 year ago Closed 1 year ago

[clang-trunk] Perma /builds/worker/checkouts/gecko/mozglue/baseprofiler/core/platform.cpp:2970:17: error: implicit instantiation of undefined template 'std::basic_ofstream<char>'

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=420584815&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NdZFh2j2TEyroeqtD2Lxxw/runs/0/artifacts/public/logs/live_backing.log


[task 2023-06-25T23:58:23.286Z] 23:58:23    ERROR -  /builds/worker/checkouts/gecko/mozglue/baseprofiler/core/platform.cpp:2970:17: error: implicit instantiation of undefined template 'std::basic_ofstream<char>'
[task 2023-06-25T23:58:23.287Z] 23:58:23     INFO -   2970 |   std::ofstream stream;
[task 2023-06-25T23:58:23.287Z] 23:58:23     INFO -        |                 ^
[task 2023-06-25T23:58:23.287Z] 23:58:23     INFO -  /builds/worker/fetches/clang/bin/../x86_64-w64-mingw32/include/c++/v1/__fwd/fstream.h:26:28: note: template is declared here
[task 2023-06-25T23:58:23.288Z] 23:58:23     INFO -     26 | class _LIBCPP_TEMPLATE_VIS basic_ofstream;
[task 2023-06-25T23:58:23.288Z] 23:58:23     INFO -        |                            ^
[task 2023-06-25T23:58:23.288Z] 23:58:23     INFO -  1 warning and 1 error generated.

clang trunk recently removed the granularity between fstream and
filesystem, and to have fstream, one needs to enable filesystem, now.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

If there are mingw clang bugs, could you have them all block mingw-clang - it will help Tor Browser folks when they are upgrading compilers to be able to reference the changes easier. Thanks!

Blocks: mingw-clang
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/2117ff180fe1
Enable filesystem support in libc++ for mingw. r=tjr
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: