Bugzilla – Full Text Bug Listing |
Summary: | Problems with iterators when compiling with -D_GLIBCXX_DEBUG | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Matthieu Coudron <mattator> |
Component: | lte | Assignee: | Biljana Bojović <bbojovic> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | ns-bugs |
Priority: | P5 | ||
Version: | pre-release | ||
Hardware: | PC | ||
OS: | Linux |
Description
Matthieu Coudron
2016-08-07 16:56:03 EDT
as ns3 now can benefit from C++11, "auto" declarations might be handy. (In reply to Matthieu Coudron from comment #1) > as ns3 now can benefit from C++11, "auto" declarations might be handy. Hi Matthieu, Thank you very much for reporting this issue. I understand that you suggest to change the type of iterator to auto, is this correct? Did you find that this solves all of these compile issues with gcc 5.4? I think that until we move completely to c++ 11 I cannot change it to "auto", since ns-3 currently supports gcc from 4.2 through 4.8. So, I guess that for the moment I need to search some solution that would fit with both, older and newer gcc. Best regards, Biljana |