Skip to content


More information when [LIB]_EXPORT is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 30, 2017
1 parent b8159a9 commit 649e3c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/
Expand Up @@ -174,7 +174,8 @@
# class declaration started
if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){
do {no warnings 'uninitialized';
$line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class $headerfile shoud be exported with appropriate [LIB]_EXPORT macro.";
my $classname = $3;
$line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class$classname in $headerfile shoud be exported with appropriate [LIB]_EXPORT macro. If this should not be available in python, wrap it in a `#ifndef SIP_RUN` block.";
$line = "$1$3";
# Inheritance
Expand Down

0 comments on commit 649e3c2

Please sign in to comment.