2025-07-31 21:11 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001767Spring engineLinuxpublic2010-01-08 00:52
Reportercleanrock 
Assigned Tozerver 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.5 
Target VersionFixed in Version0.81.0.0 
Summary0001767: rts/lib/gml/gml.cpp dont build on GCC 4.4.2 - memcpy undefined
DescriptionI 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.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004446

zerver (reporter)

If you include <string.h> instead, does it work without std:: ?

~0004448

cleanrock (reporter)

Yes, i did that as a first test but its not the proper solution imo.

~0004454

zerver (reporter)

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.
+Notes

-Issue History
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
+Issue History