- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- std::wstring program using gcc
Operating System - Linux
1820012
Members
3686
Online
109608
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 02:54 AM
тАО07-12-2006 02:54 AM
std::wstring program using gcc
I am using gcc compiler 3.3.2
I want use std::wstring in my program. I am trying simple "Hello World !" program using std::wstring and std::wcout. I am getting complie time errors related to wchar_t and related functions.
ex.
error: `btowc' not declared
there is huge list of similer errors.
I want to know what is the minumum requirement for wide character support.
e.g versions of libc, libstdc++, gcc.
I am using hp 11.00
I want use std::wstring in my program. I am trying simple "Hello World !" program using std::wstring and std::wcout. I am getting complie time errors related to wchar_t and related functions.
ex.
error: `btowc' not declared
there is huge list of similer errors.
I want to know what is the minumum requirement for wide character support.
e.g versions of libc, libstdc++, gcc.
I am using hp 11.00
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2006 03:51 PM
тАО07-12-2006 03:51 PM
Re: std::wstring program using gcc
I remember something about wstring issues with g++. It was in CXX-DEV in 2004 with:
CXX-DEV: wstring not defined using g++ 3.4.1
You can subscribe or search the archives with:
http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#24
But there is no way to get that support on 11.00 since there is no libc support until 11.11.
And even with g++ 3.4.3 on 11.23, I don't see any support. I try compiling with -D_GLIBCXX_USE_WCHAR_T -D_INCLUDE__STDC_A1_SOURCE and I get a bunch of other errors about mbstate_t and va_list.
CXX-DEV: wstring not defined using g++ 3.4.1
You can subscribe or search the archives with:
http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#24
But there is no way to get that support on 11.00 since there is no libc support until 11.11.
And even with g++ 3.4.3 on 11.23, I don't see any support. I try compiling with -D_GLIBCXX_USE_WCHAR_T -D_INCLUDE__STDC_A1_SOURCE and I get a bunch of other errors about mbstate_t and va_list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2006 05:22 AM
тАО07-13-2006 05:22 AM
Re: std::wstring program using gcc
I am not completely sure of the requirements but I got a test program to work on 11.11 with a 4.0.3 GCC compiler. I think the minimum requirements are HP-UX 11.11 or later and GCC 4.0 or later.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP