This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13484] Addition of -fenable-msvc-relaxations option
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2003 03:10:51 -0000
- Subject: [Bug c++/13484] Addition of -fenable-msvc-relaxations option
- References: <20031224024633.13484.s_gccbugzilla@nedprod.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2003-12-24 03:10 -------
For the superflous typename, it pretty much depends on if they are *really*
superflous but correct or just misplaced. In the former case, we should ignore
it and it's a bug, but in the latter we can't help if MSVC accepts wrong code.
Anyway, you should *really* try GCC 3.4 with this, as it has a brand new C++
parser, where most of these issues are fixed. Submitting a testcase instead of
just speaking of it could be a nice start.
For the const temporary, I can't really follow what you're saying. Would you
mind providing an example for that as well?
Please also notice that the current GCC policy is to relate as strictly as
possible to the ISO/ANSI C++ standard, and clean the code out of any kind of
the extensions. So it's unlikely that anybody will accept a patch to make GCC
compatible with MSVC "bugs".
Anyway, let's talk about this later when you provide code snippets to explain
better what you mean.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13484