> What version of VC++ are you using?  That will work with 6 and 7--and if
> it doesn't, you have much bigger problems than rx.h, like a compiler
> that's completely on crack.

it's vstudio 6.0 enterprise with service pack 5, the compiler (cl) itself
shows 12.00.8804, linker shows 6.00.8447

and i'm sure the compiler works ok! i tried to compile the following
software packages (with success):
 firebird 1rc2, perl5.6.1, apache2.0.28, dbd-interbase 0.30

fact is: w/o that extern keyword it don't work. are you sure that it works 
with your compiler if you have #define INLINE __inline?
if yes, i have the same question: what vc++ are you using (version,
standard/professional/enterprise)??

----- Original Message ----- 
From: "Brent Dax" <[EMAIL PROTECTED]>
To: "Ritz Daniel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 12:06 AM
Subject: RE: [PATCH] inline and win32 w/ msvc++


> Ritz Daniel:
> # w/o that extern in rx.h the msvc++ can't link and gcc does it
> # with or w/o...
> ...
> # Index: rx.h
> # ===================================================================
> # RCS file: /cvs/public/parrot/include/parrot/rx.h,v
> # retrieving revision 1.11
> # diff -u -r1.11 rx.h
> # --- rx.h 18 Feb 2002 08:26:10 -0000 1.11
> # +++ rx.h 18 Feb 2002 20:54:41 -0000
> # @@ -69,10 +69,10 @@
> #
> #  rxinfo * rx_allocate_info(struct Parrot_Interp *, STRING *);
> #
> # -INLINE BOOLVAL  rx_is_word_character(struct Parrot_Interp *,
> # INTVAL ch);
> # -INLINE BOOLVAL  rx_is_number_character(struct Parrot_Interp
> # *, INTVAL ch);
> # -INLINE BOOLVAL  rx_is_whitespace_character(struct
> # Parrot_Interp *, INTVAL ch);
> # -INLINE BOOLVAL rx_is_newline(struct Parrot_Interp *, INTVAL ch);
> # +extern INLINE BOOLVAL  rx_is_word_character(struct
> # Parrot_Interp *, INTVAL ch);
> # +extern INLINE BOOLVAL  rx_is_number_character(struct
> # Parrot_Interp *, INTVAL ch);
> # +extern INLINE BOOLVAL  rx_is_whitespace_character(struct
> # Parrot_Interp *, INTVAL ch);
> # +extern INLINE BOOLVAL rx_is_newline(struct Parrot_Interp *,
> # INTVAL ch);
> 


Reply via email to