apollo-lhc / ApolloSM_plugin

ApolloSM control class and BUTool plugin
2 stars 5 forks source link

Syntax problem with SVF player source file #81

Open alpakpinar opened 1 year ago

alpakpinar commented 1 year ago

There is a syntax warning during the build, concerning the file src/ApolloSM/svfplayer_svf.cc, which does turn into an error for the builds where every warning is treated as an error. The issue is specifically for these lines, because of the wrong indentation of the line starting with TextIO->Print(...) below:

handle_eof:
  if (p == 0)
    return 0;
    textIO->Print(Level::ERROR, "Unexpected EOF.\n");
    return -1;

The warning disappears with the version on the feature/svf_syntax_fix branch, here.