Re: missing things in c++/gcc

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

 



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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux