Opened 18 years ago
Closed 18 years ago
#867 closed bug (fixed)
Calculator build fails under GCC4
Reported by: | engima | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
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.
Attachments (1)
Change History (3)
by , 18 years ago
Attachment: | calculator.diff added |
---|
comment:1 by , 18 years ago
I think that the Calculator will be removed from the repository anyway. I'll wait with applying your patch until this is cleared.
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've removed the app, and thus fixed this bug, in hrev19019. Thanks for your patch, anyway, and sorry that it wasn't necessary!
Compilation and link fixes for GCC4