Skip to content

Commit

Permalink
fixed compilation command for cpp files (#145)
Browse files Browse the repository at this point in the history
* Added CheckLibraryVersion class for check library version

* Fixed CheckLibraryVersion class

* deleted non-usable dependencies

* Fixed exception

* Fixed exception

* Fixed exception/omit catch block

* improvement for CheckLibraryVersion

* added cpp executor and cpp searcher (#143)

* added cpp executor and cpp searcher

* improved regular expression for cpp_searcher.java

* Update CppExecutor.java

reformat compilation command

* Update CppExecutor.java

fixed compilation Command
  • Loading branch information
polischuks authored Nov 16, 2023
1 parent 10675b3 commit 0e6011b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public CppExecutor(String sourceName) {

@Override
protected List<String> compilationCommand() {
return List.of("g++", "-std", "c++20", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
return List.of("g++", "-std=c++20", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
}

@Override
Expand Down

0 comments on commit 0e6011b

Please sign in to comment.