Issue Details (XML | Word | Printable)

Key: STDCXX-614
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Travis Vitek
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[gcc 4.1/Linux] error on size_t in 27.stringbuf.xsputn.stdcxx-515.cpp

Created: 24/Oct/07 08:12 PM   Updated: 29/Jan/08 07:59 PM
Return to search
Component/s: Tests
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Not Specified

Environment: gcc 4.1.1 on Red Hat Enterprise Linux Server release 5 (Tikanga)
Issue Links:
Duplicate
 

Patch Info: Patch Available
Severity: Compiler Error
Resolution Date: 18/Dec/07 11:03 PM


 Description  « Hide
The 27.stringbuf.xsputn.stdcxx-515.cpp fails to compile with gcc 4.1.1 on Red Hat Enterprise Linux Server release 5 with the error below:

gcc -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
$(TOPDIR)/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp: In function 'int main()':
$(TOPDIR)/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp:33: error: 'size_t' was not declared in this scope
$(TOPDIR)/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp:33: error: expected `;' before 'i'
$(TOPDIR)/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp:33: error: 'i' was not declared in this scope
gmake: *** [27.stringbuf.xsputn.stdcxx-515.o] Error 1



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Travis Vitek made changes - 29/Oct/07 10:02 PM
Field Original Value New Value
Assignee Travis Vitek [ vitek ]
Travis Vitek made changes - 29/Oct/07 10:17 PM
Patch Info [Patch Available]
Travis Vitek made changes - 18/Dec/07 11:03 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Martin Sebor made changes - 29/Jan/08 07:59 PM
Link This issue is duplicated by STDCXX-691 [ STDCXX-691 ]