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++/19447] unknown conversion type character `q' in format


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-15 04:38 -------
No what I am saying if you want accurate warnings for building 4.0.0, you need 4.0.0 but since we don't 
build cross compilers with -Werror for a reason.

Basically we added more formating in 4.0.0 which are not supported at all in 3.4.0 so warning about 
them in 3.4.0 is useful as you know that you messed up when back porting a patch to the 3.4.0 when 
compiling natively.  If you use an earlier version of gcc than 3.4.0, you don't get this warnings at all.  
The only way to fix this would depend on using the formatting warnings only for that certain version of 
gcc (I would assume that the formatting warnings are useful even if we don't support them in 3.4.0 
because you can reconize what version you using to cross compile with).

And yes you should be really using the same version to cross compile with as then it does not get 
confussing when something gets miscompiled (which has been known to happen in the past).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19447


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