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++/13484] Addition of -fenable-msvc-relaxations option


------- 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


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