Skip to content

Commit

Permalink
Require ExtUtils::CppGuess v0.11 (was v0.07). Fixes GH issue #34.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Oswald committed Sep 10, 2015
1 parent 90ab496 commit bb289ce
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 23 deletions.
13 changes: 8 additions & 5 deletions Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Inline::CPP.

0.74 2015-09-10
- Require ExtUtils::CppGuess v0.11 or newer.

0.73 2015-08-08
- Better handling of spaces in filenames.

Expand Down Expand Up @@ -31,7 +34,7 @@ Revision history for Perl extension Inline::CPP.
- Identifiers may start with _ (Pre-5.120 regression in 0.64).

0.64 2014-10-23
- Fix GH Issue #24: Downgrade gracefully if \p{XID_Start} and
- Fix GH Issue #24: Downgrade gracefully if \p{XID_Start} and
\p{XID_Continue} aren't available (pre-Perl 5.120).

0.63 2014-09-13
Expand Down Expand Up @@ -59,7 +62,7 @@ Revision history for Perl extension Inline::CPP.
(Until EU::CG is fixed to handle this for us)

0.58 2014-08-11
- main:: is no longer prepended to top level of single-level
- main:: is no longer prepended to top level of single-level
classnames, per wbraswell's suggestion.
- Documentation for main:: quirk no longer needed; removed.
- Explicitly support Perl 5.8.1+ (was 5.6.1, but Inline now requires
Expand Down Expand Up @@ -139,7 +142,7 @@ Revision history for Perl extension Inline::CPP.
Inline's RT # 11748, and Inline::CPP's RT#84762.
- No changes from 0.42_002 (dev) other than to bump the version number to a
'production' number.

0.42_002 2013-04-24
- Require Inline::C version 0.52_02, to test a fix for the bug raised in
Inline's RT #11748, and Inline::CPP's RT #84762: Typemaps were causing INC
Expand All @@ -150,7 +153,7 @@ Revision history for Perl extension Inline::CPP.
- Added documentation on the Some::Foo::Foo problem (See the POD section,
"The Perl Namespace Hack").
- Removed version number from README; fewer places to make a mistake.

0.42 2012-11-02
- POD enhancements: Explanation of what parts of C++11 do and don't map
to Perl. Better explanation of why templates don't work for Perl
Expand All @@ -160,7 +163,7 @@ Revision history for Perl extension Inline::CPP.
- Fixed an error in the AUTO_INCLUDE documentation.

0.41 2012-09-05
- POD enhancements: Better description of compilation, _Inline/, and
- POD enhancements: Better description of compilation, _Inline/, and
code-reuse (modules, distributions).

0.40_001 2012-08-24
Expand Down
10 changes: 5 additions & 5 deletions META.json
Expand Up @@ -32,7 +32,7 @@
"configure" : {
"requires" : {
"Config" : "0",
"ExtUtils::CppGuess" : "0.07",
"ExtUtils::CppGuess" : "0.11",
"ExtUtils::MakeMaker" : "7.04",
"FindBin" : "0"
}
Expand All @@ -50,15 +50,15 @@
"provides" : {
"Inline::CPP" : {
"file" : "lib/Inline/CPP.pm",
"version" : "0.73"
"version" : "0.74"
},
"Inline::CPP::Config" : {
"file" : "lib/Inline/CPP/Config.pm",
"version" : "0.73"
"version" : "0.74"
},
"Inline::CPP::Parser::RecDescent" : {
"file" : "lib/Inline/CPP/Parser/RecDescent.pm",
"version" : "0.73"
"version" : "0.74"
}
},
"release_status" : "stable",
Expand All @@ -73,5 +73,5 @@
"web" : "http://github.com/daoswald/Inline-CPP"
}
},
"version" : "0.73"
"version" : "0.74"
}
10 changes: 5 additions & 5 deletions META.yml
Expand Up @@ -9,7 +9,7 @@ build_requires:
Test::More: '1.001009'
configure_requires:
Config: '0'
ExtUtils::CppGuess: '0.07'
ExtUtils::CppGuess: '0.11'
ExtUtils::MakeMaker: '7.04'
FindBin: '0'
dynamic_config: 1
Expand All @@ -27,13 +27,13 @@ no_index:
provides:
Inline::CPP:
file: lib/Inline/CPP.pm
version: '0.73'
version: '0.74'
Inline::CPP::Config:
file: lib/Inline/CPP/Config.pm
version: '0.73'
version: '0.74'
Inline::CPP::Parser::RecDescent:
file: lib/Inline/CPP/Parser/RecDescent.pm
version: '0.73'
version: '0.74'
requires:
Carp: '0'
Inline: '0.78'
Expand All @@ -44,4 +44,4 @@ resources:
homepage: http://github.com/daoswald/Inline-CPP
license: http://dev.perl.org/licenses/artistic.html
repository: http://github.com/daoswald/Inline-CPP.git
version: '0.73'
version: '0.74'
10 changes: 5 additions & 5 deletions Makefile.PL
Expand Up @@ -14,7 +14,7 @@ use 5.008001;

# The next line is verified via t/13version_numbers.t. Retain single quoting.

my $DIST_VERSION = '0.73'; # DRY in Makefile.PL.
my $DIST_VERSION = '0.74'; # DRY in Makefile.PL.

my $CPP_Config_path = 'lib/Inline/CPP/Config.pm';

Expand All @@ -38,7 +38,7 @@ my( $cc_guess, $libs_guess ) = guess_compiler();

my $cpp_compiler
= prompt( "What C++ compiler would you like to use?", $cc_guess );

my $libs
= prompt( "What default libraries would you like to include?", $libs_guess );

Expand All @@ -58,7 +58,7 @@ WriteMakefile(
'File::Temp' => '0', # Core.
},
CONFIGURE_REQUIRES => {
'ExtUtils::CppGuess' => '0.07', # Beginning IL::CPP 0.54_001.
'ExtUtils::CppGuess' => '0.11', # Beginning IL::CPP 0.54_001.
'ExtUtils::MakeMaker' => '7.04', # Core.
'FindBin' => '0', # Core.
'Config' => '0', # Core.
Expand Down Expand Up @@ -135,15 +135,15 @@ sub check_prereqs {

sub configure_distribution {
my( $test_cpp_filename, $cpp_compiler, $libs ) = @_;

# Obtain a sentinel lock. Hold it until file work is done.

sysopen TESTCPP_LOCK, "$test_cpp_filename.cpp.lock", O_WRONLY | O_CREAT
or die "Makefile.PL: Couldn't open $test_cpp_filename.cpp.lock " .
"as a lock sentinel:\n$!";
flock TESTCPP_LOCK, LOCK_EX
or die "Makefile.PL: Couldn't flock $test_cpp_filename.cpp.lock:\n$!\n";

# Test whether the compiler prefers <iostream> or <iostream.h>.

sysopen TESTCPP, "$test_cpp_filename.cpp", O_WRONLY | O_CREAT
Expand Down
2 changes: 1 addition & 1 deletion lib/Inline/CPP.pm
Expand Up @@ -19,7 +19,7 @@ our @ISA = qw( Inline::C ); ## no critic (ISA)
# Development releases will have a _0xx version suffix.
# We eval the version number to accommodate dev. version numbering, as
# described in perldoc perlmodstyle.
our $VERSION = '0.73';
our $VERSION = '0.74';
# $VERSION = eval $VERSION; ## no critic (eval)

my $TYPEMAP_KIND;
Expand Down
2 changes: 1 addition & 1 deletion lib/Inline/CPP/Config.pm
Expand Up @@ -5,7 +5,7 @@ package Inline::CPP::Config;
use strict;
use warnings;

our $VERSION = '0.73';
our $VERSION = '0.74';
#$VERSION = eval $VERSION; ## no critic (eval)


Expand Down
2 changes: 1 addition & 1 deletion lib/Inline/CPP/Parser/RecDescent.pm
Expand Up @@ -4,7 +4,7 @@ package Inline::CPP::Parser::RecDescent;
# Dev versions will have a _0xx suffix.
# We eval the $VERSION to accommodate dev version numbering as described in
# perldoc perlmodstyle
our $VERSION = '0.73';
our $VERSION = '0.74';
#$VERSION = eval $VERSION; ## no critic (eval)

use Carp;
Expand Down

0 comments on commit bb289ce

Please sign in to comment.