rev. 1687 - перестала собираться в vs 2008

9 views
Skip to first unread message

Denis Kosy

unread,
May 30, 2008, 7:29:45 AM5/30/08
to fardeven
Far rev. 1687 перестал собираться в vs 2008.

--
Best regards,
Denis Kosy mailto:den....@gmail.com

Alexey Samlyukov

unread,
May 30, 2008, 7:39:09 AM5/30/08
to Denis Kosy
Здравствуйте(Hello), Denis Kosy!

- ответ на: "rev. 1687 - перестала собираться в vs 2008" 30 мая 2008 г. пятница 18:29:45 -

DK> Far rev. 1687 перестал собираться в vs 2008.

В 2005 также.

main.cpp(530) : error C3861: '_set_new_handler': identifier not found
new.cpp(47) : error C2146: syntax error : missing ';' before identifier '_pnhHeap'
new.cpp(47) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
new.cpp(47) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

--
OS: Windows XP SP2(rus)
С уважением,
Алексей Самлюков ~

Denis Kosy

unread,
May 30, 2008, 7:42:32 AM5/30/08
to fard...@googlegroups.com
Нужно чего-нибудь вроде такого:

Index: main.cpp
===================================================================
--- main.cpp (revision 1688)
+++ main.cpp (working copy)
@@ -52,6 +52,11 @@
#include "language.hpp"
#include "farexcpt.hpp"

+#if _MSC_VER>=1300
+#include <new.h>
+#endif
+
+
#ifdef DIRECT_RT
int DirectRT=0;
#endif
Index: new.cpp
===================================================================
--- new.cpp (revision 1688)
+++ new.cpp (working copy)
@@ -34,6 +34,10 @@
#include "headers.hpp"
#pragma hdrstop

+#if defined(_MSC_VER)
+#include <new.h>
+#endif
+
extern "C" {
void *__cdecl xf_malloc(size_t __size);
};

Alexey Samlyukov

unread,
May 30, 2008, 8:00:31 AM5/30/08
to Denis Kosy
Здравствуйте(Hello), Denis Kosy!

- ответ на: "rev. 1687 - перестала собираться в vs 2008" 30 мая 2008 г. пятница 18:42:32 -

DK> Нужно чего-нибудь вроде такого:

проще назад вернуть ЭТО :-)

Modified: trunk/unicode_far/headers.hpp
==============================================================================
--- trunk/unicode_far/headers.hpp (original)
+++ trunk/unicode_far/headers.hpp Fri May 30 06:19:56 2008
@@ -157,7 +157,7 @@
#if defined(__BORLANDC__)
#pragma option -p-
#endif
- #include <new.h>
+ #include <new>
#if defined(__BORLANDC__)
#pragma option -p.
#endif

Alex Yaroslavsky

unread,
May 30, 2008, 8:27:48 AM5/30/08
to fard...@googlegroups.com
Hello, Alexey & Denis!

This is an English only mailing list, russian is here -
far...@googlegroups.com

--
Bye,
Alex.


Reply all
Reply to author
Forward
0 new messages