Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions lib/nmatrix/mkmf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,7 @@ def gplusplus_version
if CONFIG['CXX'] == 'clang++'
$CXX_STANDARD = 'c++11'
else
version = gplusplus_version
if version < '4.3.0' && CONFIG['CXX'] == 'g++' # see if we can find a newer G++, unless it's been overridden by user
if !find_newer_gplusplus
raise("You need a version of g++ which supports -std=c++0x or -std=c++11. If you're on a Mac and using Homebrew, we recommend using mac-brew-gcc.sh to install a more recent g++.")
end
version = gplusplus_version
end

if version < '4.7.0'
if gplusplus_version < '4.7.0'
$CXX_STANDARD = 'c++0x'
else
$CXX_STANDARD = 'c++11'
Expand Down
2 changes: 1 addition & 1 deletion lib/nmatrix/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class NMatrix
module VERSION #:nodoc:
MAJOR = 0
MINOR = 2
TINY = 5
TINY = 6
#PRE = "a"

STRING = [MAJOR, MINOR, TINY].compact.join(".")
Expand Down