Re: gcc 14 and modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 02.05.23 20:09, Jonathan Wakely wrote:
On Tue, 2 May 2023 at 18:47, Wilhelm Meier <wilhelm.meier@xxxxxxxx> wrote:

On 02.05.23 14:28, Jonathan Wakely wrote:

     Will gcc be shipped with the module std?


Eventually, yes, we will provide a std.cc module definition file, which
you will be able to compile and then import.

Is it possible to create the std.cc (or sort of) by my own?

You need to name pretty much everything from namespace std, and last
time I tried, it either crashed the compiler (see numerous bugs) or
failed to compile (e.g.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102345)

So, for the moment one should stick to import header-units?
But these need to be precompiled: how do I solve the dependency problem, e.g. how do I precompile all imported header-unit a source-file mentions?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux