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 c++/11569] there's no substitute for #pragma once


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.


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