Closed plicease closed 9 years ago
Try this instead:
use strict;
use warnings;
use Config::AutoConf;
unlink 'config.log';
my $ac = Config::AutoConf->new;
$ac->check_cc;
$ac->check_default_headers;
$ac->check_alignof_type('int');
$ac->check_alignof_type( "I32", { prologue => "#include <EXTERN.h>\n#include <perl.h>" } )
Seems that gcc requires something from it's libraries for that - I would rate it as a bug in gcc, but call it a day and call check_default_headers first ...
Thanks, that helps.
This program works with
clang
but notgcc
on an otherwise the same system:output:
config.log:
versions: