https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #18 from Jason Merrill ---
(In reply to cqwrteur from comment #17)
> But does that apply to classes, templates or template specialization, etc.?
Yes, everything that you would define in a header.
> If someone writes a function=dele
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #17 from cqwrteur ---
(In reply to Jason Merrill from comment #16)
> (In reply to cqwrteur from comment #15)
> > But it is not declaration, but definition. The actual implementation
> > duplicates twice.
>
> Definitions are also mer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #16 from Jason Merrill ---
(In reply to cqwrteur from comment #15)
> But it is not declaration, but definition. The actual implementation
> duplicates twice.
Definitions are also merged.
> For translation units, inline function wil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #15 from cqwrteur ---
(In reply to Jason Merrill from comment #13)
> > The question is still how this library could work. The same simply
> > absolutely conflicts. Unless the standard allows inline to be discarded
> > across modules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #14 from cqwrteur ---
(In reply to Jason Merrill from comment #13)
> > The question is still how this library could work. The same simply
> > absolutely conflicts. Unless the standard allows inline to be discarded
> > across modules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #13 from Jason Merrill ---
> The question is still how this library could work. The same simply
> absolutely conflicts. Unless the standard allows inline to be discarded
> across modules I don't see how this could work.
It works bec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #12 from cqwrteur ---
(In reply to Jason Merrill from comment #10)
> (In reply to cqwrteur from comment #9)
> > (In reply to Jason Merrill from comment #8)
> > > bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #11 from cqwrteur ---
(In reply to Jason Merrill from comment #10)
> (In reply to cqwrteur from comment #9)
> > (In reply to Jason Merrill from comment #8)
> > > bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #10 from Jason Merrill ---
(In reply to cqwrteur from comment #9)
> (In reply to Jason Merrill from comment #8)
> > bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module
> > ‘bar’
> > 4 | export inline void foo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #9 from cqwrteur ---
(In reply to Jason Merrill from comment #8)
> bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module ‘bar’
> 4 | export inline void foo() noexcept;
> |^~~
> In file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #8 from Jason Merrill ---
bar.cppm:4:20: error: conflicting declaration of ‘void foo()’ in module ‘bar’
4 | export inline void foo() noexcept;
|^~~
In file included from bar.cppm:2:
someheader.hpp:1:13:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #7 from cqwrteur ---
(In reply to Jason Merrill from comment #6)
> (In reply to cqwrteur from comment #5)
> >
> > Is this a C++ standard defect? There is no inline definition for classes and
> > templates that allow multiple definit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
Ever confi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #5 from cqwrteur ---
(In reply to Patrick Palka from comment #3)
> I reckon it's not something we can fix/implement in a point release of GCC
> 14, but hopefully for 15...
Is this a C++ standard defect? There is no inline definition
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
Jonathan Wakely changed:
What|Removed |Added
CC||unlvsur at live dot com
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #3 from Patrick Palka ---
I reckon it's not something we can fix/implement in a point release of GCC 14,
but hopefully for 15...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #2 from Larry Smith ---
Thanks for the (very) fast turn-around (!). I'll look into the situation over
the coming days and reply further (so if you can keep the issue alive for now,
thanks). Just briefly though, can you (or anyone) co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
Depen
18 matches
Mail list logo