Alexander wrote:

  Hi,

Hi i found source of problem. I have problem because build.pl Alien-WxWidgets in windows ignore --unicode options.
I run build script in debuger.
If i use --debug options i see $stuff = 'd';
But if i run perl build.pl --unicode. $stuff = '';
If i  run perl build.pl --unicode --debug $stuff='d';

My/Build/Win32.pm

my $suff = ( $self->awx_unicode ? 'u' : '' ) .
              ( $self->awx_debug ? 'd' : '' );

After it i look to the package My::Build::Base; for awx_unicode.
sub awx_debug { $_[0]->args( 'debug' ) ? 1 : 0 }
sub awx_is_debug { $_[0]->awx_debug }
sub awx_unicode { $_[0]->notes( 'build_wx_unicode' ) ? 1 : 0 }
sub awx_is_unicode { $_[0]->awx_unicode }

$_[0]->notes( 'build_wx_unicode' )  does't return 1;
When, after i change sub awx_unicode { $_[0]->args( 'unicode' ) ? 1 : 0 } script find binares.

  I committed:

sub awx_unicode { $_[0]->notes( 'build_wx_unicode' )
                    || $_[0]->args( 'unicode' ) ? 1 : 0 }

which should be correct in all cases.

xUSE_UNICODE_MSLU=1 -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA RichText.c
cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported
cc1plus.exe: error: to generate dependencies you must specify either -M or -MM
dmake:  Error code 129, while making 'RichText.o'
dmake:  Error code 255, while making 'subdirs'
dmake:  Error code 255, while making 'subdirs'

  This should be fixed; you will need to reainstall A::wx from
Subversion.

Regards,
Mattia

Reply via email to