Without knowing the specifics, could you do a
#ifdef problem_function
#undef problem_function
#endif
at an appropriate place in the xs file?
--
best regards,
randy kobes
Hi Randy,
that did it!
Thanks a lot
Thomas
___
-Original Message-
From: Sisyphus [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 10:02 PM
To: [EMAIL PROTECTED]
Cc: perl-win32-users@listserv.ActiveState.com
Subject: Re: Problem compiling VC++ module with XS
[EMAIL PROTECTED] wrote:
Hi List,
I'm trying to compile a C++ XS
[EMAIL PROTECTED] wrote:
Hi Rob,
Thanks for the hint. But the option -TP directs vc++ to handle all files as
C++.
Sorry - missed that, but *did* notice the syntax errors - and thought
they might be arising because the cpp files were being treated as c files.
I don't think I can help. Try the
On Tue, 22 Feb 2005 [EMAIL PROTECTED] wrote:
Hi Rob,
Thanks for the hint. But the option -TP directs vc++ to
handle all files as C++. The problems are maros defined in
lib\CORE\win32iop.h that redefine standard C function
declarations. The same functions (i.e. eof) are declared
in some
[EMAIL PROTECTED] wrote:
Hi List,
I'm trying to compile a C++ XS module with MS VC++ 6.0. Due to defines
(redifinition of standard c funktions like eof) in win32iop.h several VC++
standard headers throw errors:
cl -c -I. -TP -MD -Zi -DNDEBUG -O1 -DVERSION=\0.01\ -DXS_VERSION=\0.01\