public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "klaus.doldinger64 at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109718] New: Dependency generation for header-units and modules not possible Date: Wed, 03 May 2023 16:16:15 +0000 [thread overview] Message-ID: <bug-109718-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109718 Bug ID: 109718 Summary: Dependency generation for header-units and modules not possible Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: klaus.doldinger64 at googlemail dot com Target Milestone: --- To generate make-dependencies I use the following command line: g++ -c -MD -MG -std=c++23 -fconcepts -fmodules-ts test.cc where test.cc is: ----------------- import <array>; int main() { } ----------------- It gives the error: cc1plus: error: '-MG' may only be used with '-M' or '-MM' Removing -MG gives also an error, because the precompiled header does not yet exist: /usr/local/include/c++/14.0.0/iostream: error: failed to read compiled module: No such file or directory /usr/local/include/c++/14.0.0/iostream: note: compiled module file is 'gcm.cache/./usr/local/include/c++/14.0.0/iostream.gcm' /usr/local/include/c++/14.0.0/iostream: note: imports must be built before being imported /usr/local/include/c++/14.0.0/iostream: fatal error: returning to the gate for a mechanical issue So, it looks that there is no possiblity to create a valid dependency file with gcc.
reply other threads:[~2023-05-03 16:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-109718-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).