| Gavin Doughtie on 19 Aug 2003 00:00:32 -0000 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| [ALACPP] picky compiler or bad code? |
The following code:
mFiles.resize(FRAME_COUNT*2);
std::generate(static_cast<takemgr::PathVector::iterator>(&mFiles[FRAME_COUNT]),
mFiles.end(), TestFileGenerator(mDir));
did not require the "static_cast" in gcc 2.96, but did in gcc 3.22. Is my
code evil on its face or is gcc just pickier nowadays?
Gavin
_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp