Opened 11 years ago

Closed 11 years ago

#2637 closed bug (fixed)

[PATCH] Signal tests do not compile with gcc4

Reported by: andreasf Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

signal_test does not compile due to lack of stdlib.h for exit.

syscall_restart does not compile due to ISO-forbidden C++ array initialization.

Attachments (1)

signal-tests-gcc4.diff (1017 bytes ) - added by andreasf 11 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

by andreasf, 11 years ago

Attachment: signal-tests-gcc4.diff added

proposed patch

comment:1 by andreasf, 11 years ago

The attached patch fixes compilation.

comment:2 by jackburton, 11 years ago

Resolution: fixed
Status: newclosed

Thanks! Applied in hrev27061 and hrev27062. I also fixed a couple of other tests.

Note: See TracTickets for help on using tickets.