fix for gcc4 (strcmp needs cstring, nothrow is in std namespace)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,7 +57,7 @@ _BZombieReplicantView_::MessageReceived(BMessage *msg)
|
|||||||
"Can't create the \"%s\" replicant because the library is in the Trash. (%s)",
|
"Can't create the \"%s\" replicant because the library is in the Trash. (%s)",
|
||||||
description, strerror(fError));
|
description, strerror(fError));
|
||||||
|
|
||||||
BAlert *alert = new (nothrow) BAlert("Error", error, "OK", NULL, NULL,
|
BAlert *alert = new (std::nothrow) BAlert("Error", error, "OK", NULL, NULL,
|
||||||
B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
||||||
if (alert != NULL)
|
if (alert != NULL)
|
||||||
alert->Go();
|
alert->Go();
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <image.h>
|
#include <image.h>
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
|
|
||||||
bool __gR5Compatibility = false;
|
bool __gR5Compatibility = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user