You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/06/05 21:48:32 UTC

[jira] Updated: (STDCXX-195) [Linux] error on std::putc()

     [ http://issues.apache.org/jira/browse/STDCXX-195?page=all ]

Martin Sebor updated STDCXX-195:
--------------------------------

    Summary: [Linux] error on std::putc()  (was: IBM VAC++ 8.0 linux uses _IO_putc instead of putc)
    Version: 4.1.3

> [Linux] error on std::putc()
> ----------------------------
>
>          Key: STDCXX-195
>          URL: http://issues.apache.org/jira/browse/STDCXX-195
>      Project: C++ Standard Library
>         Type: Bug

>   Components: 27. Input/Output
>     Versions: 4.1.3
>  Environment: SuSE SLES 9sp2 (ppc64), IBM XL C/C++ Advanced Edition V8.0 for Linux   
> Version: 08.00.0000.0000
>     Reporter: Scott (Yu) Zhong
>     Assignee: Martin Sebor

>
> IBM VAC++ 8.0 linux uses _IO_putc instead of putc
> file affected:
> include/ansi/cstdio
> ------- testcase.cpp --------
> #include <cstdio>
> int main()
> {
> 	std::putc ("test", stdout);
>         std::fflush (stdout);
> }
> ---------- compile line ----------------
> xlc -F /package/1/ppc64/compilers/ibm/va80/vac.cfg -q64 -qarch=ppc64 -D_RWSTD_NO_IMPLICIT_INCLUSION -qnolib -Wl,-dynamic-linker -Wl,/lib64/ld64.so.1  -D_RWCONFIG=stdlib_rs -I../../include -I./../../../../include -I./../../../../include/ansi -I./../../../.. -I.. -I. -g -c ../testcase.cpp
> ---------- output ----------------------
> "../testcase.cpp", line 5.9: 1540-0130 (S) "std::_IO_putc" is not declared.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira