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 standard classes but with a different signature.
> The preprocessor output causing the errors istream.h(108 -
> 110):
>
> class __declspec(dllimport) istream : virtual public ios {
>       ...
>     istream& win32_read(char *,int,);
>     inline istream& win32_read(unsigned char *,int,);
>     inline istream& win32_read(signed char *,int,);
>       ...

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
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to