Skip to content
Snippets Groups Projects
Commit ec65f806 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Octave warning "matlab-incompatible" renamed to "language-extension" in 4.0.

parent d0628af1
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ function warning_config() ...@@ -10,7 +10,7 @@ function warning_config()
% SPECIAL REQUIREMENTS % SPECIAL REQUIREMENTS
% none % none
% Copyright (C) 2008-2013 Dynare Team % Copyright (C) 2008-2015 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -34,7 +34,11 @@ warning('on', 'backtrace'); ...@@ -34,7 +34,11 @@ warning('on', 'backtrace');
if isoctave if isoctave
warning('off', 'Octave:separator-insert'); warning('off', 'Octave:separator-insert');
if octave_ver_less_than('4.0')
warning('off', 'Octave:matlab-incompatible'); warning('off', 'Octave:matlab-incompatible');
else
warning('off', 'Octave:language-extension');
end
warning('off', 'Octave:single-quote-string'); warning('off', 'Octave:single-quote-string');
warning('off', 'Octave:missing-semicolon'); warning('off', 'Octave:missing-semicolon');
warning('off', 'Octave:empty-list-elements'); warning('off', 'Octave:empty-list-elements');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment