Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - 6.5.0 and c++0x: (2 Items)
   
6.5.0 and c++0x  
When I try to compile a C++ program with -Wc=-std-c++0x it`s complaining that many fonction don`t have a prototypes 
nanosleep open64, close, strlcpy, delay, and many other.  
Re: 6.5.0 and c++0x  
Hi Mario,

"-Wc=-std-c++0x" is incorrect but maybe that's just a typo in your post?

I've successfully compiled most of the Boost library using "QCC -Y_gpp -Wc,-std=gnu++0x ...".

The GCC documentation isn't very clear on the difference between c++0x and gnu++0x except that the latter enables some 
GNU extensions.

I use -Y_gpp to select the GNU C++ library because I assume that it's better able to take advantage of the C++0x 
features. I haven't tried with the Dinkum library on 6.5.0.