Re: 7.x Compatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 09, 2003 at 06:53:46AM -0500, Muthu_T@xxxxxxxx wrote:
> Hi All,
> 
> //Application Source
> [root@xxxxxxxx root]# more hello.cpp
> #include <iostream>
> #include <fstream>
> #include <string>
> using namespace std;
> int main(int argc, char *argv[])
> {
>         wstring x(L"Hello World!");
>         //cout << "Hello World!" << endl;
>         //cout << x << endl;
>         return 0;
> }
> 
> 
> //Compiling with wstring support
> [root@xxxxxxxx root]# g++296 -D__GLIBCPP_WCHAR_SUPPORT__ hello.cpp

You need to use g++296 -wchar-stdc++ hello.cpp instead.

	Jakub


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux