stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-471) [aCC 3.77/HP-UX 11.11] wctob not declared in <wchar.h>
Date Sat, 07 Jul 2007 22:23:05 GMT
[aCC 3.77/HP-UX 11.11] wctob not declared in <wchar.h>
------------------------------------------------------

                 Key: STDCXX-471
                 URL: https://issues.apache.org/jira/browse/STDCXX-471
             Project: C++ Standard Library
          Issue Type: Bug
          Components: External
         Environment: HP aCC/HP-UX B.11.11
            Reporter: Martin Sebor


The program below compiles with gcc 3.4.2 on HP-UX 11.11 but not with HP aCC:

$ cat t.c && uname -sr && gcc --version && gcc t.c && aCC
-V t.c
#include <stdio.h>
#include <wchar.h>

int main ()
{
    wctob (0);
}
HP-UX B.11.11
gcc (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

aCC: HP ANSI C++ B3910B A.03.77
Error 403: "t.c", line 6 # Undeclared variable 'wctob'. Perhaps 'wctomb' as in
    "int wctomb(char *,wchar_t)" ["/usr/include/stdlib.h", line 124] was
    intended.
        wctob (0);
        ^^^^^     


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message