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++/34015] warning in backward_warning.h is illegible



------- Comment #1 from manu at gcc dot gnu dot org  2007-11-08 10:56 -------
We cannot assume that people encountering the warning will have web access.
The warning can certainly be improved. 

"A list of valid replacements is as follows: Use: Instead of:" 
This doesn't actually explain what follows.

"<sstream>, basic_stringbuf <strstream>, strstreambuf <sstream>,
basic_istringstream <strstream>,"
The comma makes it look like you should use basic_stringbuf instead of
<strstream>.
Also, if strstream is replaced by several, it will be convenient to group them
(<strstream> replaced by strstreambuf, ostrstream)

"To disable this warning use -Wno-deprecated."
There is a period missing before this sentence. I think it should go earlier,
so there is nothing else after the list of replacements.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-08 10:56:30
               date|                            |


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


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