This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11569] there's no substitute for #pragma once
- From: "from-bugzilla at geek-central dot gen dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2003 04:37:36 -0000
- Subject: [Bug c++/11569] there's no substitute for #pragma once
- References: <20030718093315.11569.from-bugzilla@geek-central.gen.nz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11569
------- Additional Comments From from-bugzilla at geek-central dot gen dot nz 2003-07-23 04:37 -------
Andrew Pinski wrote:
>>Under what situations might it fail to work?
>The situations are with PCH (which is not in any released version yet).
I'm not surprised PCH is not in any released version yet. You will never get
it to work reliably, for reasons that have nothing to do with #pragma once.
It's been tried on other platforms for many years, and it invariably ends up
being more trouble than the problem it's trying to solve.
I speak from experience.