Calculator build fails under GCC4
|Reported by:||engima||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
When building the target Calculator under GCC4 with command
jam -q Calculator the compilation fails with references to undefined function 'strlen'. If the string header is included in the relevant file explicitly the compilation succeeds.
Additionally link errors are encountered accessing libstdc++. This can be rectified by adding additional link libraries as with #862.
Created patch for GCC4 and attached. Unverified under GCC2.x however should be fine. Note, as it's not in the haiku-image target it's not a huge priority.