On Wed, Jul 23, 2003 at 04:03:47PM -0500, Craig Berry wrote:
> Again, the advice is general and does not refer specifically to Perl or Perl 
> extensions.  "Everywhere" just means everywhere that the tokens in question will be 
> seen by the compiler.  For a Perl extension, it might make perfect sense to put it 
> at the top of your XS code as long as the tokens aren't used in any extra C modules 
> that might be included.  Data declarations or function prototypes that are shared 
> among C modules are generally placed in a header file, and the redefinition I'm 
> suggesting should be placed wherever those declarations and prototypes are in the 
> package in question.

To add more general advice, its best to follow "general advice" with a 
specific patch if you want to see your advice followed.  Especially when it 
comes to VMS.  Most non-VMS users just don't think about things like 
case-insensitive compilers (hell, they barely worry about case-insensitive 
filesystems) nor how to program for them.

When in doubt, patch.  Its the best way to get more VMS-friendly modules.


-- 
Cottleston, Cottleston, Cottleston Pie.
A fly can't bird, but a bird can fly.
Ask me a riddle and I reply:
"Cottleston, Cottleston, Cottleston Pie."

Reply via email to