public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile
@ 2003-11-25 16:23 peturr02 at ru dot is
  2003-11-25 16:25 ` [Bug libstdc++/13189] " peturr02 at ru dot is
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: peturr02 at ru dot is @ 2003-11-25 16:23 UTC (permalink / raw)
  To: gcc-bugs

This file has an extreme case of bitrot. It currently fails because it
hasn't been updated to compile with the new parser. Fixing that is not
likely to help though, since enc_char_traits::state_type and
enc_char_traits::pos_type don't meet the requirements for basic_filebuf.

enc_filebuf doesn't work with 3.2.3 or 3.3.2 either, it causes linker
errors.

-- 
           Summary: <ext/enc_filebuf.h> fails to compile
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peturr02 at ru dot is
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
@ 2003-11-25 16:25 ` peturr02 at ru dot is
  2003-11-26 16:48 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peturr02 at ru dot is @ 2003-11-25 16:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From peturr02 at ru dot is  2003-11-25 16:25 -------
Created an attachment (id=5213)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5213&action=view)
Test case


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
  2003-11-25 16:25 ` [Bug libstdc++/13189] " peturr02 at ru dot is
@ 2003-11-26 16:48 ` pinskia at gcc dot gnu dot org
  2003-12-01  1:43 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-26 16:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-26 16:48 -------
It has been bitrotten since at least 3.3:

pr13189.cc: In function `int main()':
pr13189.cc:6: error: aggregate `std::__enc_traits st' has incomplete type and 
   cannot be defined
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h: At global scope:
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h: In instantiation of `std::fpos<std::__enc_traits>
':
/usr/include/gcc/darwin/3.3/c++/streambuf:257:   instantiated from `std::basic_streambuf<
char, __gnu_cxx::enc_char_traits<char> >'
pr13189.cc:8:   instantiated from `std::basic_filebuf<char, __gnu_cxx::enc_char_traits<
char> >'
pr13189.cc:8:   instantiated from `__gnu_cxx::enc_filebuf<char>'
pr13189.cc:8:   instantiated from here

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-26 16:48:09
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
  2003-11-25 16:25 ` [Bug libstdc++/13189] " peturr02 at ru dot is
  2003-11-26 16:48 ` pinskia at gcc dot gnu dot org
@ 2003-12-01  1:43 ` pinskia at gcc dot gnu dot org
  2003-12-05  6:54 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  1:43 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
                   ` (2 preceding siblings ...)
  2003-12-01  1:43 ` pinskia at gcc dot gnu dot org
@ 2003-12-05  6:54 ` cvs-commit at gcc dot gnu dot org
  2003-12-05 17:20 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-05  6:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-05 06:54 -------
Subject: Bug 13189

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2003-12-05 06:54:24

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/include/bits: fstream.tcc postypes.h sstream.tcc 
	                           streambuf.tcc 
	libstdc++-v3/include/ext: enc_filebuf.h 
Added files:
	libstdc++-v3/testsuite/ext/enc_filebuf/char: 13189.cc 
	libstdc++-v3/testsuite/ext/enc_filebuf/wchar_t: 13189.cc 
	libstdc++-v3/testsuite/ext/stdio_filebuf/char: 1.cc 2.cc 
	libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char: 1.cc 
	                                                    12048-1.cc 
	                                                    12048-2.cc 
	                                                    12048-3.cc 
	                                                    12048-4.cc 
	libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t: 1.cc 
	                                                       12948-1.cc 
	                                                       12948-2.cc 
	                                                       12948-3.cc 
	                                                       12948-4.cc 
Removed files:
	libstdc++-v3/testsuite/ext: stdio_filebuf.cc stdio_filebuf_2.cc 
	                            stdio_sync_filebuf_char.cc 
	                            stdio_sync_filebuf_wchar_t.cc 

Log message:
	2003-12-05  Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/13189
	* include/ext/enc_filebuf.h: Fix.
	* include/bits/fstream.tcc: Tweak formatting.
	* include/bits/postypes.h: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/streambuf.tcc: Same.
	* testsuite/ext/stdio_filebuf.cc: Split.
	* testsuite/ext/stdio_filebuf_2.cc: Split.
	* testsuite/ext/stdio_sync_filebuf_char.cc: Split.
	* testsuite/ext/stdio_sync_filebuf_wchar_t.cc: Split.
	* testsuite/ext/enc_filebuf/char/13189.cc: New.
	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: New.
	* testsuite/ext/stdio_filebuf/char/1.cc: New.
	* testsuite/ext/stdio_filebuf/char/2.cc: New.
	* testsuite/ext/stdio_sync_filebuf/char/1.cc: New.
	* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: New.
	* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: New.
	* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: New.
	* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: New.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: New.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: New.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: New.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: New.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2130&r2=1.2131
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/fstream.tcc.diff?cvsroot=gcc&r1=1.113&r2=1.114
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/postypes.h.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/sstream.tcc.diff?cvsroot=gcc&r1=1.36&r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/streambuf.tcc.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/ext/enc_filebuf.h.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_filebuf.cc.diff?cvsroot=gcc&r1=1.2&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_filebuf_2.cc.diff?cvsroot=gcc&r1=1.4&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf_char.cc.diff?cvsroot=gcc&r1=1.3&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf_wchar_t.cc.diff?cvsroot=gcc&r1=1.3&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/enc_filebuf/char/13189.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/enc_filebuf/wchar_t/13189.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_filebuf/char/1.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-1.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-2.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-4.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
                   ` (3 preceding siblings ...)
  2003-12-05  6:54 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-05 17:20 ` bkoz at gcc dot gnu dot org
  2003-12-05 17:36 ` bangerth at dealii dot org
  2003-12-09 18:42 ` dhazeghi at yahoo dot com
  6 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2003-12-05 17:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2003-12-05 17:20 -------

This can be closed. Petur, I may try to work on the enc_filebuf work this
weekend, it looks pretty close to me, but it depends on how far I get with other
bugs today.

New bugs about enc_filebuf should be new bugzilla reports.

-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
                   ` (4 preceding siblings ...)
  2003-12-05 17:20 ` bkoz at gcc dot gnu dot org
@ 2003-12-05 17:36 ` bangerth at dealii dot org
  2003-12-09 18:42 ` dhazeghi at yahoo dot com
  6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2003-12-05 17:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2003-12-05 17:36 -------
Closing because bkoz said so. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/13189] <ext/enc_filebuf.h> fails to compile
  2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
                   ` (5 preceding siblings ...)
  2003-12-05 17:36 ` bangerth at dealii dot org
@ 2003-12-09 18:42 ` dhazeghi at yahoo dot com
  6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 18:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-12-09 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-25 16:23 [Bug libstdc++/13189] New: <ext/enc_filebuf.h> fails to compile peturr02 at ru dot is
2003-11-25 16:25 ` [Bug libstdc++/13189] " peturr02 at ru dot is
2003-11-26 16:48 ` pinskia at gcc dot gnu dot org
2003-12-01  1:43 ` pinskia at gcc dot gnu dot org
2003-12-05  6:54 ` cvs-commit at gcc dot gnu dot org
2003-12-05 17:20 ` bkoz at gcc dot gnu dot org
2003-12-05 17:36 ` bangerth at dealii dot org
2003-12-09 18:42 ` dhazeghi at yahoo dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).