View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001767 | Spring engine | Linux | public | 2009-12-19 18:05 | 2010-01-08 00:52 | ||||
Reporter | cleanrock | ||||||||
Assigned To | zerver | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.80.5 | ||||||||
Target Version | Fixed in Version | 0.81.0.0 | |||||||
Summary | 0001767: rts/lib/gml/gml.cpp dont build on GCC 4.4.2 - memcpy undefined | ||||||||
Description | I think the best solution is to change gmlfun.h in this way: - add #include <cstring> (seems std headers in StdAfx.h is included only when using MSVC) - replace memcpy with std::memcpy I did this and i could build spring then. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
zerver (reporter) 2009-12-22 16:31 |
If you include <string.h> instead, does it work without std:: ? |
cleanrock (reporter) 2009-12-22 18:16 |
Yes, i did that as a first test but its not the proper solution imo. |
zerver (reporter) 2009-12-27 17:03 |
You are right the std::memcpy is the real C++ alternative but the memcpy in string.h is not deprecated or anything like that so it is also a valid solution IMO. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-12-19 18:05 | cleanrock | New Issue | |
2009-12-22 16:31 | zerver | Note Added: 0004446 | |
2009-12-22 18:16 | cleanrock | Note Added: 0004448 | |
2009-12-27 17:03 | zerver | Note Added: 0004454 | |
2010-01-08 00:52 | zerver | Status | new => resolved |
2010-01-08 00:52 | zerver | Fixed in Version | => 0.81.0.0 |
2010-01-08 00:52 | zerver | Resolution | open => fixed |
2010-01-08 00:52 | zerver | Assigned To | => zerver |