This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/58770] GCC very slow compiling with #pragma once


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58770

--- Comment #4 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #3)
> I think the rationale for this code is that the #pragma must
> prevent a second inclusion, even if done by a different file
> name; whereas #ifdef exclusion doesn't suffer from this issue.

Sorry, I don't understand this. The #ifdef include-guards do prevent a second
inclusion, even if done by a different file name, no?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]