Skip to content

Commit

Permalink
Option '-vec' is not yet supported with 'ondemand' primitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Feb 4, 2025
1 parent 54a8d90 commit 52e5184
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions compiler/global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ bool global::processCmdline(int argc, const char* argv[])
i += 2;

} else if (isCmd(argv[i], "-style", "--svgstyle")) {
gGlobal->gStyleFile = argv[i + 1];
gStyleFile = argv[i + 1];
i += 2;

} else if (isCmd(argv[i], "-f", "--fold") && (i + 1 < argc)) {
Expand Down Expand Up @@ -1783,7 +1783,7 @@ bool global::processCmdline(int argc, const char* argv[])
err++;
}
}

// ========================
// Adjust related options
// ========================
Expand All @@ -1793,7 +1793,11 @@ bool global::processCmdline(int argc, const char* argv[])
}

if (gMemoryManager >= 1) {
gGlobal->gWaveformInDSP = true;
gWaveformInDSP = true;
}

if (gVectorSwitch) {
throw faustexception("ERROR : '-vec' is not yet supported with 'ondemand' primitive\n");
}

// ========================
Expand Down

0 comments on commit 52e5184

Please sign in to comment.