This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: Error compiling templates
>>>>> "CPoblete" == CPoblete <poblete@lim.com> writes:
CPoblete> As I am not an expert I could not prove that the above
CPoblete> IS A BUG. But as all other compilers (Sun, HP,
CPoblete> Microsoft) can compile our code, we would have to DROP
CPoblete> our support for Linux or gnu compiled binaries. I am
CPoblete> personally a fan of Linux/Gnu, but this definitely shows
CPoblete> how they are NOT for commercial use (anybody cares?).
Actually, there is a possibility here you do not have with a
"commercial" compiler:
o Right now, nobody wants to modify the official compiler is not
going to be modified to accept your (invalid) code. Certainly,
nobody is going to volunteer to do it.
o None-the-less, the source is available. You, or someone you hire,
can provide a custom version that does accept your code.
o If that work is done well, and it is judged that compatibility
with other compilers on this point is important, and the official
maintainers deem it reasonable, that behavior might be enabled by
a switch in some later major release of the official.
Even if the third bullet never happens, you can do the second bullet,
and have a compiler that does what *you* want it to do.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com