1) Inline is case-sensative with filenames whereas Win32 is not.

If you compile a simple inline c package "Foo" and rename it "FOO", inline
will fail with "Had problems bootstrapping Inline module FOO"... errors


2) There seems to be a maximum length limitation on package names

OK:     package abcdefghijklmnopqrstuvwxyz;
NOT OK: package abcdefghijklmnopqrstuvwxyza;
OK:     package Win32::Struct::Abcdefghijklmnopq;
NOT OK: package Win32::Struct::Abcdefghijklmnopqr;

This may have something to do with the maximum size of a shell command using
command.com. Which under WinNT4.0 is 127 characters. Cmd.exe on the other
hand does not appear to have an easily reachable limit. Anyone know what it
is?

These bugs were found using a simple script like the following, and messing
around with the package name.

package Foo;
use Inline C => 'DATA';

__DATA__
__C__

void hello() {
  printf("Hello World\n");
}

Reply via email to