File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3030 - os : macos-latest
3131 release : R2024b
3232 - os : macos-latest
33- release : R2023a
33+ release : R2023b
3434 - os : windows-latest
3535 release : R2024b
3636 - os : windows-latest
Original file line number Diff line number Diff line change @@ -139,11 +139,16 @@ function publishTask(context)
139139
140140std = " -std=c++17" ;
141141compiler_id = " " ;
142- % FIXME: Windows oneAPI
142+
143143if msvc
144144 std = " /std:c++17" ;
145+ % on Windows, Matlab doesn't register unsupported MSVC or oneAPI
145146elseif ismac
146- % keep for if-logic
147+ if cxx .Name == " Xcode Clang++"
148+ if isMATLABReleaseOlderThan(" R2023b" ) && stdlib .version_atleast(cxx .Version , " 15.0" )
149+ warning(" Xcode Clang++ " + cxx .Version + " may not support this Matlab version" )
150+ end
151+ end
147152elseif isunix && cxx .ShortName == " g++"
148153 % FIXME: update when desired GCC != 10 for newer Matlab
149154 if isMATLABReleaseOlderThan(" R2025b" ) && ~startsWith(cxx .Version , " 10" )
@@ -153,7 +158,7 @@ function publishTask(context)
153158 if s == 0
154159 compiler_id = " CXX=g++-10" ;
155160 else
156- warning(" GCC 10 not found, using default GCC " + cxx .Version + " may fail on runtime" )
161+ warning(" GCC 10 not found. GCC " + cxx .Version + " may fail on runtime" )
157162 end
158163 end
159164end
You can’t perform that action at this time.
0 commit comments