Skip to content

Commit

Permalink
Change some warnings to errors (#7725)
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Jul 26, 2021
1 parent 773d98e commit 107b71e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OMCompiler/SimulationRuntime/c/simulation/options.c
Expand Up @@ -106,7 +106,7 @@ int checkCommandLineArguments(int argc, char **argv)
{
if(omc_flag[j])
{
warningStreamPrint(LOG_STDOUT, 0, "each command line option can only be used once: %s", argv[i]);
errorStreamPrint(LOG_STDOUT, 0, "each command line option can only be used once: %s", argv[i]);
return 1;
}

Expand All @@ -123,7 +123,7 @@ int checkCommandLineArguments(int argc, char **argv)
{
if(omc_flag[j])
{
warningStreamPrint(LOG_STDOUT, 0, "each command line option can only be used once: %s", argv[i]);
errorStreamPrint(LOG_STDOUT, 0, "each command line option can only be used once: %s", argv[i]);
return 1;
}

Expand All @@ -142,7 +142,7 @@ int checkCommandLineArguments(int argc, char **argv)
{
if(omc_flag[j])
{
warningStreamPrint(LOG_STDOUT, 0, "each command line option can only be used once: %s", argv[i]);
errorStreamPrint(LOG_STDOUT, 0, "each command line option can only be used once: %s", argv[i]);
return 1;
}

Expand Down

0 comments on commit 107b71e

Please sign in to comment.