missing things in c++/gcc

Jim Michaels jim.michaels@jesusnjim.com
Mon Apr 18 22:22:00 GMT 2016


my memory fuzzed a bit between... sorry. I hope your day goes well. 
praying for you.

Jim


On 4/18/2016 2:53 PM, Jonathan Wakely wrote:
> I meant to CC this to the list ...
>
> On 18 April 2016 at 21:57, Jonathan Wakely wrote:
>> On 18 April 2016 at 21:14, Jim Michaels  wrote:
>>> * ftp://ftp.gnu.org/pub/pub/gnu/gcc/ does not contain gcc 6.0.1 though it
>>> has been released. maybe people are still working on it? or it's been
>>> forgotten.
>> 6.0.1 is not a GCC release, that number belongs to development
>> snapshots. The release will be 6.1.0, but it hasn't been released yet.
>>
>>
>>> * try compiling c++ file that #include's string and iostream with -std=c++14
>>> and see what happens. tons of errors.
>> Compiling what file? With what compiler?
>>
>> C++14 works fine for me.
>>
>>> * basic_string.h, basic_string.tcc less than optimal code. why not include
>>> operator- for a string diff? 2 ways you can implement it, so why not provide
>>> both?
>> Because it's not part of the C++ standard.
>>
>>> * where is std::string::icompare, std::string::ifind and why is there no
>>> operator== (same as std::string::compare)?
>> What are icompare and ifind? They're not part of the C++ standard, why
>> do you expect to find them?
>>
>> There is an operator==
>>
>>> * where is std::string::toupper() and std::string::tolower, and the other
>>> string.h ops?
>> They're not part of std::string.
>>
>>> * why does cstring not include all of string.h?
>> It contains the parts that are defined by the C++ standard. Maybe your
>> <string.h> contains additional non-standard functions.
>>
>>> * why does cmath not include all of math.h?
>> Ditto.



More information about the Gcc-help mailing list