Re: help with g++-4.3 (headers)

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

 



Rex Dieter wrote:

> Neal Becker wrote:
> 
>> I don't have g++-4.3 installed.  When building ipython:
> ...
>> walktrap_graph.cpp:167: error: 'sort' was not declared in this scope
>> walktrap_graph.cpp:190: error: 'strlen' was not declared in this scope
>> 
>> I tried adding:
>> #include <cstring>
>> #include <algorithm>
> 
> In my K&R book, strlen needs:
> #include <string.h>
> 
> not sure about sort.
> 
> -- Rex
> 
This is c++.  <cstring> should bring in std::strlen.

http://www.cplusplus.com/reference/clibrary/cstring/

And it is working on F8.

sort is supposed to be std::sort from STL <algorithm>.  It is working on F8.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux